Page 1 of 1

where's the field's value came from for panel

PostPosted: Thu Mar 14, 2013 10:44 am
by marshall25
hi,all, I'm a new TSO$ISPF student,i found there are some fields not initialized or gaven value in panel, but if i issued the panel, the fields will have the value,my question is how can i find where the field's value comes from? is it from program or higher level which displayed the panel? thanks,

Re: where's the field's value came from for panel

PostPosted: Thu Mar 14, 2013 2:51 pm
by Akatsukami
Remember that every named field in your panel corresponds to a variable in the driver code.

So, suppose your panel has a field named FOO. If a Rexx driver script contains
foo = "BAR"
address ispexec "DISPLAY PANEL(P1)"

then the panel will be displayed with "BAR" in field FOO.

Re: where's the field's value came from for panel

PostPosted: Fri Mar 15, 2013 7:57 am
by marshall25
hi Akatsukamin,i got it, but another confuse was raised in my mind, u used 'display panel' in the example, how about to use 'select panel' instead? i just went through the ISPF panel service, but still not clear about 'display panel' and 'select panel', is that different 'select panel' uses 'CMD' to execute program in proc?

Re: where's the field's value came from for panel

PostPosted: Fri Mar 15, 2013 12:12 pm
by enrico-sorichetti
see here for the basics...
http://publibz.boulder.ibm.com/cgi-bin/ ... 1028105440
pretty old, but still very useful for learning