Re: Sort extracting values in PDS members

2020-06-03 Thread Billy Ashton
Hi Kolusu, I was finally able to get to this, and it works great for what I need! Thanks! Billy -- Original Message -- From: "Sri h Kolusu" To: IBM-MAIN@listserv.ua.edu Sent: 5/27/2020 7:30:48 PM Subject: Re: Sort extracting values in PDS members Billy, On second though

Re: Sort extracting values in PDS members

2020-05-28 Thread Wayne Bickerdike
tp://mason.gmu.edu/~smetz3 > > > From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf > of Wayne Bickerdike [wayn...@gmail.com] > Sent: Thursday, May 28, 2020 5:36 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Sort e

Re: Sort extracting values in PDS members

2020-05-28 Thread Seymour J Metz
@LISTSERV.UA.EDU Subject: Re: Sort extracting values in PDS members Sri, A MODEL SORT in ISPF would be good. I often use the other templates. On Fri, May 29, 2020, 03:29 Sri h Kolusu wrote: > > And rote learning makes running ISPF in batch (or from OMVS) > > easy the second and subsequent

Re: Sort extracting values in PDS members

2020-05-28 Thread Wayne Bickerdike
Sri, A MODEL SORT in ISPF would be good. I often use the other templates. On Fri, May 29, 2020, 03:29 Sri h Kolusu wrote: > > And rote learning makes running ISPF in batch (or from OMVS) > > easy the second and subsequent times. Copy, paste, and edit. > > Gil, > > Doesn't this hold good for

Re: Sort extracting values in PDS members

2020-05-28 Thread Sri h Kolusu
> And rote learning makes running ISPF in batch (or from OMVS) > easy the second and subsequent times. Copy, paste, and edit. Gil, Doesn't this hold good for DFSORT control cards?. If you categorize DFSORT control cards, there are just 4 of them. SORT/COPY INREC (can be used

Re: Sort extracting values in PDS members

2020-05-28 Thread Paul Gilmartin
On Wed, 27 May 2020 20:15:43 -0700, Sri h Kolusu wrote: > >Thanks for sharing the REXX execs. couple of observations. > >1 The PDSTOSEQ fails processing members having aliases. (LISTDS does give >you the ALIAS information too) For example I tried with z/OS V2R4 >SYS1.MACLIB > > %PDSTOSEQ

Re: Sort extracting values in PDS members

2020-05-28 Thread Sri h Kolusu
> If all the control cards were compatible between SORT products that would > be a big help. Wayne, Most control statements are compatible between the 2 products that are in market today. It is just that products might have new functions that are not supported. But there are ways to get around

Re: Sort extracting values in PDS members

2020-05-28 Thread Paul Gilmartin
On Thu, 28 May 2020 13:13:08 +1000, Wayne Bickerdike wrote: >*What happens if your PDS members contain IEBUPDTE control >statements?TRANSMIT is robust with respect to such things.-- gil* >Depends. If the IEBUPDTE directive is the same as the one generated, you >lose it. If it's different, you

Re: Sort extracting values in PDS members

2020-05-28 Thread Wayne Bickerdike
Sri, I agree with you. However, not all z/OS shops have DFSORT, a good number have Syncsort. I think CA-SORT has disappeared. If all the control cards were compatible between SORT products that would be a big help. I remember trying to port an Assembler E15 exit from a VSE shop (CA-SORT) to a

Re: Sort extracting values in PDS members

2020-05-27 Thread Sri h Kolusu
> Using EXECIO makes the original requirement simpler: > > This is the IDCAMS version: Wayne, Thanks for sharing the REXX execs. couple of observations. 1 The PDSTOSEQ fails processing members having aliases. (LISTDS does give you the ALIAS information too) For example I tried with z/OS V2R4

Re: Sort extracting values in PDS members

2020-05-27 Thread Wayne Bickerdike
*What happens if your PDS members contain IEBUPDTE control statements?TRANSMIT is robust with respect to such things.-- gil* Depends. If the IEBUPDTE directive is the same as the one generated, you lose it. If it's different, you lose it and you get a null member. If I care that much, I change

Re: Sort extracting values in PDS members

2020-05-27 Thread Paul Gilmartin
On Wed, 27 May 2020 22:01:34 -0400, David Spiegel wrote: >Have you ever heard of the famous PDSLOAD Program from the CBT Tape? >It can generate the control cards (IEBUPDTE-like) and even maintain ISPF >Statistics. > Doesn't IEBCOPY do that? Doesn't TRANSMIT/RECEIVE do that? Can an ISV depend

Re: Sort extracting values in PDS members

2020-05-27 Thread David Spiegel
Have you ever heard of the famous PDSLOAD Program from the CBT Tape? It can generate the control cards (IEBUPDTE-like) and even maintain ISPF Statistics. On 2020-05-27 21:39, Paul Gilmartin wrote: On Thu, 28 May 2020 11:13:26 +1000, Wayne Bickerdike wrote: I have used REXX to do this. One

Re: Sort extracting values in PDS members

2020-05-27 Thread Paul Gilmartin
On Thu, 28 May 2020 11:13:26 +1000, Wayne Bickerdike wrote: >I have used REXX to do this. One flavour uses IDCAMS REPRO, the other uses >EXECIO. > >It builds the member list from a LISTDS MEMBERS. > >It adds ./ADD IEBUPDTE statements to the flat file in order to move to >other systems. It's a

Re: Sort extracting values in PDS members

2020-05-27 Thread Wayne Bickerdike
Y " > RETURN CODE < " temp_rc > > temp_rc = 0 > temp_ftc = "" > > CALL end_expds > RETURN > > end_expds: > > " FREE DATASET('"user"."SEQFILE".EXPDS')" > > IF temp_grc = 0 THEN DO >

Re: Sort extracting values in PDS members

2020-05-27 Thread Wayne Bickerdike
t; > > > > On Thu, May 28, 2020 at 11:05 AM Lizette Koehler > wrote: > >> Personally I would use REXX and LM functions to read through PDS members >> and >> action them. >> >> I did that when I needed to update all Members in a PDS to insert some >>

Re: Sort extracting values in PDS members

2020-05-27 Thread Wayne Bickerdike
gement) functions work very well for this. > > Lizette > > > -Original Message- > From: IBM Mainframe Discussion List On Behalf > Of > Sri h Kolusu > Sent: Wednesday, May 27, 2020 3:08 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Sort extractin

Re: Sort extracting values in PDS members

2020-05-27 Thread Lizette Koehler
- From: IBM Mainframe Discussion List On Behalf Of Sri h Kolusu Sent: Wednesday, May 27, 2020 3:08 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Sort extracting values in PDS members ITschak, I already responded to this topic. Not sure where it went, but I did respond before your email. You can

Re: Sort extracting values in PDS members

2020-05-27 Thread Charles Mills
Amazing! Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Sri h Kolusu Sent: Wednesday, May 27, 2020 4:31 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Sort extracting values in PDS members Billy, On second thoughts, We can

Re: Sort extracting values in PDS members

2020-05-27 Thread Sri h Kolusu
Billy, On second thoughts, We can optimize to parse everything in a single parse. Use the following control cards //SYSINDD * OPTION COPY INCLUDE COND=(02,80,SS,EQ,C'KEYWORD1',OR, 02,80,SS,EQ,C'LONGKEYWORD2') INREC IFOUTLEN=80,

Re: Sort extracting values in PDS members

2020-05-27 Thread David Spiegel
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Billy Ashton [bill00ash...@gmail.com] Sent: Wednesday, May 27, 2020 4:41 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Sort extracting values in PDS members Hi again! This group has been

Re: Sort extracting values in PDS members

2020-05-27 Thread ITschak Mugzach
h > > To: IBM-MAIN@LISTSERV.UA.EDU > > Date: 05/27/2020 02:51 PM > > Subject: [EXTERNAL] Re: Sort extracting values in PDS members > > Sent by: IBM Mainframe Discussion List > > > > I would start with creating a single file using a ISRSUPC (it wor

Re: Sort extracting values in PDS members

2020-05-27 Thread Sri h Kolusu
y questions please let me know Thanks, Kolusu DFSORT Development IBM Corporation IBM Mainframe Discussion List wrote on 05/27/2020 01:41:10 PM: > From: Billy Ashton > To: IBM-MAIN@LISTSERV.UA.EDU > Date: 05/27/2020 01:42 PM > Subject: [EXTERNAL] Sort extracting values in PDS member

Re: Sort extracting values in PDS members

2020-05-27 Thread Sri h Kolusu
Development IBM Corporation IBM Mainframe Discussion List wrote on 05/27/2020 02:50:28 PM: > From: ITschak Mugzach > To: IBM-MAIN@LISTSERV.UA.EDU > Date: 05/27/2020 02:51 PM > Subject: [EXTERNAL] Re: Sort extracting values in PDS members > Sent by: IBM Mainframe Discussion List &g

Re: Sort extracting values in PDS members

2020-05-27 Thread Seymour J Metz
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Billy Ashton [bill00ash...@gmail.com] Sent: Wednesday, May 27, 2020 4:41 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Sort extracting values in PDS members Hi again! This group has been so

Re: Sort extracting values in PDS members

2020-05-27 Thread ITschak Mugzach
I would start with creating a single file using a ISRSUPC (it works outside of ISPF, try opt 3.14 background option to generate the JCL) searching for the two keywords you are looking for. ITschak ITschak Mugzach *|** IronSphere Platform* *|* *Information Security Continuous Monitoring for z/OS,

Sort extracting values in PDS members

2020-05-27 Thread Billy Ashton
Hi again! This group has been so helpful - especially Kolusu - and I have one more question as I learn how to use SORT more creatively. I have a bunch of PDS files where I have to read through each member and create some control cards based on the content in the member (due to the nature of