It's not what you don't know that kills you, it's what you know that isn't so. Not only don't you need to call a second REXX script from the REASY prompt after you exit ISPF, but once you exit from ISPF the ISPF services are no longer available.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Bob Bridges [robhbrid...@gmail.com] Sent: Saturday, April 10, 2021 3:46 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: LISTCAT for a VTOC I was translating from batch to REXX in my head. If it's possible (so I've read, but never tried it) to run ISPF in batch, if you allocate all the ISPF DDs, then it should be possible to allocate them in REXX and do the same thing. But if I do that anywhere but the READY prompt, the allocations will fail because all those DDs are already allocated. Keep in mind I said ~technically~ I ~could~ do it, but it would be going around my elbow to get to my thumb. I'm not planning to attempt it. --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 /* I have never yet known a man admit that he was either rich or asleep. -Stephen Maturin in _Master and Commander_ by Patrick O'Brian */ -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Paul Gilmartin Sent: Saturday, April 10, 2021 10:19 Why do you need a READY prompt? Wouldn't ADDRESS TSO EXEC member do as well as: //SYSTSIN DD * ... EXEC member --- On Sat, 10 Apr 2021 09:12:33 -0400, Bob Bridges wrote: (Technically I think I ~could~ use 3.4 in a REXX program. I've read (though I've never tried it) that one can run ISPF in batch, if one wants to go to the trouble of allocating all the necessary ISPF DDs. So I could probably write a REXX that allocates all those DDs, then exit ISPF and run the REXX from the READY prompt. Seems to me that'd be the very definition of going around my elbow to get to my thumb, though.) ---------------------------------------------------------------------- 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