JCL examples for FF Stand-alone DB Sensor

Use these JCL examples to help you code JCL statements for FF Stand-alone DB Sensor.

Processing a database

The following JCL example is for processing one HIDAM database that has two database data sets and a primary index.

Figure 1. FF Stand-alone DB Sensor JCL example: Processing a database
// JOB ….
//SENSOR EXEC PGM=BBESENSR
//STEPLIB DD DISP=SHR,DSN=…..
//   DD DISP=SHR,DSN=IMS11.SDFSRESL
//       :
//IMS DD DISP=SHR,DSN=IMS11.DBDLIB
//RECON1 DD DISP=SHR,DSN=SYS01.RECON1
//RECON2 DD DISP=SHR,DSN=SYS01.RECON2
//RECON3 DD DISP=SHR,DSN=SYS01.RECON3
//BBESIN DD  *
  GLOBAL DBRC=Y,HPIO=Y,
   TOSIXCFGRP=TOISYS01,ITKBSRVR=FPQSRV01,
   ADXCFGRP=ADSRV01
  DATABASE DBD=HIDAM1 
/*
//*-------------------------------------------------------
//* Specify all DDs that belong to the DBD. 
//* If the data set names are defined by DFSMDA, the DDs are not needed.
//*-------------------------------------------------------
//HDAMDD1  DD DISP=SHR,DSN=HIDAMDB.HIDAMDD1.OSAM
//PINDEX1  DD DISP=SHR,DSN=PINDEX.PINDEX1.VSAM
//HDAMDD2  DD DISP=SHR,DSN=HIDAMDB.HIDAMDD2.OSAM

Processing multiple databases

The following JCL example is for processing an HDAM database that has three database data sets and a secondary index that has a primary data set and an overflow data set.

Figure 2. FF Stand-alone DB Sensor JCL example: Processing multiple databases
// JOB ….
//SENSOR EXEC PGM=BBESENSR
//STEPLIB DD DISP=SHR,DSN=…..
//   DD DISP=SHR,DSN=IMS11.SDFSRESL
//       :
//IMS DD DISP=SHR,DSN=IMS11.DBDLIB
//RECON1 DD DISP=SHR,DSN=SYS01.RECON1
//RECON2 DD DISP=SHR,DSN=SYS01.RECON2
//RECON3 DD DISP=SHR,DSN=SYS01.RECON3
//BBESIN  DD  *
  GLOBAL DBRC=Y,HPIO=Y,
   TOSIXCFGRP=TOISYS01,ITKBSRVR=FPQSRV01,
   ADXCFGRP=ADSRV01
  DATABASE DBD=HDAM1
  DATABASE DBD=SINDEX1 
/*
//*-------------------------------------------------------
//* Specify all DDs that belong to the DBD
//* If the data set names are defined by DFSMDA, the DDs are not needed.
//*-------------------------------------------------------
//HDAM11 DD DISP=SHR,DSN=HDAMDB.HDAM11.OSAM
//HDAM12 DD DISP=SHR,DSN=HDAMDB.HDAM12.OSAM
//HDAM13 DD DISP=SHR,DSN=HDAMDB.HDAM13.OSAM
//SINDX1P  DD DISP=SHR,DSN=SINDEX.PRIMAY.VSAM
//SINDX1O  DD DISP=SHR,DSN=SINDEX.OVERFLW.VSAM

Processing a HALDB partition

The following JCL example is for processing one HALDB partition.

Figure 3. FF Stand-alone DB Sensor JCL example: Processing a HALDB partition
// JOB ….
//SENSOR EXEC PGM=BBESENSR
//STEPLIB DD DISP=SHR,DSN=…..
//   DD DISP=SHR,DSN=IMS11.SDFSRESL
//       :
//IMS DD DISP=SHR,DSN=IMS11.DBDLIB
//RECON1 DD DISP=SHR,DSN=SYS01.RECON1
//RECON2 DD DISP=SHR,DSN=SYS01.RECON2
//RECON3 DD DISP=SHR,DSN=SYS01.RECON3
//BBESIN  DD  *
  GLOBAL DBRC=Y,HPIO=Y,
   TOSIXCFGRP=TOISYS01,ITKBSRVR=FPQSRV01,
   ADXCFGRP=ADSRV01
  DATABASE DBD=PHIDAM1,PART=PHDM1A 
/*
//*-------------------------------------------------------
//* In case of HALDB, DDs are not needed because DB Sensor processes
//* the data sets that are defined in the RECON. 

Processing all HALDB partitions

The following JCL example is for processing all PHDAM partitions.

Figure 4. FF Stand-alone DB Sensor JCL example: Processing all HALDB partitions
// JOB ….
//SENSOR EXEC PGM=BBESENSR
//STEPLIB DD DISP=SHR,DSN=…..
//   DD DISP=SHR,DSN=IMS11.SDFSRESL
//       :
//IMS DD DISP=SHR,DSN=IMS11.DBDLIB
//RECON1 DD DISP=SHR,DSN=SYS01.RECON1
//RECON2 DD DISP=SHR,DSN=SYS01.RECON2
//RECON3 DD DISP=SHR,DSN=SYS01.RECON3
//BBESIN  DD  *
  GLOBAL DBRC=Y,HPIO=Y,
   TOSIXCFGRP=TOISYS01,ITKBSRVR=FPQSRV01,
   ADXCFGRP=ADSRV01
  DATABASE DBD=PHDAM1,PART=*ALL
/*
//*-------------------------------------------------------
//* In case of HALDB, DDs are not needed because DB Sensor processes
//* the data sets that are defined in the RECON.