On 10/27/2020 6:02 PM, ITschak Mugzach wrote:
I am trying to allocate a "steplib" using tsolib command. I know that
TSOLIB only operates under TSO READY prompt, so I run a TSO BATCh job with
the below prg. The program is called from SYSIN with parm  PHASE1. In this
case, it should queue the commands and start again with parm PHASE2.

Trickey, but it doesn't work... I can't see the TSOLIB DISPLAY output in
SYSTSPRT (but the dataset is actually allocate, can see it in JESYSMSG with
a proper disposition. Any idea?


Itschak,

Use QUEUE, as I show in my Dynamic ISPF presentation (WTW):

https://www.newera.com/INFO/Dynamic_ISPF_P2.pdf

If you want part 1 as well, change the P2 to a P1. Part 2 covers how to use TSOLIB from the READY prompt in a Rexx. You still can't reliably invoke ISPF within a Rexx running from the READY prompt. You have to QUEUE the TSOLIB and then the ISPF commands.

Regards,
Tom Conley

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to