z/OS DFSMS Using Data Sets
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Writing a Program for Backup and Recovery

z/OS DFSMS Using Data Sets
SC23-6855-00

There are two methods of creating your own program for backup and recovery:
  • If you periodically process a data set sequentially, you can easily create a backup copy as a by-product of normal processing. The backup copy can be used like one made by REPRO.
  • You can write your own program to back up your data sets. Whenever possible, this program should be integrated into the regular processing procedures.

    In VSAM, the JRNAD user exit routine is one way to write your own backup program. When you request a record for update, VSAM calls the JRNAD exit routine to copy the record you are going to update, and write it to a different data set. When you return to VSAM, VSAM completes the requested update. If something goes wrong, you have a backup copy. See JRNAD Exit Routine to Journalize Transactions.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014