Hmm... Wayne is parsing LISTC output of existing GDG and grouping them differently based on the content. OP is looking for a way to allocate GDG/GDS-es themselves with date/time.
I still don't know clearly what's possible with system symbols, JCL symbols, etc. That said, I don't think it's possible to get away from the .Gxxxx name of GDS. In which case, inserting date & time dynamically from JCL, to a GDG base isn't of much use. A.JAN04.Gxxx A.JAN05.Gxxx It's essentially creating new GDG base for each date/time, so no use. Could just go for normal datasets with dynamic date/time, and then setup another batch job for handling their lifecycle. Or use SMS rules to process these specific datasets however you need. - KB ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Wednesday, January 5th, 2022 at 1:10 PM, Wayne Bickerdike <[email protected]> wrote: > Good. > > My application was to produce a report of CICS transactions on the second > > Tuesday of each month. The REXX needed to identify SMF dumps that spanned > > that particular day. > > listc ent('XDCOM.RXX') > > GDG BASE ------ XDCOM.RXX > > IN-CAT --- USERCAT.ISI > > NONVSAM ---- XDCOM.RXX.G0001V00 > > IN-CAT --- USERCAT.ISI > > NONVSAM ---- XDCOM.RXX.G0002V00 > > IN-CAT --- USERCAT.ISI > > NONVSAM ---- XDCOM.RXX.G0003V00 > > IN-CAT --- USERCAT.ISI > > NONVSAM ---- XDCOM.RXX.G0004V00 > > IN-CAT --- USERCAT.ISI > > listc ent('XDCOM.RXX.G0001V00') > > NONVSAM ------- XDCOM.RXX.G0001V00 > > IN-CAT --- USERCAT.ISI > > HISTORY > > DATASET-OWNER-----(NULL) CREATION--------2020.096 > > RELEASE----------------2 EXPIRATION------0000.000 > > ENCRYPTIONDATA > > DATA SET ENCRYPTION-----(NO) > > VOLUMES > > VOLSER------------ZZZZZ1 DEVTYPE------X'3010200F' > > FSEQN--------- > > --------0 > > ASSOCIATIONS > > GDG------XDCOM.RXX > > ATTRIBUTES > > Creation date is what you need. > > On Wed, Jan 5, 2022 at 6:32 PM Peter [email protected] wrote: > > > Hello Wayne > > > > Yes exactly this is what I was looking. > > > > On Wed, 5 Jan, 2022, 11:27 am Wayne Bickerdike, [email protected] wrote: > > > > > The date/time is stored with a new GDG entry. You can see it with a > > > > > > LISTCAT > > > > > > command. > > > > > > I developed a REXX program to parse GDG entries and build JCL to > > > > > > concatenate generations based on a day of the month. > > > > > > The timestamp is a form of Julian date. > > > > > > Is this what you are looking for? > > > > > > On Wed, Jan 5, 2022 at 4:38 PM Peter [email protected] wrote: > > > > > > > Hello > > > > > > > > I apologise if this is very dummy questions. > > > > > > > > Is there a way to have a GDG base with date time stamp ? So that any GDG > > > > > > > > versions created will have Date stamp in it during creation. Any > > > > > > > > samples if > > > > > > > > someone can refer me or share ? > > > > > > > > Please advise > > > > > > > > Peter > > > > > > > > For IBM-MAIN subscribe / signoff / archive access instructions, > > > > > > > > send email to [email protected] with the message: INFO IBM-MAIN > > > > > > -- > > > > > > Wayne V. Bickerdike > > > > > > For IBM-MAIN subscribe / signoff / archive access instructions, > > > > > > send email to [email protected] with the message: INFO IBM-MAIN > > Wayne V. Bickerdike > > -------------------- > > 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
