The Clist or program should be invoked from the )PROC section in the
panel, as the value of &ZSEL. E.g.

)BODY WIDTH(&ZSCREENW) EXPAND(//)
%-----------------------/-/-
!OPTION %===>¯ZCMD                                
)PROC
  &ZSEL = TRANS( &ZCMD
                B,'CMD(%ZBROWSE &ZTRAIL)'  /* Clist */
                T,'PGM(ISRPTC)'            /* Program */
                U,'PANEL(ISRUTIL)'         /* Panel */
                *,'' )
)END
 
Your 'PAULD01.SPEX.CLIST' should be in your SYSPROC concatenation,
unless you want to invoke a SYSPROC Clist that issues its own EX
'PAULD01.SPEX.CLIST(XGETSYS)'.
 
To invoke XGETSYS from a panel, code:

)PROC
IF (&T01 = ABX3 )
    &ZSEL = 'CMD(%XGETSYS)'
 
else see the above "&ZSEL = TRANS( &ZCMD <etc.>" to include multiple
panel options.  
 
Chris Poncelet
 


On 18/08/2018 14:18, esst...@juno.com wrote:
> 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> .
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to