Thread View: comp.lang.rexx
1 messages
1 total messages
Started by Tim Yates
Thu, 30 Apr 1998 00:00
MVS TSO/ISPF REXX Question
Author: Tim Yates
Date: Thu, 30 Apr 1998 00:00
Date: Thu, 30 Apr 1998 00:00
47 lines
2193 bytes
2193 bytes
Can anyone tell me how to issue the ISPF "LIST" command from within a
REXX procedure so to automate the processing of the list dataset?
I have experimented using:
/* Rexx */
Cmd = 'LIST'
Address ISPEXEC "Display Command(Cmd)"
Exit
- OR -
/* Rexx */
zLstFddv = 'KN'
Cmd = 'LIST'
Address ISPEXEC "Display Command(Cmd)"
Exit
The above routine(s) accomplishes what I set out to do but I would
like to change one or all of 3 variable values on panel ISPLLP02
(SPECIFY DISPOSITION OF LIST DATA SET), temporarily.
ZLSTFDDV This variable contains the values of
D delete
PD print and delete
KN keep allocate new
ZLSTCLA This variable contains the values for SYSOUT class
ZLSTPID This variable contains the value for print destination
I wish to force the value to either PD or KN to variable ZLSTFDDV,
however this variable does not seem to be located in any of the
variable pools. I have tried setting the value but when the "Display
Command(Cmd)" issues the LIST command ZLSTFDDV is not set to the value
I wish.
ISPF knows about this value somewhere I just can't seem to find it.
Any help is greatly appreciated, IBM book reference/page number, code,
etc.
Thanks
tyates@freewwweb.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads