mainframezosrexxispf

How to "stack" an ISPF command?


I have this rexx exec:

/* rexx */                              
address ispexec                         
"select pgm(isrdslst) parm(UDL ~)"      

And I would lijke to have it invoke the / command immediately after it starts to open the OMVS command interface (like the ISPF Option 6 interface for TSO Commands).

I've tried this prior to the select with no joy:

zcmd = '/'
'vput (zcmd)'

Note: On the ISPF Command line I can enter udlist ~;/ and that works.


Solution

  • Thanks to Marv Knight for this solution - not exactly what I was looking for but it may be the only way it works:

    /* rexx */                               
    ADDRESS ISPEXEC                          
    cmd = "UDLIST /;/"                       
     "DISPLAY PANEL(ISPBLANK) COMMAND(CMD)" 
    

    The only “problem” using this as an option from a primary menu is that you return to the TBDISPL for the UDLIST and not immediately back to the primary menu.