Re: How to find a PDS member
Paul, Neither mentioned to date. I have what I need for the time being, but time permitting shall check these out. Thanks very much. Graham P.S. Am 64-02 vintage, what's APF:-) .. don't answer, will google it. --- - Original Message - From: Paul Strauss strau...@us.ibm.com Newsgroups: bit.listserv.ibm-main To: IBM-MAIN@bama.ua.edu Sent: Friday, January 06, 2012 1:38 AM Subject: Re: How to find a PDS member Graham, I've often had to go into companies being given a TSO ID and knowing nothing else about the site. One of my first steps would be to ask one of the Storage group people to run a DCOLLECT job (DFSMS Data Collection Facility) to list all datasets on all DASD on the system and put the output in a sequential file. This would have all dataset names, last reference dates, DSORG and more. You would browse that until you get a feel for he naming conventions used and use the names to try and determine which datasets might have what you are looking for. DCOLLECT will list all datasets, even those not catalogued. Just because a dataset isn't catalogued doesn't mean it doesn't have something in it your interested in. APF datasets do not have to be catalogued. While waiting for that output you can search many system and TSO datasets with ISRDDN. I haven't seen anyone mention that to you but I haven't read all these threads either. From ISPF screen 6 enter ISRDDN. On the screen returned enter LINKLIST on the command line On the screen returned enter MEMBER modulenameyouarelookingfor on the command line and hit enter You will get a warning screen because this command will open every LINKLIST and LPA dataset to read. If you don't have access to a certain number, security may cancel and suspend your ID Enter YES to the warning. If the module is in LPA, LINKLIST or any library allocated to your TSO ID, ISRDDN will fine it. Browse the list to see them all. You can do the same thing using ISRDDN to search APF datasets. Follow the same process as above except where you first entered LINKLIST under ISRDDN, enter APF. And my disclaimer: The postings on this site are my own and don't necessarily represent IBM's positions, strategies, or opinions (just trying to help). Thank You, Paul Strauss Integrated Technology Delivery, Global Services, IBM L0DB z/OS MVS/Program Products/Security 150 Kettletown Rd. Southbury, CT 06488 (203) 272-2758 strau...@us.ibm.com | | From: | | --| |Graham Hobbs gho...@cdpwise.net | --| | | To:| | --| |IBM-MAIN@bama.ua.edu | --| | | Date: | | --| |01/05/2012 08:18 PM | --| | | Subject: | | --| |Re: How to find a PDS member | --| | | Sent by: | | --| |IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu | --| I did, bit laborious, but just poking around I saw HLQ's that started to mean something. Plus the list gave me 'srchfor' and 'member' - pearls of wisdom. And for an oldtime app developer, if it aint catalogued it dont exist. - Original Message - From: Schwarz, Barry A barry.a.schw...@boeing.com Newsgroups: bit.listserv.ibm-main To: IBM-MAIN@bama.ua.edu Sent: Thursday, January 05, 2012 3:54 PM Subject: Re: How to find a PDS member If you really have no idea what the HLQ is, you can just use 3.4 with the 29 simplest, A*, B*, ..., Z*, @*, #*, $*. Not sophisticated and only works if the dataset is catalogued. -Original Message- From
Re: How to find a PDS member
If you really have no idea what the HLQ is, you can just use 3.4 with the 29 simplest, A*, B*, ..., Z*, @*, #*, $*. Not sophisticated and only works if the dataset is catalogued. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Graham Hobbs Sent: Wednesday, January 04, 2012 6:16 PM To: IBM-MAIN@bama.ua.edu Subject: Re: How to find a PDS member OK, thanks, 'member' is the ticket! Downside is that Dsname Level is mandatory implying some knowledge of the high level qualifier. I happened to know that IGYCOP* is what I wanted so found my members. In the real world am not sure this is a downside? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
Re: How to find a PDS member
I did, bit laborious, but just poking around I saw HLQ's that started to mean something. Plus the list gave me 'srchfor' and 'member' - pearls of wisdom. And for an oldtime app developer, if it aint catalogued it dont exist. - Original Message - From: Schwarz, Barry A barry.a.schw...@boeing.com Newsgroups: bit.listserv.ibm-main To: IBM-MAIN@bama.ua.edu Sent: Thursday, January 05, 2012 3:54 PM Subject: Re: How to find a PDS member If you really have no idea what the HLQ is, you can just use 3.4 with the 29 simplest, A*, B*, ..., Z*, @*, #*, $*. Not sophisticated and only works if the dataset is catalogued. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Graham Hobbs Sent: Wednesday, January 04, 2012 6:16 PM To: IBM-MAIN@bama.ua.edu Subject: Re: How to find a PDS member OK, thanks, 'member' is the ticket! Downside is that Dsname Level is mandatory implying some knowledge of the high level qualifier. I happened to know that IGYCOP* is what I wanted so found my members. In the real world am not sure this is a downside? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
Re: How to find a PDS member
Graham, I've often had to go into companies being given a TSO ID and knowing nothing else about the site. One of my first steps would be to ask one of the Storage group people to run a DCOLLECT job (DFSMS Data Collection Facility) to list all datasets on all DASD on the system and put the output in a sequential file. This would have all dataset names, last reference dates, DSORG and more. You would browse that until you get a feel for he naming conventions used and use the names to try and determine which datasets might have what you are looking for. DCOLLECT will list all datasets, even those not catalogued. Just because a dataset isn't catalogued doesn't mean it doesn't have something in it your interested in. APF datasets do not have to be catalogued. While waiting for that output you can search many system and TSO datasets with ISRDDN. I haven't seen anyone mention that to you but I haven't read all these threads either. From ISPF screen 6 enter ISRDDN. On the screen returned enter LINKLIST on the command line On the screen returned enter MEMBER modulenameyouarelookingfor on the command line and hit enter You will get a warning screen because this command will open every LINKLIST and LPA dataset to read. If you don't have access to a certain number, security may cancel and suspend your ID Enter YES to the warning. If the module is in LPA, LINKLIST or any library allocated to your TSO ID, ISRDDN will fine it. Browse the list to see them all. You can do the same thing using ISRDDN to search APF datasets. Follow the same process as above except where you first entered LINKLIST under ISRDDN, enter APF. And my disclaimer: The postings on this site are my own and don't necessarily represent IBM's positions, strategies, or opinions (just trying to help). Thank You, Paul Strauss Integrated Technology Delivery, Global Services, IBM L0DB z/OS MVS/Program Products/Security 150 Kettletown Rd. Southbury, CT 06488 (203) 272-2758 strau...@us.ibm.com | | From: | | --| |Graham Hobbs gho...@cdpwise.net | --| | | To:| | --| |IBM-MAIN@bama.ua.edu | --| | | Date: | | --| |01/05/2012 08:18 PM | --| | | Subject: | | --| |Re: How to find a PDS member | --| | | Sent by: | | --| |IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu | --| I did, bit laborious, but just poking around I saw HLQ's that started to mean something. Plus the list gave me 'srchfor' and 'member' - pearls of wisdom. And for an oldtime app developer, if it aint catalogued it dont exist. - Original Message - From: Schwarz, Barry A barry.a.schw...@boeing.com Newsgroups: bit.listserv.ibm-main To: IBM-MAIN@bama.ua.edu Sent: Thursday, January 05, 2012 3:54 PM Subject: Re: How to find a PDS member If you really have no idea what
Re: How to find a PDS member
Graham Hobbs gho...@cdpwise.net wrote in message news:5e97g75eqo2bi4cfbrhqcm9phcacji9...@4ax.com... Hello, Just returned to z/OS mainframe after 10 years, working alone, nobody to talk to:-(. My first elementary question: - there are many PDS's in the environment I now have access to - need to find which PDS(s') members called ABCCOP* exist - I don't know which PDS it or they are in - Question: Can I find it/them with ISPF 3.14 or 3.15; if not then how? Please, thanks, more duqu's to come:-) Graham Graham, What are you trying to do? 1) A selected list of PDS datasets and then search for all members of ABCCOP* 2) Generate a list of PDS Datasets (unknown number) which include members for ABCCOP* 3) Any datasets in my logon proc that contains ABCCOP* (including LINKLST and LPALST) In Option 3.4, you can use a command called SRCHFOR that might be of help. Lizette -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
Re: How to find a PDS member
Hello Graham, Welcome back. :-) You can make TSO Rexx to list datasets based on wild cards, and so on, by making a simple hack to this XDELETE Rexx exec by Gilbert Saint-flour which uses the catalog search to do the cool stuff. Here is his page, and you can find his stuff on FILE183 on the CBT-TAPE. http://gsf-soft.com/Freeware/ I also put a copy of just the Rexx exec here: http://lilliana.eu/downloads/xdelete.rexx.txt Take the delete logic part out of it so that it simply lists the dataset names. Then one possible solution is to use the ISPF service to list the members of the PDS. I had a similar example, so I put some sample code below. At least two things more have to be done. First you have to check whether it is a PDS or not, otherwise LMMLIST gives an ISPF error. Next you may want to write the results into a file and format that you can easily search, or sort or whatever. I'll leave you to figure these out. One more thing, if you go the ISPF services route, which is quite easy to code, then you may have to run it interactively from ISPF, or run it in ISPF batch, which is a bit trickier. Unless you have this nice edit macro to create the JCL for you, called BATCHPDF: http://www.sillysot.com/mvs/intro.htm Regards Lindy ISPF services here: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ISPZSG90/CCONTENTS Note that you can get much more information about the dataset when you use the ISPF services in these Z variables with STATS(YES): http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ISPZSG90/2.38.3 Rexx reference (see EXECIO for writing to a dataset): http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IKJ4A3A0/CCONTENTS And for all the zOS 1.13 bookshelves in old style format (which is much faster): http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves?filter=z/OS%20V1R13SUBMIT=Find Sample code to list members of a PDS using ISPF services: /* Rexx */ PDSNAME = 'SYS1.PROCLIB' Address ISPEXEC LMINIT DATAID(DDVAR) DATASET('PDSNAME') ENQ(SHR) LMOPEN DATAID(DDVAR) Say PDSNAME Do Forever LMMLIST DATAID(DDVAR) OPTION(LIST) MEMBER(MEMNAME) STATS(YES) If RC 0 then do Leave End Say ' 'MEMNAME End LMFREE DATAID(DDVAR) If you are interested in talking about plain TSO-REXX you can subscribe to this list of really cool people: For TSO-REXX subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO TSO-REXX (For more specific ISPF stuff, there is another list for that.) And the CBT-Tape with tons of free stuff: http://www.cbttape.org/ -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Vernooij, CP - SPLXM Sent: Wednesday, January 04, 2012 9:25 AM To: IBM-MAIN@bama.ua.edu Subject: Re: How to find a PDS member Graham Hobbs gho...@cdpwise.net wrote in message news:5e97g75eqo2bi4cfbrhqcm9phcacji9...@4ax.com... Hello, Just returned to z/OS mainframe after 10 years, working alone, nobody to talk to:-(. My first elementary question: - there are many PDS's in the environment I now have access to - need to find which PDS(s') members called ABCCOP* exist - I don't know which PDS it or they are in - Question: Can I find it/them with ISPF 3.14 or 3.15; if not then how? Please, thanks, more duqu's to come:-) Graham Graham, -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
Re: How to find a PDS member
On 1/4/2012 12:50 AM, Lizette Koehler wrote: Graham Hobbsgho...@cdpwise.net wrote in message news:5e97g75eqo2bi4cfbrhqcm9phcacji9...@4ax.com... Hello, Just returned to z/OS mainframe after 10 years, working alone, nobody to talk to:-(. My first elementary question: - there are many PDS's in the environment I now have access to - need to find which PDS(s') members called ABCCOP* exist - I don't know which PDS it or they are in - Question: Can I find it/them with ISPF 3.14 or 3.15; if not then how? Please, thanks, more duqu's to come:-) Graham Graham, What are you trying to do? 1) A selected list of PDS datasets and then search for all members of ABCCOP* 2) Generate a list of PDS Datasets (unknown number) which include members for ABCCOP* 3) Any datasets in my logon proc that contains ABCCOP* (including LINKLST and LPALST) In Option 3.4, you can use a command called SRCHFOR that might be of help. Lizette Actually, for what he is looking for, the MEMBER command would be better: From a 3.4 data set list, enter: === m abccop* and each data set that is a PDS or PDSE that contains a member with that nameing pattern will have a message 'Member: ABCCOP*' next to the member's name. SRCHFOR looks for text inside datasets or members. -- Kind regards, -Steve Comstock The Trainer's Friend, Inc. 303-355-2752 http://www.trainersfriend.com * To get a good Return on your Investment, first make an investment! + Training your people is an excellent investment * Try our tool for calculating your Return On Investment for training dollars at http://www.trainersfriend.com/ROI/roi.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
Re: How to find a PDS member
-Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Steve Comstock Sent: Wednesday, January 04, 2012 8:06 AM To: IBM-MAIN@bama.ua.edu Subject: Re: How to find a PDS member On 1/4/2012 12:50 AM, Lizette Koehler wrote: Graham Hobbsgho...@cdpwise.net wrote in message news:5e97g75eqo2bi4cfbrhqcm9phcacji9...@4ax.com... Hello, Just returned to z/OS mainframe after 10 years, working alone, nobody to talk to:-(. My first elementary question: - there are many PDS's in the environment I now have access to - need to find which PDS(s') members called ABCCOP* exist - I don't know which PDS it or they are in - Question: Can I find it/them with ISPF 3.14 or 3.15; if not then how? Please, thanks, more duqu's to come:-) Graham Graham, Lizette Actually, for what he is looking for, the MEMBER command would be better: From a 3.4 data set list, enter: === m abccop* and each data set that is a PDS or PDSE that contains a member with that nameing pattern will have a message 'Member: ABCCOP*' next to the member's name. SRCHFOR looks for text inside datasets or members. Steve, I would not disagree. However, what if the member had been renamed to ZZZCOPxx - then the M ABCCOP* would miss it. So doing the SRCHFOR might be better if the comments inside the members showed the original name of ABCCOPxx. Of course that is an assumption that the member is documented properly inside. Second assumption is the version of z/OS (ISPF) he is on supports both SRCHFOR and Member search. ;-) Lizette -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
Re: How to find a PDS member
Graham Hobbsgho...@cdpwise.net wrote in message news:5e97g75eqo2bi4cfbrhqcm9phcacji9...@4ax.com... Hello, Just returned to z/OS mainframe after 10 years, working alone, nobody to talk to:-(. My first elementary question: - there are many PDS's in the environment I now have access to - need to find which PDS(s') members called ABCCOP* exist - I don't know which PDS it or they are in - Question: Can I find it/them with ISPF 3.14 or 3.15; if not then how? Please, thanks, more duqu's to come:-) Graham Actually, for what he is looking for, the MEMBER command would be better: From a 3.4 data set list, enter: === m abccop* and each data set that is a PDS or PDSE that contains a member with that nameing pattern will have a message 'Member: ABCCOP*' next to the member's name. SRCHFOR looks for text inside datasets or members. -Steve Comstock The Trainer's Friend, Inc. 303-355-2752 http://www.trainersfriend.com Steve, Another thought would be (if the right level of z/OS) he could filter the SMF Type 42 records (Subtypes 20 21 24 25 for example) for MEMBERs and maybe find them that way. But I think that he left out a bit of detail on what he was trying to do. I can think of a couple of iterations where these actions would not give him the results he is after. Lizette -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
Re: How to find a PDS member
May not really be what you want, but there are vendor products out there that create an index of all members from all (online) PDSs in your system/sysplex. I had the pleasure of using this one at a site I worked at for a while, and it was a very convenient tool to have at one's disposal (has a nice ISPF dialog). The index is built purely on the member name (i.e. not member contents!), but it is a good 'nice to have' tool, nonetheless. http://www.ufd.ch/downloads/1214227064_pdsxref_flyer_e.pdf On 4 January 2012 13:55, Lizette Koehler stars...@mindspring.com wrote: Graham Hobbsgho...@cdpwise.net wrote in message news:5e97g75eqo2bi4cfbrhqcm9phcacji9...@4ax.com... Hello, Just returned to z/OS mainframe after 10 years, working alone, nobody to talk to:-(. My first elementary question: - there are many PDS's in the environment I now have access to - need to find which PDS(s') members called ABCCOP* exist - I don't know which PDS it or they are in - Question: Can I find it/them with ISPF 3.14 or 3.15; if not then how? Please, thanks, more duqu's to come:-) Graham Actually, for what he is looking for, the MEMBER command would be better: From a 3.4 data set list, enter: === m abccop* and each data set that is a PDS or PDSE that contains a member with that nameing pattern will have a message 'Member: ABCCOP*' next to the member's name. SRCHFOR looks for text inside datasets or members. -Steve Comstock The Trainer's Friend, Inc. 303-355-2752 http://www.trainersfriend.com Steve, Another thought would be (if the right level of z/OS) he could filter the SMF Type 42 records (Subtypes 20 21 24 25 for example) for MEMBERs and maybe find them that way. But I think that he left out a bit of detail on what he was trying to do. I can think of a couple of iterations where these actions would not give him the results he is after. Lizette -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
Re: How to find a PDS member
OK, thanks, 'member' is the ticket! Downside is that Dsname Level is mandatory implying some knowledge of the high level qualifier. I happened to know that IGYCOP* is what I wanted so found my members. In the real world am not sure this is a downside? Specifically, was looking for member IGYCOPT since I have to change the LIB parm to YES from NO so COBOL compiles work with copybooks - so if there's more than one, question then becomes 'which one, both, all?'. Have asked VIC Support - they're really good!. Thanks for the info, am learning! cheers Graham Hobbs - Original Message - From: Steve Comstock st...@trainersfriend.com Newsgroups: bit.listserv.ibm-main To: IBM-MAIN@bama.ua.edu Sent: Wednesday, January 04, 2012 8:06 AM Subject: Re: How to find a PDS member On 1/4/2012 12:50 AM, Lizette Koehler wrote: Graham Hobbsgho...@cdpwise.net wrote in message news:5e97g75eqo2bi4cfbrhqcm9phcacji9...@4ax.com... Hello, Just returned to z/OS mainframe after 10 years, working alone, nobody to talk to:-(. My first elementary question: - there are many PDS's in the environment I now have access to - need to find which PDS(s') members called ABCCOP* exist - I don't know which PDS it or they are in - Question: Can I find it/them with ISPF 3.14 or 3.15; if not then how? Please, thanks, more duqu's to come:-) Graham Graham, What are you trying to do? 1) A selected list of PDS datasets and then search for all members of ABCCOP* 2) Generate a list of PDS Datasets (unknown number) which include members for ABCCOP* 3) Any datasets in my logon proc that contains ABCCOP* (including LINKLST and LPALST) In Option 3.4, you can use a command called SRCHFOR that might be of help. Lizette Actually, for what he is looking for, the MEMBER command would be better: From a 3.4 data set list, enter: === m abccop* and each data set that is a PDS or PDSE that contains a member with that nameing pattern will have a message 'Member: ABCCOP*' next to the member's name. SRCHFOR looks for text inside datasets or members. -- Kind regards, -Steve Comstock The Trainer's Friend, Inc. 303-355-2752 http://www.trainersfriend.com * To get a good Return on your Investment, first make an investment! + Training your people is an excellent investment * Try our tool for calculating your Return On Investment for training dollars at http://www.trainersfriend.com/ROI/roi.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
Re: How to find a PDS member
Graham Hobbs gho...@cdpwise.net wrote in message news:5e97g75eqo2bi4cfbrhqcm9phcacji9...@4ax.com... Hello, Just returned to z/OS mainframe after 10 years, working alone, nobody to talk to:-(. My first elementary question: - there are many PDS's in the environment I now have access to - need to find which PDS(s') members called ABCCOP* exist - I don't know which PDS it or they are in - Question: Can I find it/them with ISPF 3.14 or 3.15; if not then how? Please, thanks, more duqu's to come:-) Graham Graham, First remark: this newsgroup is a mirror of the Listserver and that is where most of the IBM-MAINers read the posts. Join the list server, see the information attached automagically below. Some answer: you can find members in a list of PDS's with 3.4. If you have any generic to produce a dslist with PDSs where the member could be, you can find the member (also generic) with the MEMBER command. Kees. For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN