Reference for panel development



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

Reference for panel development

Postby nikhilgalgate » Tue May 27, 2008 5:46 pm

Hi All,

Can anyone give me some reference for panel development.

Thanks :D
nikhilgalgate
 
Posts: 9
Joined: Tue Dec 25, 2007 1:12 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Panel development

Postby MrSpock » Tue May 27, 2008 6:07 pm

User avatar
MrSpock
Global moderator
 
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: Panel development

Postby nikhilgalgate » Wed May 28, 2008 9:08 am

Hi,

I am successful in building panel. however can I know how is it possible to take input from panel and use it for further processing.

Thanks,
nikhilgalgate
 
Posts: 9
Joined: Tue Dec 25, 2007 1:12 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Panel development

Postby MrSpock » Wed May 28, 2008 4:56 pm

Any variables used in the panel definition are available in the shared variable pool, and are accessible by the application program. One advantage of using CLIST or REXX to call a panel definition is that both languages can directly access ISPF variables and can treat them as a native variable.

For example, if a panel has a field designated as input:

)ATTR
% TYPE(TEXT) INTENS(HIGH)
+ TYPE(TEXT) INTENS(LOW)
_ TYPE(INPUT) INTENS(HIGH) PAD('_')
# TYPE(OUTPUT) INTENS(LOW) PAD(' ')
)BODY
...
+Enter Your Name%=>_myname +
....

You can directly use the variable "myname" in your REXX exec:

/* REXX */
Do Forever
"ISPEXEC DISPLAY PANEL(MYPANEL)"
If rc <> 0 Then Leave
End
Say myname

These users thanked the author MrSpock for the post:
georges (Fri Feb 22, 2019 5:50 am)
User avatar
MrSpock
Global moderator
 
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: Panel development

Postby chidams78 » Mon Oct 13, 2008 9:42 pm

Hi Spock,

If we are getting the variables from the user through Panel, we should use

VPUT (MYNAME) SHARED
Then need to use VGET (MYNAME) SHARED in the REXX, right

Thanks
Chidam
chidams78
 
Posts: 16
Joined: Fri Sep 19, 2008 6:35 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Panel development

Postby expat » Tue Oct 14, 2008 5:45 pm

chidams78 wrote:Hi Spock,
If we are getting the variables from the user through Panel, we should use
VPUT (MYNAME) SHARED
Then need to use VGET (MYNAME) SHARED in the REXX, right
Thanks
Chidam

If the variable is entered via an ISPF panel invoked from the REXX the variable name will contain the value entered by the user with no need to VPUT/VGET anything.

These users thanked the author expat for the post:
georges (Fri Feb 22, 2019 5:49 am)
expat
 
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 8 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post