View previous topic :: View next topic
|
Author |
Message |
sun_job
New User
Joined: 18 Sep 2007 Posts: 73 Location: Bangalore
|
|
|
|
Hi
I am creating backup of GDG version dated from 2007 october. I need to append the create date of the old GDG version to the newly created PS file.
Please let me know how can i do it? |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
run a LISTC command against the required datasets, this will give you the creation date, you will need to massage the output, but this will be a good starting point.
This has been discussed previously.
Gerry |
|
Back to top |
|
|
sun_job
New User
Joined: 18 Sep 2007 Posts: 73 Location: Bangalore
|
|
|
|
Please tell me in detail |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
here is the code to run the LISTC command.
Code: |
//LISTCAT EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//LSTENTRY DD DSN=OUTPUT-FILE,
// DISP=(,CATLG,DELETE),
// UNIT=SYSDA,
// SPACE=(TRK,(100,50),RLSE),
// DCB=(RECFM=VB,LRECL=137)
//SYSIN DD *
LISTCAT -
LVL(A.B) ALL OFILE(LSTENTRY)
/*
|
Gerry |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Why do you need another backup ?
Does HSM (or whatever ILM siftware you have ) take a backup automatically.
A very similar topic was recently discussed, so please search the forum before posting. |
|
Back to top |
|
|
|