Bonjour
Je débute dans les panels ISPF et je ne comprend pas la différence entre :
ISPEXEC DISPLAY PANEL(monpanel) et ISPEXEC SELECT PANEL(monpanel)
J'ai cru comprendre qu'il y avait deux type de panel :
les data entry panel et les selection panel
Premiere question : quelle est la différence entre ces deux commandes ?
J'utilise DTL pour générer mes panels.
J'ai un premier panel que j'invoke par un ISPEXEC SELECT PANEL
Quand je fais le choix 2, je débranche sur un second écran
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44 <!doctype dm system()> <varclass name=vcc type='char 80'> <xlatl format=upper> </xlatl> <varclass name=vco type='char 8'> <varlist> <vardcl name=zcmd varclass=vcc> <vardcl name=ztime varclass=vco> <vardcl name=zdate varclass=vco> </varlist> <panel name=IMENU menu prime window=no> <textline> <textseg>&ztime <textseg expand=both>OUTILS DIVERS <textseg>&zdate(8) </textline> <cmdarea noinit cmdloc=asis>Commande <divider type=none gutter=2 > <area indent=10> <selfld type=menu selwidth=* trail=ztrail fchoice=0 entwidth=1 tsize=12> <choice> <ps var=zcmd value=0 csrgrp=99>CONFIG</ps>Configuration des outils <chdiv> <choice> <ps var=zcmd value=1 csrgrp=99>LOADCR</ps> Chargement <action run=ispucma type=panel scrname=cmds> <choice> <ps var=zcmd value=2 csrgrp=99>RECHCR</ps> Recherche <action run=ICREDB type=panel scrname=CREDB> </selfld> </area> <botinst>Créé par ....... ......... - 2010 </panel>
Je débranche bien sur mon second écran mais lorsque je quite celui ci en faisant F3, j'obtient le message suivant :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 <!doctype dm system()> <panel name=ICREDB window=no> <textline> <textseg>&ztime <textseg expand=both>OUTILS <textseg>&zdate(8) </textline> <textline> <textseg expand=both>Recherche dans la base de donnée </textline> <cmdarea noinit cmdloc=asis>Commande <divider type=none gutter=2 > <area indent=10> </area> <botinst>Créé par ....... ......... - 2010 </panel>
ISPF Dialog Error
Command ===>
******************************************************************************
* ISPD213 *
* *
* Invalid panel *
* 'ICREDB' is not a valid 'selection' panel. *
* *
* *
* *
* *
* *
* *
* Panel line where error was detected: *
* ZSEL = PANEL(ICREDB) SCRNAME(CREDB) *
* *
* Enter HELP command for further information regarding this error. *
* Press ENTER key to terminate the dialog. *
* *
* Override termination and attempt to continue? (/ = Yes) *
* *
* *
******************************************************************************
Deuxieme question : quelqu'un a t il une idée du problème ?
Partager