Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
retrieving envelope information out of GDG base.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
VintageReceiver

New User


Joined: 19 Jul 2017
Posts: 8
Location: USA

PostPosted: Thu Aug 10, 2017 8:13 pm    Post subject: retrieving envelope information out of GDG base.
Reply with quote

Hi what is the best way to find out when GDG base was created?
Back to top
View user's profile Send private message

sergeyken

Active User


Joined: 29 Apr 2008
Posts: 189
Location: Maryland

PostPosted: Thu Aug 10, 2017 8:33 pm    Post subject:
Reply with quote

1. Read same questions from other topics
2. Try to use LISTDS and/or LISTCAT
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 574
Location: The Universe

PostPosted: Thu Aug 10, 2017 8:41 pm    Post subject:
Reply with quote

In IDCAMS or TSO command line:

LISTCAT ALL ENTRIES(gdg-base)

Code:
GDG BASE ------ XXXXXX.DISKLIST.SYSPRINT                   
     IN-CAT --- [redacted]
     HISTORY                                               
       DATASET-OWNER-----XXXXXX     CREATION--------2015.033
       RELEASE----------------2     LAST ALTER------2017.222
...

As you can see, the GDG was created February 2, 2015 (2015.033) and last altered August 10 (2017.222).

Actually, rather to my surprise, LISTDS also coughed up the the creation date!
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 574
Location: The Universe

PostPosted: Fri Aug 11, 2017 7:42 pm    Post subject:
Reply with quote

My pardon. LISTDS did not return the creation date of the GDG.
Code:
listds disklist.sysprint history
 XXXXXX.DISKLIST.SYSPRINT
 --RECFM-LRECL-BLKSIZE-DSORG-CREATED---EXPIRES---SECURITY
   VBA   125   27998   PS    2017.223   00.000   RACF   
 --VOLUMES--
   REDACTED

It returned the last update date of the GDG. In fact, is that the creation date of the most recent data set or the last update date of the GDG? I don't know!
Back to top
View user's profile Send private message
VintageReceiver

New User


Joined: 19 Jul 2017
Posts: 8
Location: USA

PostPosted: Fri Aug 11, 2017 8:57 pm    Post subject: Reply to: retrieving envelope information out of GDG base.
Reply with quote

Hi Thanks for replies.
Actually I only care about GDG base, not members especially on bases that had bee created and only exist on their own with no gens.
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 574
Location: The Universe

PostPosted: Tue Aug 15, 2017 10:26 am    Post subject:
Reply with quote

I spent some time working on ideas and came up with this -
Code:
  GENERATION DATA GROUP                       DATA SETS   CREATED   ALTERED
AKSZ.ANUPAM.GDG                                    0    12/30/2013 12/30/2013
AMAURIM.DSN.TESTE                                  0    07/30/2014 01/01/1900
AXARP.TEST.GDGS                                    0    05/11/2017 01/01/1900
XXXXXX.DISKLIST.SYSPRINT                           4    02/02/2015 08/14/2017
I had some trouble with details, the created date kept getting trashed and it took me much too long to figure that one out. It didn't more or less work properly until about 24 hours ago. It's much too large to present here, and needs much more work than I'm going to put into it to before it could be distributed.

I'm curious. This seems to be close to what you were saying you wanted. Is it?
Back to top
View user's profile Send private message
VintageReceiver

New User


Joined: 19 Jul 2017
Posts: 8
Location: USA

PostPosted: Wed Aug 16, 2017 6:46 pm    Post subject:
Reply with quote

That's true.
It's pretty much dirty test environment where I want to factor out or remove unwanted and unused GDG bases prior running critical tests.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Information About the Equifax Securit... Rohit Umarjikar PC Guides & IT News 6 Mon Sep 11, 2017 9:10 pm
No new posts Obtaining file information pahiker COBOL Programming 25 Tue Sep 27, 2016 7:25 pm
No new posts Need information on COBOL MOVE CORRES... subratarec COBOL Programming 10 Tue Jun 28, 2016 10:38 pm
No new posts Passing information through JCL as in... Pia Baruah JCL & VSAM 5 Wed May 25, 2016 2:22 pm
No new posts Extracting Information from DD Statem... Charles Wolters All Other Mainframe Topics 7 Wed Apr 13, 2016 10:21 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us