IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to backup Data Set atuomatically while editing it.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
bruce wang

New User


Joined: 04 Jan 2009
Posts: 7
Location: china

PostPosted: Fri Jul 10, 2009 11:27 am
Reply with quote

Hi All,

I have a requirement that automatically backup the date set while your editing it. for example, you locate a PDS member named CWS1001.DM.PLI(MSNABC). If you edited it correctly, there is nothing to do, otherwise we need to recover that data set manually. of course, we need to backup the source data set before do any changes. this is normal process.

I need to confirm with you all that Is available to automatic backup data set. If so. con you give me detailed process to achieve it.

Thanks in advance.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Jul 10, 2009 12:25 pm
Reply with quote

PF1 Help, look at Profile parm Recover and ISPF edit command UNDO
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Jul 10, 2009 12:47 pm
Reply with quote

Or take an independant backup before editing.
Back to top
View user's profile Send private message
bruce wang

New User


Joined: 04 Jan 2009
Posts: 7
Location: china

PostPosted: Fri Jul 10, 2009 2:42 pm
Reply with quote

yes, It's easy to recover by using command UNDO. But the method you mentioned is to UNDO before save the records.
my requirement is to automatically backup the data sets before you edit records. Of cause we can use command COPY to achieved.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Jul 10, 2009 2:49 pm
Reply with quote

I usually use
Code:

Command ===> create backup         
****** ****************************
c99999 /* REXX *** USES A CARRY ROU
000002 /*          ALSO WRITES ADDI
000003                             
000004 CNT1 = 0                   
000005 CNT2 = 0                   
000006                             
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts JCL EXEC PARM data in C Java & MQSeries 2
This topic is locked: you cannot edit posts or make replies. Automation need help in sorting the data DFSORT/ICETOOL 38
Search our Forums:

Back to Top