You cannot issue ISPF dialog commands from within a panel's *REXX section or PANEXIT.. You will get syntax errors (or worse). You can set values inside a *REXX section and act on them afterwards, ie...
... &ZERRALRM = YES &ZERRHM = MYAPPL &CURSOR = .CURSOR &CSRPOS = .CSRPOS *REXX(*,ZCMD,ZERRSM,ZERRLM,CURSOR,CSRPOS) ... ... ... *ENDREXX REFRESH(*) IF( &CURSOR=ZCMD ) &CSRPOS = 1 IF(&ZCMD NE '') .MSG = ISRZ002 VPUT(CURSOR,CSRPOS) ... There is no *CLIST panel section! 😱 ________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Lizette Koehler <[email protected]> Sent: 18 August 2018 13:27 To: [email protected] Subject: Re: Question ABout ISPF Panels I know you can use REXX The *REXX statement is used to invoke REXX code in a panel's )INIT, )REINIT, or )PROC section. The REXX can be coded within the panel source immediately after the *REXX But I am not sure if you can use a Clist. Perhaps others will be able to provide better details. Lizette > -----Original Message----- > From: IBM Mainframe Discussion List <[email protected]> On Behalf Of > [email protected] > Sent: Saturday, August 18, 2018 6:18 AM > To: [email protected] > Subject: Question ABout ISPF Panels > > Hi,.I am trying to find examples of invoking a CLIST and a Program from the > )PROC Section of a ISPF PANEL . > I consistently get a syntax error. > . > For example: > )PROC > IF (&T01 = ABX3 ) > EX 'PAULD01.SPEX.CLIST(XGETSYS)' > . > My first question would be, is it legitimate to invoke either a CLIST or > Assembler Program from the )PROC section of a PANEL ? > . > And secondly could some one post an example of each ? > . > . > Paul > . > . ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
