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
Using EXECIO makes the original requirement simpler: /* REXX Convert PDS to sequential file */ /* */ /* */ /* JCL to restore the seq file back to a PDS

Re: Sort extracting values in PDS members

2020-05-27 Thread Wayne Bickerdike
This is the IDCAMS version: /* REXX Mainframe Week - Code */ /* */ /* A REXX routine to convert PDS to sequential datasets*/ /* */ /*

Re: Sort extracting values in PDS members

2020-05-27 Thread Wayne Bickerdike
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 readable option compared to using XMIT on a PDS> On Thu, May 28,

Re: Sort extracting values in PDS members

2020-05-27 Thread Lizette Koehler
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 additional control cards REXX with ISPF LM (Library Management) functions work very well for this. Lizette -Original

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
Vie Haist Du, Esther? On 2020-05-27 18:02, Seymour J Metz wrote: Ob וְכַאֲשֶׁר אָבַדְתִּי, אָבָדְתִּי If they routinely lose programs, won't they also lose the ICEMAN and SuperC control statements? If it were me I'd do it in ISPF and keep a private copy of the source code for when they lose

Re: Sort extracting values in PDS members

2020-05-27 Thread ITschak Mugzach
Thanks Sri. Haven't seen your post. Actually nice idea. בתאריך יום ה׳, 28 במאי 2020, 1:08, מאת Sri h Kolusu ‏: > ITschak, > > I already responded to this topic. Not sure where it went, but I did > respond before your email. You can use IEPTPCH to flatten the PDS to a > sequential file. If you

Re: EPSILON?

2020-05-27 Thread Charles Mills
Relationship to https://en.wikipedia.org/wiki/IBM_Future_Systems_project ? Timeframe of FS was 1971 to 1975. Perhaps Talmadge was a "sore loser" when FS was terminated? Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Tony

Re: Sort extracting values in PDS members

2020-05-27 Thread Sri h Kolusu
Just realized that Billy Ashton has sent the email to my id with CC to IBM-MAIN and I just hit "Reply" instead of "Reply All". Here is the response for the question Billy, SORT products do not have the ability to read all the members of a PDS, but there are other ways to get desired results.

Re: Sort extracting values in PDS members

2020-05-27 Thread Sri h Kolusu
ITschak, I already responded to this topic. Not sure where it went, but I did respond before your email. You can use IEPTPCH to flatten the PDS to a sequential file. If you use STOPAFT=5 then it will only print the 5 lines of the PDS. So don't have to use SUPERC Thanks, Kolusu DFSORT

Re: Sort extracting values in PDS members

2020-05-27 Thread Seymour J Metz
Ob וְכַאֲשֶׁר אָבַדְתִּי, אָבָדְתִּי If they routinely lose programs, won't they also lose the ICEMAN and SuperC control statements? If it were me I'd do it in ISPF and keep a private copy of the source code for when they lose it. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3

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,

EPSILON?

2020-05-27 Thread Tony Harminc
I stumbled across a book on bitsavers http://bitsavers.org/pdf/ibm/370/EPSILON/Principles_Of_Operation_The_EPSILON_System_Oct1980.pdf dated 1976 that describes a follow-on system to S/360. It's an intriguing hybrid of S/360, Multics, and maybe IBM i (aka FS, System/38, AS/400, etc.) with some

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

Re: DSN SYNTAX (was: ... last node in DFSORT)

2020-05-27 Thread Seymour J Metz
Hence my reference to the bleeding corpse of orthogonality. The obvious way to generate JCL is with RECFM=255 and a large LRECL, but why should you have to? It's what I call user fiendly (sic). -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3

Re: Opinions/experience on sharing catalogs outside plex

2020-05-27 Thread Jesse Robinson
What's magic? Some missionaries were confronted by a group of hostile locals. Things were looking grim. One quick thinker pulled out a lighter, held it high, and flicked it on. Animosity melted into awestruck admiration...It was the first time they had ever seen a Zippo light on the first try.

Re: DSN SYNTAX (was: ... last node in DFSORT)

2020-05-27 Thread Seymour J Metz
No, it is not correct; it does not check the lengths of quoted components, but it does check the total length. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Paul

Re: DSN SYNTAX (was: ... last node in DFSORT)

2020-05-27 Thread Seymour J Metz
Yes, but he had no apostrophes in his input. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Charles Mills [charl...@mcn.org] Sent: Wednesday, May 27, 2020 2:13 PM To:

Re: DSN SYNTAX (was: ... last node in DFSORT)

2020-05-27 Thread Seymour J Metz
JCL had design flaws from Day One, e.g., the abysmal default for SPACE. I'm fairly sure that SYSCTLG was there from the start, and I believe that Control Volumes (CVOLs) were as well. The late entry of Unix paths doesn't explain the limit of 255; if anything, that makes it harder to justify.

Re: DFSMShsm questions

2020-05-27 Thread Allan Staller
Comments interspersed -Original Message- From: IBM Mainframe Discussion List On Behalf Of Lionel B Dyck Sent: Wednesday, May 27, 2020 12:54 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: DFSMShsm questions [CAUTION: This Email is from outside the Organization. Unless you trust the sender,

Re: DFSMShsm questions

2020-05-27 Thread Henri Kuiper
Lionel, It's been a long time since I was spaceman... Do recall that I used to direct HSMBACKUPS to the correct Library (I did my fair share of ATL migrations lol) via the ACS constructs...based on name a Dataclass, based on the dataclass a storgrp link the (tape) storgrp to the correct set

Re: DFSMShsm questions

2020-05-27 Thread Lizette Koehler
When standing up HSM you should have an ARCCMDxx member that has a lot of that information in it. Then there is the SETSYS command to change some things on the fly. http://www.redbooks.ibm.com/redbooks/pdfs/sg245272.pdf The Redbook on HSM PRIMER could be helpful Lizette -Original

Re: DSN SYNTAX (was: ... last node in DFSORT)

2020-05-27 Thread Charles Mills
Well, it was designed one piece at a time. First came DSN's and VTOC's; then came catalogs; then came UNIX filenames. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Paul Gilmartin Sent: Wednesday, May 27, 2020 9:11 AM To:

Re: DSN SYNTAX (was: ... last node in DFSORT)

2020-05-27 Thread Charles Mills
Not an excuse but I bet they mean they don't validate the length of the node names. DSN='MYLONGNODE.WHATEVER' is valid. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Paul Gilmartin Sent: Wednesday, May 27, 2020 8:20 AM

DFSMShsm questions

2020-05-27 Thread Lionel B Dyck
I can spell HSM and am learning more about it - I have these questions that I haven't found the answer to in the pubs (yet). 1. How can I change the default unit for HBACKDS datasets from tape to disk? 2. I have 2 virtual tape libraries - how do I force HSM to only use the tapes in

Re: DSN SYNTAX (was: ... last node in DFSORT)

2020-05-27 Thread David Crayford
I hate JCL! On 2020-05-28 12:11 AM, Paul Gilmartin wrote: On Wed, 27 May 2020 23:29:23 +0800, David Crayford wrote: //... This moved me to look up DSN syntax in the JCL Ref. It's chaos; I detect no plan in the design; it was put together One Piece At A Time:

Re: DSN SYNTAX (was: ... last node in DFSORT)

2020-05-27 Thread Paul Gilmartin
On Wed, 27 May 2020 23:29:23 +0800, David Crayford wrote: >>> //... >> This moved me to look up DSN syntax in the JCL Ref. >> It's chaos; I detect no plan in the design; it was put >> together One Piece At A Time: >> https://www.youtube.com/watch?v=060A15ELz00 >Agreed! I had to write a

Re: HMC in Service Mode, IPL Question

2020-05-27 Thread Mark Jacobs
Well, most of us are remote (even under normal times). I'm over a 3.5 hours drive from where the HMC is physically located. Mark Jacobs Sent from ProtonMail, Swiss-based encrypted email. GPG Public Key - https://api.protonmail.ch/pks/lookup?op=get=markjac...@protonmail.com ‐‐‐ Original

Re: HMC in Service Mode, IPL Question

2020-05-27 Thread R.S.
W dniu 27.05.2020 o 15:14, Mark Jacobs pisze: When the CE places the HMC in service mode will a V XCF,,OFFLINE,REIPL command work as expected? My guess: yes. However, why don't you change the mode in case of failure of the reIPL? -- Radoslaw Skorupka Lodz, Poland

Re: DSN SYNTAX (was: ... last node in DFSORT)

2020-05-27 Thread David Crayford
On 2020-05-27 11:20 PM, Paul Gilmartin wrote: From: Sri h Kolusu Sent: Tuesday, May 26, 2020 9:49 PM ... Empirically, I found I couldn't create a DSN starting with a period even within apostrophes. I don't know where this is documented. This works fine for me ... //SORTOUT DD

DSN SYNTAX (was: ... last node in DFSORT)

2020-05-27 Thread Paul Gilmartin
On Wed, 27 May 2020 03:13:08 +, Seymour J Metz wrote: >PATH ¬= DSN > But he did include the substring ".dsn" in the pathname. > >From: Sri h Kolusu >Sent: Tuesday, May 26, 2020 9:49 PM >... >> Empirically, I found I couldn't create a DSN starting with a

HMC in Service Mode, IPL Question

2020-05-27 Thread Mark Jacobs
When the CE places the HMC in service mode will a V XCF,,OFFLINE,REIPL command work as expected? Mark Jacobs Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email. GPG Public Key - https://api.protonmail.ch/pks/lookup?op=get=markjac...@protonmail.com

GDG relative number updates

2020-05-27 Thread Joseph Reichman
Hi I have have my sdump file DSN as a GDG I save the dsn name in the variable portion of the SDWA I am wondering when the system updates the relative number is it after a close and when you open the dataset again the number has been updated Thanks

Re: Opinions/experience on sharing catalogs outside plex

2020-05-27 Thread R.S.
Not magic, but also not STK/Sun/Oracle. STK tape world is significantly different from IBM tapes. There are also other players (EMC DLM, etc.) which follow way similar to IBM, but all of them are defined as MTL (Manual Tape Library). Few differences between STK and IBM: IBM provide all

Re: How to get last node in DFSORT

2020-05-27 Thread Wayne Bickerdike
*Yakity Yak - The Coasters April 1958. * I'm more of a Jeff Beck man. You're everywhere and nowhere baby.(Hi Ho Silver Lining). Or the inimitable Mrs Doubtfire (oooh, all over the place!). -- For IBM-MAIN subscribe /

Re: CICS usage logs?

2020-05-27 Thread Wayne Bickerdike
Seems that MCT=NO is allowed. Since we always have one, that's what we code. On Wed, May 27, 2020 at 6:38 PM Wayne Bickerdike wrote: > From IBM documentation: > > SMF records, see CICS monitoring facility: Performance and tuning >

Re: CICS usage logs?

2020-05-27 Thread Wayne Bickerdike
>From IBM documentation: SMF records, see CICS monitoring facility: Performance and tuning . The DFH$MOLS program requires a performance dictionary record to process monitoring performance data. When it

Re: CICS usage logs?

2020-05-27 Thread Wayne Bickerdike
*The MCT is only required for CICS monitoring records which have adictionary. CICS statistics SMF 110 records are fixed.* David, I believe that DFH$MOLS requires a dictionary. Perhaps it's optional but I based my job on the IBM documentation. On Wed, May 27, 2020 at 4:02 PM David Crayford

Re: CICS usage logs?

2020-05-27 Thread David Crayford
Wayne, The MCT is only required for CICS monitoring records which have a dictionary. CICS statistics SMF 110 records are fixed. On 2020-05-27 11:54 AM, Wayne Bickerdike wrote: You'll need a CICS MCT entry (Monitor control table). Sample JCL: //DELITEXEC PGM=IDCAMS //SYSIN DD *