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: 6970
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: 8657
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: 8657
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 3270 Data stream error Benchwarmer CICS 4 Tue Apr 17, 2018 12:06 am
No new posts How to list data set names with diffe... murali.andaluri CLIST & REXX 8 Thu Apr 12, 2018 11:33 pm
This topic is locked: you cannot edit posts or make replies. Unavailable RECON datasets while exec... abdulrafi JCL & VSAM 10 Fri Apr 06, 2018 12:45 pm
No new posts Invalid XML character while producing... nikhil.bhole IBM Tools 4 Tue Mar 20, 2018 1:24 am
No new posts Get the list of data sets on DASD and... rakaitn JCL & VSAM 3 Thu Mar 08, 2018 12:38 pm

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