![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
A sample BACKUP JCL is located in the JCL data set, distributed with TIBCO Object Service Broker. There are several key advantages to using this backup method over other backup tools:
• You can use the BACKUP JCL to back up the entire system or individual segments. You can back up any segment other than segment 0 by varying the segment offline, backing it up, and varying it back online.
• The backup process copies only those pages that actually contain data and also compresses the data as much as possible before writing it to tape.
• The backup can be integrated with journals created at a later time to produce an up-to-date backup.If you use the following offline utilities without batch journaling, you must refresh your latest backup with a complete backup of the processed segment to maintain the integrity of your backup data. These utilities update the segment offline and do not normally perform journaling:TIBCO Object Service Broker for z/OS Utilities for information about the individual utilities.Utilities such as S6BBRCLR, S6BBRIAL, S6BBRPGC, S6BBRSET, S6BBRSIX, and S6BBRTBL have a facility for offline journaling. To invoke this facility, specify JOURNAL=Y as a parameter to the utility.You must also add a JOURNAL DD statement to your JCL pointing to a VSAM data set. For example:
Sample JCL is available in the BATJRNL member of the JCL data set that shows running the S6BBRCLR utility after allocating the journal.Although offline journaling makes taking a full backup of the segment after running an offline update utility unnecessary, use it with caution:
• If the utility fails, combine the journal images with those produced by any utilities used in the recovery of the failure. Otherwise, partial updated images can appear in the continuous backup process, resulting in a corrupted backup that is unsuitable for recovery. Although running the S6BBRPTR (Batch Pointer Check) utility finds any physical pointer inconsistencies, the best strategy is to take all precautions to avoid them.
• The S6BBRPTR utility does not validate the logical consistency of the data; for example, an index can show the highest key on a data page different from the actual value on the data page.
• The journal data set should be allocated but not formatted. When the batch utility has built the journal, use IDCAMS to unload the records into a sequential data set for inclusion in the journal merge process.
Since the offline journaling facility has no provision for spinning journals, you must ensure that you have adequate space for the offline journal. If the journal fills up, a U0117 abend results and the batch job aborts. For more information on this abend code, refer to TIBCO Object Service Broker Messages With Identifiers.TIBCO Object Service Broker for z/OS Utilities for information on the utilities that produce journals and for specifics about batch journaling.The following procedure shows how to create a backup of a selected segment using the supplied BACKUP JCL:
1. If you are backing up segment 0, or any segment defined as a system segment (according to the DBDLIB parameters), shut down the Data Object Broker by issuing a TIBCO Object Service Broker operator command.You must ensure that no updates are pending for any segment being backed up. Make sure that any vary offline has completed successfully. If the Data Object Broker has been terminated, check that the shutdown completed normally. If not, restart the Data Object Broker and shut it down again. Perform a backup only after a normal shutdown.You can vary a segment offline from the Administration menu or you can issue a TIBCO Object Service Broker operator command. The command to vary a segment offline is:
The name of the batch job or started task under which the Data Object Broker is running. The TIBCO Object Service Broker operator command to vary a segment offline. Follow the embedded documentation to set the proper input and output parameters. Complete the following steps:TIBCO Object Service Broker for z/OS Installing and Operating describes how to use the OSEMOD edit macro to replace these variables with the correct values.
c. After you tailor this and other supplied JCL, make a backup copy of the JCL data set for your own disaster recovery purposes.The BACKUP job calls the S6BTLBPS (Back Up Page Data Sets) utility to back up page data sets. This utility does the following:
− Sequentially outputs each used page to a file. Empty space within the page is truncated before the page is written, thus making the backup more efficient.
5. Vary the segment online from the Administration menu or issue a TIBCO Object Service Broker operator command. The syntax to vary a segment online is:
You can back up your data sets more quickly by running the S6BTLUPS (Unload a Page Data Set to Backup) utility as a separate job or started task for each data set in the segment.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |