Posted: Tue Apr 20, 2004 10:43 am Post subject: GdG version Create Date without recalling
Is there a way to know when the gdg versions are created? We have a gdg base with 100 generations. Most of the generations are in migrated status and it takes a long time to recall them to see the creation date in 3.4. I want to know the creation date without recalling the generations.
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
Posted: Tue Apr 20, 2004 11:19 am Post subject:
Misi,
The following DFSORT/ICETOOL JCL will give you the desired results. If you have syncsort at your shop then change the pgm name to synctool in step0200.
A brief explanation of the job. step0100 is used to issue listcat command against the gdg base.
Step0200 takes in the listcat input and formats to get the creation dates of the versions and the base also.
HLIST will give you the last referenced date. You can specify a dataset to write the output of the HLIST command to as a parameter rather than trying to outtrap it in rexx which won't work. _________________ My opinions are exactly that.
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
Posted: Sat Jun 26, 2004 5:31 am Post subject:
Kolusu,
I think, I am seeing counter-statements here.
Your example uses a LISTCAT and superk said that LISTCAT does not recall a dataset. So, I was wondering if your job would work when couple of generations are migrated.
I am not sure, if I can easily find out a base with generations migrated. So, I could not test your job. _________________ ALL opinions are welcome.
Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
Posted: Mon Jun 28, 2004 5:13 am Post subject:
Cogito,
Listcat gets the information from the catalog(VTOC) , so it does not matter if the GDG versions are migrated. Superk also mentioned the same , that the poster can run a Listcat command on the GDGbase , so that he can get the create date of the versions.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum