Re: LISTCAT for a VTOC
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 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
Re: LISTCAT for a VTOC
W dniu 10.04.2021 o 19:03, Farley, Peter x23353 pisze: Not every site allows just anyone to use DCOLLECT. For whatever reason, DCOLLECT on my employer's systems is SAF protected and unusable by any application programmer. Maybe I talk too much, but everytime I see "whatever reason" I ask what the reason is and explain I need the tool to do my job. How often I got "no because mama said so". However I tried. BTW: usually I was the person who said NO. However in every case I had explanation for that. Both: reasonable and principled. -- Radoslaw Skorupka (looking for new job) Lodz, Poland -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LISTCAT for a VTOC
Yeah, I remember that. But I'm a security guy - and on this particular machine I'm not just ~a~ security guy but ~the~ security guy. So that shouldn't be a problem :). --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 /* Patriotism is like family love. You love your family just for being your family, not for being "the greatest family on earth"[The patriot] can laugh at his country, the way members of a family can laugh at each other's foibles. Affection takes for granted the imperfection of those it loves; the patriotic Irishman thinks Ireland is hilarious, whereas the Irish nationalist sees nothing to laugh about. -Joseph Sobran, 2001-10-16 */ -Original Message- From: IBM Mainframe Discussion List On Behalf Of Farley, Peter x23353 Sent: Saturday, April 10, 2021 13:04 Not every site allows just anyone to use DCOLLECT. For whatever reason, DCOLLECT on my employer's systems is SAF protected and unusable by any application programmer. -Original Message- From: IBM Mainframe Discussion List On Behalf Of Bob Bridges Sent: Saturday, April 10, 2021 9:17 AM Ah, "DCOLLECT", I remember that. I once wrote a REXX for a storage manager to use DCOLLECT and ... and do something with its output, I forget exactly what. It was some years ago. But I remember thinking "hey, this DCOLLECT thingy is pretty handy; I should remember it and use it from time to time!". I didn't, though; the next time I thought it might be useful, I couldn't remember what it was called. Maybe I will this time :). -Original Message- From: IBM Mainframe Discussion List On Behalf Of Radoslaw Skorupka Sent: Friday, April 9, 2021 16:36 What about DCOLLECT? It is also IDCAMS command. AFAIR it is quite flexible - generic volsers, a lot of useful information. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
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 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
Re: LISTCAT for a VTOC
Bob, You can run IEHLIST against the volume you are interested and then extract the dataset names from that output using DFSORT. //** //* RUN IEHLIST AGAINST THE VOLUME * //** //STEP0100 EXEC PGM=IEHLIST //SYSPRINT DD DSN=&&LVT,DISP=(,PASS),SPACE=(CYL,(25,10),RLSE) //DD1 DD DISP=OLD,VOLUME=SER=your.volume.name //SYSINDD * LISTVTOC FORMAT,VOL=SER=your.volume.name /* //** //* EXTRACT THE DATASET NAMES FROM IEHLIST OUTPUT * //** //STEP0200 EXEC PGM=SORT //SYSOUT DD SYSOUT=* //SORTIN DD DISP=(OLD,PASS),DSN=&&LVT //SORTOUT DD SYSOUT=*,RECFM=FB //SYSINDD * OPTION COPY INREC IFTHEN=(WHEN=GROUP, BEGIN=(16,15,CH,EQ,C'-DATA SET NAME-'), PUSH=(125:ID=8,SEQ=1),RECORDS=2) OUTFIL BUILD=(2,120), INCLUDE=(125,8,ZD,EQ,1,OR,133,1,ZD,EQ,2) /* This will generate an output like this ---DATA SET NAME SER NO SEQNO DATE.CRE DATE.EXP DATE.REF EXT DSORG RECFM OPTCD BLKSIZE USERID.BRODCAST.LIST XXXVOL 1 2017.300 00.000 2017.3001 PS FB 00 1500 USERID.CBRTRFMT.SLDLOGIC XXXVOL 1 2016.194 00.000 2017.1161 UN VB 27998 USERID.ABCD.QEV.G0290V00 XXXVOL 1 2021.099 00.000 2021.0991 PS FB 00 5100 USERID.LIST.G0376V00 XXXVOL 1 2021.078 00.000 2021.0781 PS VB 0027998 Thanks, Kolusu -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LISTCAT for a VTOC
> 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 [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Bob Bridges [robhbrid...@gmail.com] Sent: Saturday, April 10, 2021 9:12 AM To: IBM-MAIN@LISTSERV.UA.EDU 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, robhbrid...@gmail.com, 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 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 [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Bob Bridges [robhbrid...@gmail.com] 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 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 [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Bob Bridges [robhbrid...@gmail.com] 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 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
Re: LISTCAT for a VTOC
I have some C program (and load modules) on https://github.com/colinpaicemq/SMFFormatter which format DCOLLECT output, along with 1. SMF120 from WebSpere Liberty 2. SMF123 from z/OS Connect. 3. SMF30 jobs and step resource usage 4. SMF 42.6 Data set statistics 5. SMF 42.5 VTOC statistics 6. SMF 42.1 SMS buffer manager (PDSE) 7. SMF 42.27 VTOC Audit On Sat, 10 Apr 2021 at 18:03, Farley, Peter x23353 < 031df298a9da-dmarc-requ...@listserv.ua.edu> wrote: > Not every site allows just anyone to use DCOLLECT. For whatever reason, > DCOLLECT on my employer's systems is SAF protected and unusable by any > application programmer. > > Peter > > -Original Message- > From: IBM Mainframe Discussion List On Behalf > Of Bob Bridges > Sent: Saturday, April 10, 2021 9:17 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: LISTCAT for a VTOC > > Ah, "DCOLLECT", I remember that. I once wrote a REXX for a storage > manager to use DCOLLECT and ... and do something with its output, I forget > exactly what. It was some years ago. But I remember thinking "hey, this > DCOLLECT thingy is pretty handy; I should remember it and use it from time > to time!". > > I didn't, though; the next time I thought it might be useful, I couldn't > remember what it was called. Maybe I will this time :). > > --- > Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 > > /* America wasn't founded so that we could all be better. America was > founded so we could all be anything we damn well please. -PJ O'Rourke */ > > -Original Message- > From: IBM Mainframe Discussion List On Behalf > Of Radoslaw Skorupka > Sent: Friday, April 9, 2021 16:36 > > What about DCOLLECT? > It is also IDCAMS command. > > AFAIR it is quite flexible - generic volsers, a lot of useful information. > -- > > This message and any attachments are intended only for the use of the > addressee and may contain information that is privileged and confidential. > If the reader of the message is not the intended recipient or an authorized > representative of the intended recipient, you are hereby notified that any > dissemination of this communication is strictly prohibited. If you have > received this communication in error, please notify us immediately by > e-mail and delete the message and any attachments from your system. > > > -- > 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
Re: LISTCAT for a VTOC
Not every site allows just anyone to use DCOLLECT. For whatever reason, DCOLLECT on my employer's systems is SAF protected and unusable by any application programmer. Peter -Original Message- From: IBM Mainframe Discussion List On Behalf Of Bob Bridges Sent: Saturday, April 10, 2021 9:17 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: LISTCAT for a VTOC Ah, "DCOLLECT", I remember that. I once wrote a REXX for a storage manager to use DCOLLECT and ... and do something with its output, I forget exactly what. It was some years ago. But I remember thinking "hey, this DCOLLECT thingy is pretty handy; I should remember it and use it from time to time!". I didn't, though; the next time I thought it might be useful, I couldn't remember what it was called. Maybe I will this time :). --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 /* America wasn't founded so that we could all be better. America was founded so we could all be anything we damn well please. -PJ O'Rourke */ -Original Message- From: IBM Mainframe Discussion List On Behalf Of Radoslaw Skorupka Sent: Friday, April 9, 2021 16:36 What about DCOLLECT? It is also IDCAMS command. AFAIR it is quite flexible - generic volsers, a lot of useful information. -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LISTCAT for a VTOC
Transfer pads? Use SDS or equipment. These programs can read at a volume level. בתאריך שבת, 10 באפר׳ 2021 ב-16:12 מאת Bob Bridges : > 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, robhbrid...@gmail.com, 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 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 [IBM-MAIN@LISTSERV.UA.EDU] on behalf > of > Bob Bridges [robhbrid...@gmail.com] > 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 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 [IBM-MAIN@LISTSERV.UA.EDU] on behalf > of > Bob Bridges [robhbrid...@gmail.com] > 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN > -- ITschak Mugzach *|** IronSphere Platform* *|* *Information Security Continuous Monitoring for z/OS, x/Linux & IBM I **| z/VM coming soon * -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LISTCAT for a VTOC
Am I missing something... does IEHLIST LISTVTOC give you what you need? See here https://www.ibm.com/docs/en/zos/2.1.0?topic=statements-listvtoc-statement //VTOCLIST JOB ... //STEP1EXEC PGM=IEHLIST //SYSPRINT DD SYSOUT=A //DD2 DD UNIT=*disk*,VOLUME=SER=11,DISP=OLD //SYSINDD * LISTVTOC FORMAT,VOL=*disk*=11 LISTVTOC DUMP,VOL=*disk*=11,DSNAME=(SET1,SET2,SET3) / On Sat, 10 Apr 2021 at 15:19, Paul Gilmartin < 000433f07816-dmarc-requ...@listserv.ua.edu> wrote: > 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 > > > Copy the DDs from your logon PROC? > > Too many languages. It's a pity there aren't filters to translate > JCL DD <==> BPXWDYN calls. > > >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.) > > > Why do you need a READY prompt? Wouldn't > ADDRESS TSO EXEC member > > do as well as: > //SYSTSIN DD * > ... > EXEC member > ? > > -- gil > > -- > 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
Re: LISTCAT for a VTOC
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 > Copy the DDs from your logon PROC? Too many languages. It's a pity there aren't filters to translate JCL DD <==> BPXWDYN calls. >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.) > Why do you need a READY prompt? Wouldn't ADDRESS TSO EXEC member do as well as: //SYSTSIN DD * ... EXEC member ? -- gil -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LISTCAT for a VTOC
Ah, "DCOLLECT", I remember that. I once wrote a REXX for a storage manager to use DCOLLECT and ... and do something with its output, I forget exactly what. It was some years ago. But I remember thinking "hey, this DCOLLECT thingy is pretty handy; I should remember it and use it from time to time!". I didn't, though; the next time I thought it might be useful, I couldn't remember what it was called. Maybe I will this time :). --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 /* America wasn't founded so that we could all be better. America was founded so we could all be anything we damn well please. -PJ O'Rourke */ -Original Message- From: IBM Mainframe Discussion List On Behalf Of Radoslaw Skorupka Sent: Friday, April 9, 2021 16:36 What about DCOLLECT? It is also IDCAMS command. AFAIR it is quite flexible - generic volsers, a lot of useful information. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
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, robhbrid...@gmail.com, 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 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 [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Bob Bridges [robhbrid...@gmail.com] 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 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 [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Bob Bridges [robhbrid...@gmail.com] 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LISTCAT for a VTOC
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. -- 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: Friday, April 9, 2021 11:55 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: LISTCAT for a VTOC 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. --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 /* People are always asking couples whose marriages have endured at least a quarter of a century for their secret for success. Actually, it is no secret at all. I am a forgiving woman. Long ago, I forgave my husband for not being Paul Newman. -Erma Bombeck */ -Original Message- From: IBM Mainframe Discussion List 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 [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Bob Bridges [robhbrid...@gmail.com] 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 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
Re: LISTCAT for a VTOC
What about DCOLLECT? It is also IDCAMS command. AFAIR it is quite flexible - generic volsers, a lot of useful information. -- Radoslaw Skorupka (looking for new job) Lodz, Poland W dniu 09.04.2021 o 17:55, Bob Bridges pisze: 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. --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 /* People are always asking couples whose marriages have endured at least a quarter of a century for their secret for success. Actually, it is no secret at all. I am a forgiving woman. Long ago, I forgave my husband for not being Paul Newman. -Erma Bombeck */ -Original Message- From: IBM Mainframe Discussion List 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 [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Bob Bridges [robhbrid...@gmail.com] 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 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
Re: LISTCAT for a VTOC
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. --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 /* People are always asking couples whose marriages have endured at least a quarter of a century for their secret for success. Actually, it is no secret at all. I am a forgiving woman. Long ago, I forgave my husband for not being Paul Newman. -Erma Bombeck */ -Original Message- From: IBM Mainframe Discussion List 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 [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Bob Bridges [robhbrid...@gmail.com] 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LISTCAT for a VTOC
http://www.jaymoseley.com/hercules/cbt_ware/vtoc.htm Joe On Fri, Apr 9, 2021 at 9:06 AM Seymour J Metz wrote: > 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. > > > -- > 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: Thursday, April 8, 2021 9:28 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: LISTCAT for a VTOC > > 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? > > --- > Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 > > /* If you're not failing when you train or test your security, you're not > learning anything. -Craig Tucker */ > > -- > 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 > -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LISTCAT for a VTOC
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. -- 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: Thursday, April 8, 2021 9:28 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: LISTCAT for a VTOC 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? --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 /* If you're not failing when you train or test your security, you're not learning anything. -Craig Tucker */ -- 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
Re: LISTCAT for a VTOC
You can also use ISPF services in REXX, or via ISPF batch. LMDINIT then LMDLIST, where LMDLIST allows you to scope by wildcard or volume. - KB ‐‐‐ Original Message ‐‐‐ On Friday, April 9, 2021 7:52 AM, David Spiegel wrote: > Hi John, Bob, > Please see File 112, the VTOC Command Processor. > (In 1999, I had the honour of extending it to allow for 4-digit device > addresses and other things). > > Regards, > David > > On 2021-04-08 21:36, John McKown wrote: > > > In TSO, I use ISPF option 3.4 with no DSN and something in the VOLUME. > > In batch, I use IEHLIST LISTVTOC. I think there is TSO command on the > > CBTTabe somewhere that does a TSO LISTVTOC. > > On Thu, Apr 8, 2021, 20:29 Bob Bridges robhbrid...@gmail.com wrote: > > > > > 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? > > > > > > Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 > > > /* If you're not failing when you train or test your security, you're not > > > learning anything. -Craig Tucker */ > > > > > > 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 > > . > > -- > > 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
Re: LISTCAT for a VTOC
Hi John, Bob, Please see File 112, the VTOC Command Processor. (In 1999, I had the honour of extending it to allow for 4-digit device addresses and other things). Regards, David On 2021-04-08 21:36, John McKown wrote: In TSO, I use ISPF option 3.4 with no DSN and something in the VOLUME. In batch, I use IEHLIST LISTVTOC. I think there is TSO command on the CBTTabe somewhere that does a TSO LISTVTOC. On Thu, Apr 8, 2021, 20:29 Bob Bridges wrote: 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? --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 /* If you're not failing when you train or test your security, you're not learning anything. -Craig Tucker */ -- 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 . -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LISTCAT for a VTOC
Yeah, this is for a REXX, so I guess IEHLIST is what I need. Thanks, John. --- Bob Bridges, robhbrid...@gmail.com, 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 On Behalf Of John McKown Sent: Thursday, April 8, 2021 21:36 In TSO, I use ISPF option 3.4 with no DSN and something in the VOLUME. In batch, I use IEHLIST LISTVTOC. I think there is TSO command on the CBTTabe somewhere that does a TSO LISTVTOC. --- On Thu, Apr 8, 2021, 20:29 Bob Bridges wrote: > 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LISTCAT for a VTOC
Also, ADRDSSU DUMP, with the NORUN (or however the test, don't do option is specified) > -Original Message- > From: IBM Mainframe Discussion List On > Behalf Of John McKown > Sent: Thursday, April 08, 2021 6:36 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: LISTCAT for a VTOC > > In TSO, I use ISPF option 3.4 with no DSN and something in the VOLUME. > > In batch, I use IEHLIST LISTVTOC. I think there is TSO command on the > CBTTabe somewhere that does a TSO LISTVTOC. > > On Thu, Apr 8, 2021, 20:29 Bob Bridges wrote: > > > 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? > > > > --- > > Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 > > > > /* If you're not failing when you train or test your security, you're not > > learning anything. -Craig Tucker */ > > > > -- > > 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 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: LISTCAT for a VTOC
In TSO, I use ISPF option 3.4 with no DSN and something in the VOLUME. In batch, I use IEHLIST LISTVTOC. I think there is TSO command on the CBTTabe somewhere that does a TSO LISTVTOC. On Thu, Apr 8, 2021, 20:29 Bob Bridges wrote: > 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? > > --- > Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 > > /* If you're not failing when you train or test your security, you're not > learning anything. -Craig Tucker */ > > -- > 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