Creating the System Data Engine batch job for writing IMS log data to data sets

Create a batch job for the System Data Engine to run in batch mode so that the output is written to a file instead of being streamed to the Data Streamer. You can create this job based on the sample job HBOJBIMS in the hlq.SHBOSAMP library.

Procedure

  1. Copy the sample job HBOJBIMS from hlq.SHBOSAMP to a user job library.
  2. Update the job card according to your environment.
  3. To enable the zIIP offloading function to run eligible code on zIIPs, specify ZIIPOFFLOAD=YES in the PARM parameter in the EXEC statement.
    //HBOSMFCL EXEC PGM=HBOPDE,REGION=0M,TIME=1440,
    //         PARM='SHOWINPUT=NO,ZIIPOFFLOAD=YES'
    For more information about the zIIP offloading function, see Offloading the System Data Engine code to System z Integrated Information Processors.
  4. Update the following STEPLIB DD statement to specify the hlq.SHBOLOAD data set.
    //STEPLIB  DD DISP=SHR,DSN=HBOvrm.SHBOLOAD
  5. Update the following HBOIN DD statements to specify the hlq.SHBODEFS data set members.
    //HBOIN    DD DISP=SHR,DSN=HBOvrm.SHBODEFS(HBOCCSV)  
    //         DD DISP=SHR,DSN=HBOvrm.SHBODEFS(HBOLLSMF) 
    //         DD DISP=SHR,DSN=HBOvrm.SHBODEFS(HBORSIMS) 
    //         DD DISP=SHR,DSN=HBOvrm.SHBODEFS(HBOUSIMS)
    
  6. For each IMS log record type that you want to collect, create a DD statement to receive the output.
    Change IMSxxxx to the DD name of the IMS log record type. Refer to the SET IBM_FILE statements in the hlq.SHBODEFS(HBOUSIMS) member for the output DD names of IMS log record types.
    //IMSxxxx  DD SYSOUT=*,RECFM=V,LRECL=32756
    The following example shows the DD statements for receiving the output for IMS log record types x07 and x08.
    //* Sample COLLECT statement for processing log stream data
    //*
    // DD *
    COLLECT IMS 
      COMMIT AFTER END OF FILE;
    /*
    //HBOLOG  DD   DISP=SHR,DSN=stored.imsdata
    //HBOOUT  DD   SYSOUT=*
    //HBODUMP DD   SYSOUT=*
    //IMS07   DD   SYSOUT=*, RECFM=V,LRECL=32756  for record type 07
    //IMS08   DD   SYSOUT=*, RECFM=V,LRECL=32756  for record type 08