Example BSYIN control statements

The examples in this section show BSYIN control statements using commands to control the SLB API activation utility.

Example 1

The following example lists any defined dynamic API environments and additionally shows the active API environment:

//BSYIN    DD *    
LIST

Example 2

The following example uses the DD statements allocated in the JCL to build a new API environment, or convert an existing environment, and activate that environment.

//BSYIN    DD *    
ACTIVATE

Example 3

The following example performs the following operations:

  • List all dynamic API environments that currently exist and additionally show the active API environment
  • Deactivate only the active dynamic API environment that matches the DD statements allocated in the JCL
  • List again to ensure that the deactivated environment has been removed
  • Deactivate all other existing dynamic API environments
  • List again to ensure that the deactivated environments have been removed
  • Build and activate a new API environment that matches the DD statements allocated in the JCL
  • List again to ensure that the new dynamic API environment is now designated as active
//BSYIN    DD *     
   LIST             
   DEACTIVATE
   LIST             
   DEACTIVATE(ALL)
   LIST             
   ACTIVATE         
   LIST     

Example BSYIN control statement output

The following output was produced from a BSYIN control statement using commands to control the SLB API activation utility:

16:23:12 BSY0001I - IBM IMS Recovery Solution Pack for z/OS Starting. 
Version 02.02.000
 16:23:12 BSY0003I - Control Cards:
 16:23:12 BSY0004I -    LIST
 16:23:12 BSY0004I -    DEACTIVATE
 16:23:12 BSY0004I -    LIST
 16:23:12 BSY0004I -    DEACTIVATE(ALL)
 16:23:12 BSY0004I -    LIST
 16:23:12 BSY0004I -    ACTIVATE
 16:23:12 BSY0004I -    LIST
 16:23:12 BSY0004I -
 16:23:12 BSY0004I -
 16:23:12 BSY0004I -
 16:23:12 BSY0560I -
 16:23:12 BSY0560I - Processing LIST....
 16:23:12 BSY0560I - .... Querying LPA for BSY#API
 16:23:12 BSY0561I - BSY#API located in LPA
 16:23:12 BSY0568I - BSY#API ENTRYPT    = 20E4D000
 16:23:12 BSY0568I - BSY#API LOADPT     = 20E4D000
 16:23:12 BSY0568I - BSY#API MODLEN     = 000038C8
 16:23:12 BSY0568I - BSY#API TIMESTAMP  = APARV2R2M0
 16:23:12 BSY0568I - BSY#API VERSION    = 03/17/2021
 16:23:12 BSY0567I -
 16:23:12 BSY0567I - Active BSY#API environment:
 16:23:12 BSY0567I - Created by TSMXD on 2021-03-21 16:02:04.90467
 16:23:12 BSY0567I - BSYLOAD = IRS.DEV21.LOAD
 16:23:12 BSY0567I - EMCLOAD = RSRTE.EMC.LINKLIB.BETA760
 16:23:12 BSY0567I - FDRLOAD = RSRTE.VENDOR.FDR.LOAD
 16:23:12 BSY0567I - Db2PARMS= IRS.IRS21.CONTROL
 16:23:12 BSY0567I - BSYBPROF= IRS.IRS21.PROFILE
 16:23:12 BSY0567I - BSYBOFFL= IRS.IRS21.OFFOPTS
 16:23:12 BSY0567I - BSYBPMAP= IRS.IRS21.PROFILE.MAPS
 16:23:12 BSY0567I - BSYBPCAT= IRS.IRS21.PROFILE.CATS
 16:23:12 BSY0567I - BSYSBACK= IRS.IRS21.SYSBACK
 16:23:12 BSY0567I - BSYSBOBJ= IRS.IRS21.SYSBACK.OBJS.IMS
 16:23:12 BSY0567I - BSYSBVOL= IRS.IRS21.SYSBACK.VOLS
 16:23:12 BSY0567I - BSYSBSSD= IRS.IRS21.SYSBACK.SSIDS
 16:23:12 BSY0567I - BSYBREPT= IRS.IRS21.BREPORT
 16:23:12 BSY0567I - BSYPOBJS= IRS.IRS21.OBJECTS
 16:23:12 BSY0567I - BSYARCH = IRS.IRS21.ARCHIVES.IMS
 16:23:12 BSY0567I - BSY#PARM= IRS.DEV21.SAMPLE MEMBER  = BSY#PARM
 16:23:12 BSY0560I -
 16:23:12 BSY0560I - Processing DEACTIVATE....
 16:23:12 BSY0570I - Deleting active BSY#API environment
 16:23:12 BSY0560I - .... Querying LPA for BSY#API
 16:23:12 BSY0561I - BSY#API located in LPA
 16:23:12 BSY0568I - BSY#API ENTRYPT    = 20E4D000
 16:23:12 BSY0568I - BSY#API LOADPT     = 20E4D000
 16:23:12 BSY0568I - BSY#API MODLEN     = 000038C8
 16:23:12 BSY0568I - BSY#API TIMESTAMP  = APARV2R2M0
 16:23:12 BSY0568I - BSY#API VERSION    = 03/17/2021
 16:23:12 BSY0560I - .... BSY#API being deleted from LPA
 16:23:12 BSY0561I - BSY#API deleted from LPA
 16:23:12 BSY0560I - .... Querying LPA for BSY#API
 16:23:12 BSY0561I - BSY#API not located in LPA
 16:23:12 BSY0560I -
 16:23:12 BSY0560I - Processing LIST....
 16:23:12 BSY0560I - .... Querying LPA for BSY#API
 16:23:12 BSY0561I - BSY#API not located in LPA
 16:23:12 BSY0560I -
 16:23:12 BSY0560I - Processing DEACTIVATE(ALL)....
 16:23:12 BSY0560I - .... Querying LPA for BSY#API
 16:23:12 BSY0561I - BSY#API not located in LPA
 16:23:12 BSY0560I -
 16:23:12 BSY0560I - Processing LIST....
 16:23:12 BSY0560I - .... Querying LPA for BSY#API
 16:23:12 BSY0561I - BSY#API not located in LPA 
 16:23:12 BSY0560I -
 16:23:12 BSY0560I - Processing ACTIVATE....
 16:23:12 BSY0560I - .... Querying LPA for BSY#API
 16:23:12 BSY0561I - BSY#API not located in LPA
 16:23:12 BSY0560I - .... BSY#API being added to LPA
 16:23:12 BSY0561I - BSY#API added to LPA
 16:23:12 BSY0568I - BSY#API TOKEN      = 000009110000018E
 16:23:12 BSY0568I - BSY#API ENTRYPT    = A0E4D000
 16:23:12 BSY0568I - BSY#API LOADPT     = 20E4D000
 16:23:12 BSY0568I - BSY#API MODLEN     = 000038C8
 16:23:12 BSY0560I - .... Querying LPA for BSY#API
 16:23:12 BSY0561I - BSY#API located in LPA
 16:23:12 BSY0568I - BSY#API ENTRYPT    = 20E4D000
 16:23:12 BSY0568I - BSY#API LOADPT     = 20E4D000
 16:23:12 BSY0568I - BSY#API MODLEN     = 000038C8
 16:23:12 BSY0568I - BSY#API TIMESTAMP  = APARV2R2M0
 16:23:12 BSY0568I - BSY#API VERSION    = 03/17/2021
 16:23:12 BSY0560I - API environment added
 16:23:12 BSY0567I -
 16:23:12 BSY0567I - Active BSY#API environment:
 16:23:12 BSY0567I - Created by TSMXD on 2021-03-21 16:23:12.36718
 16:23:12 BSY0567I - BSYLOAD = IRS.DEV21.LOAD
 16:23:12 BSY0567I - EMCLOAD = RSRTE.EMC.LINKLIB.BETA760
 16:23:12 BSY0567I - FDRLOAD = RSRTE.VENDOR.FDR.LOAD
 16:23:12 BSY0567I - Db2PARMS= IRS.IRS21.CONTROL
 16:23:12 BSY0567I - BSYBPROF= IRS.IRS21.PROFILE
 16:23:12 BSY0567I - BSYBOFFL= IRS.IRS21.OFFOPTS
 16:23:12 BSY0567I - BSYBPMAP= IRS.IRS21.PROFILE.MAPS
 16:23:12 BSY0567I - BSYBPCAT= IRS.IRS21.PROFILE.CATS
 16:23:12 BSY0567I - BSYSBACK= IRS.IRS21.SYSBACK
 16:23:12 BSY0567I - BSYSBOBJ= IRS.IRS21.SYSBACK.OBJS.IMS
 16:23:12 BSY0567I - BSYSBVOL= IRS.IRS21.SYSBACK.VOLS
 16:23:12 BSY0567I - BSYSBSSD= IRS.IRS21.SYSBACK.SSIDS
 16:23:12 BSY0567I - BSYBREPT= IRS.IRS21.BREPORT
 16:23:12 BSY0567I - BSYPOBJS= IRS.IRS21.OBJECTS
 16:23:12 BSY0567I - BSYARCH = IRS.IRS21.ARCHIVES.IMS
 16:23:12 BSY0567I - BSY#PARM= IRS.DEV21.SAMPLE MEMBER  = BSY#PARM
 16:23:12 BSY0560I -
 16:23:12 BSY0560I - Processing LIST....
 16:23:12 BSY0560I - .... Querying LPA for BSY#API
 16:23:12 BSY0561I - BSY#API located in LPA
 16:23:12 BSY0568I - BSY#API ENTRYPT    = 20E4D000
 16:23:12 BSY0568I - BSY#API LOADPT     = 20E4D000
 16:23:12 BSY0568I - BSY#API MODLEN     = 000038C8
 16:23:12 BSY0568I - BSY#API TIMESTAMP  = APARV2R2M0
 16:23:12 BSY0568I - BSY#API VERSION    = 03/17/2021
 16:23:12 BSY0567I -
 16:23:12 BSY0567I - Active BSY#API environment:
 16:23:12 BSY0567I - Created by TSMXD on 2021-03-21 16:23:12.36718
 16:23:12 BSY0567I - BSYLOAD = IRS.DEV21.LOAD
 16:23:12 BSY0567I - EMCLOAD = RSRTE.EMC.LINKLIB.BETA760
 16:23:12 BSY0567I - FDRLOAD = RSRTE.VENDOR.FDR.LOAD
 16:23:12 BSY0567I - Db2PARMS= IRS.IRS21.CONTROL
 16:23:12 BSY0567I - BSYBPROF= IRS.IRS21.PROFILE
 16:23:12 BSY0567I - BSYBOFFL= IRS.IRS21.OFFOPTS
 16:23:12 BSY0567I - BSYBPMAP= IRS.IRS21.PROFILE.MAPS
 16:23:12 BSY0567I - BSYBPCAT= IRS.IRS21.PROFILE.CATS
 16:23:12 BSY0567I - BSYSBACK= IRS.IRS21.SYSBACK
 16:23:12 BSY0567I - BSYSBOBJ= IRS.IRS21.SYSBACK.OBJS.IMS
 16:23:12 BSY0567I - BSYSBVOL= IRS.IRS21.SYSBACK.VOLS
 16:23:12 BSY0567I - BSYSBSSD= IRS.IRS21.SYSBACK.SSIDS
 16:23:12 BSY0567I - BSYBREPT= IRS.IRS21.BREPORT
 16:23:12 BSY0567I - BSYPOBJS= IRS.IRS21.OBJECTS
 16:23:12 BSY0567I - BSYARCH = IRS.IRS21.ARCHIVES.IMS
 16:23:12 BSY0567I - BSY#PARM= IRS.DEV21.SAMPLE MEMBER  = BSY#PARM
 16:23:12 BSY0002I - IBM IMS Recovery Solution Pack for z/OS complete. RC=000.