View previous topic :: View next topic
|
Author |
Message |
bruce wang
New User
Joined: 04 Jan 2009 Posts: 7 Location: china
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
PF1 Help, look at Profile parm Recover and ISPF edit command UNDO |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Or take an independant backup before editing. |
|
Back to top |
|
|
bruce wang
New User
Joined: 04 Jan 2009 Posts: 7 Location: china
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
|