Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to backup Data Set atuomatically while editing it.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to backup Data Set atuomatically while editing it.
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri Jul 10, 2009 12:47 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri Jul 10, 2009 2:49 pm    Post subject:
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    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 Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us