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
 
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: 6968
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am

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