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
 
Date Appending to the end of dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sun_job

New User


Joined: 18 Sep 2007
Posts: 73
Location: Bangalore

PostPosted: Fri Jun 06, 2008 11:12 am    Post subject: Date Appending to the end of dataset
Reply with quote

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
View user's profile Send private message

gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Fri Jun 06, 2008 11:27 am    Post subject:
Reply with quote

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
View user's profile Send private message
sun_job

New User


Joined: 18 Sep 2007
Posts: 73
Location: Bangalore

PostPosted: Fri Jun 06, 2008 11:40 am    Post subject: Hi
Reply with quote

Please tell me in detail
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Tue Jun 10, 2008 3:01 pm    Post subject:
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8657
Location: Back in jolly old England

PostPosted: Tue Jun 10, 2008 5:00 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How could i share my personal dataset... James Halley TSO/ISPF 1 Fri Mar 23, 2018 9:41 pm
This topic is locked: you cannot edit posts or make replies. How could i share my personal dataset... samenxia163 TSO/ISPF 1 Fri Mar 09, 2018 12:18 pm
No new posts Where to get sample for processing RM... vice_versa PL/I & Assembler 2 Tue Jan 16, 2018 2:03 pm
No new posts VSAM dataset not found abdulrafi JCL & VSAM 5 Fri Jan 12, 2018 11:19 am
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am

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