>  I've read (though I've never tried it) that one can run ISPF in batch,

It's easy to run ISPF in batch,but using a panel designed specifically for 
foreground use is another matter.

> So I could probably write a REXX that allocates all those DDs, then 
> exit ISPF and run the REXX from the READY prompt.

Why would you want to? If you're going to run a REXX script from the READY 
prompt then why not do the allocation there? If you're going to call a REXX 
script from ISPF, why not use LIBDEF? Were it me, I'd have the relevant DD 
statements in my JCL and an ISPSTART CMD(foo) command in SYSTSIN.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of Bob 
Bridges [[email protected]]
Sent: Saturday, April 10, 2021 9:12 AM
To: [email protected]
Subject: Re: LISTCAT for a VTOC

Yes, that's what I meant, and I'm going to have to use the LM services
anyway to transfer the PDSs so I may as well.

(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.)

---
Bob Bridges, [email protected], cell 336 382-7313

/* The enemy will always tell you the cost of following the will of God --
but he will never tell you the cost of NOT following the will of God.
-Henry Blackaby */

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Seymour J Metz
Sent: Friday, April 9, 2021 16:42

I don't beleive that you can use 3.4 in a REXX script.

Do you mean LMDLIST? That is one of the ISPF services that ADDRESS ISPEXEC
supports. The LMD..... services provide an easy way to process all of the
datasets on a volume.

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of
Bob Bridges [[email protected]]
Sent: Friday, April 9, 2021 11:55 AM

Yeah, that's what I said:  I would use LISTCAT, but it won't work on
uncatalogued datasets.  And I see I left something out:  I'm writing a REXX.
I can do it in 3.4, but there are too many datasets; I'm tired of doing it
manually, especially as I suppose I'll need the process more than once.

...Although come to think of it I can use 3.4 in a REXX, too; DSLIST, is
that the service?  I don't think I've ever done that before, but I guess it
would solve my problem.

As I just told someone else, I've heard about CBT for years but never pulled
anything from it:  I assume clients will be reluctant (or more) to put
unknown software on their expensive mainframes.  I'm looking for plain
vanilla tools.

On the other hand, I've been at sites where they use certain CBT functions,
and CBT is after all well known.  Maybe if I ask my local systems programmer
he'll say "sure, we don't mind using CBT stuff".  Guess I should at least
ask.

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Seymour J Metz
Sent: Friday, April 9, 2021 10:06

That's not a LISTCAT function. There are lots of choices on the CBT tape,
e.g., VTOC, and there's always ISPF 3.4.

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of
Bob Bridges [[email protected]]
Sent: Thursday, April 8, 2021 9:28 PM

I'm gonna kick myself, I just know I am, but if I know the answer to this
already I can't dredge it up.  I want to list all the datasets on a
particular DASD volume.  I'd use LISTCAT LVL('hlq'), but these are not
catalogued.  Where's the TSO command for that?

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

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

Reply via email to