Using the MONSWABRM command and the Sync ID field in the Backup Control Group, you can utilize the multiple save synchronization feature. This feature allows you to synchronize libraries and/or integrated file system together to achieve one common checkpoint.
The following control groups provide an example on how you might use this function:
Master Backup Control Group
Edit Backup Control Group Entries RCHAS400 Group . . . . . . . . . . : MASTER Default activity . . . . . *BKUPCY Text . . . . . . . . . . . Master Backup Control Group Type information, press Enter. Backup Seq Items Exit command 10 *EXIT 20 *EXIT MONSWABRM LIB(MULTSWA) CMD(STRSBSBRM) SYNCID(MULTSWAID) NUMSYNC(2) STRSAVWAIT(600) 30 *EXIT SBMJOB CMD(STRBKUBRM CTLGRP(BKUCTLG1)) 40 *EXIT SBMJOB CMD(STRBKUBRM CTLGRP(BKUCTLG2)) 50 *EXIT Bottom F3=Exit F5=Refresh F10=Change item F11=Advanced backup controls F12=Cancel
Backup Control Group 1
Edit Backup Control Group Entries RCHAS400 Group . . . . . . . . . . : SAMPLE Default activity . . . . . *BKUPCY Text . . . . . . . . . . . Backup control group 1 Type information, press Enter. Weekly Retain Save SWA Backup List ASP Activity Object While Message Sync Seq Items Type Device SMTWTFS Detail Active Queue ID 10 *EXIT *DFTACT 20 LIB1 *SYSBAS *DFTACT *YES *SYNCLIB MULTSWA MULTSWAID 30 LIB2 *SYSBAS *DFTACT *YES *SYNCLIB *LIB MULTSWAID 40 LIB3 *SYSBAS *DFTACT *YES *SYNCLIB *LIB MULTSWAID 50 *EXIT *DFTACT Bottom F3=Exit F5=Refresh F10=Change item F11=Display exits F12=Cancel F14=Display client omit status F24=More keys
Backup Control Group 2
Display Backup Control Group Entries RCHAS400 Group . . . . . . . . . . : BKUCTLG2 Default activity . . . . : *BKUPCY Text . . . . . . . . . . : Backup Control Group 2 Weekly Retain Save SWA Backup List ASP Activity Object While Message Sync Seq Items Type Device SMTWTFS Detail Active Queue ID 10 IFSLIST *LNK *SYSBAS *DFTACT *NO *SYNC MULTSWA MULTSWAID Bottom Press Enter to continue. F3=Exit F11=Display exits F12=Cancel F14=Display client omit status
In the example, the Master Backup Control Group starts the MONSWABRM command with the appropriate set parameters and then submits off two backup control groups. Both of these control groups have backup entries that are syncing to the Sync ID of MULTSWAID. Backup Control Group 1 will run a save of libraries LIB01, LIB02 and LIB03 with one command and Backup Control Group 2 will run a save of integrated file system paths with one command. Since these two saves now meet the number of save operations specified on the Number of save operations parameter for the MONSWABRM command, a common checkpoint for both libraries and integrated file system objects will now be made. A checkpoint message will then be sent to the message queue MULTSWA. Once the message is sent to the queue, BRMS will then run the command STRSBSBRM, which was specified on the Command parameter for MONSWABRM.