Previous Topic: Define and Load the IMOD Data Set (INST0031 - INST0032)Next Topic: Log Stream Guidelines


Define Log Streams (INST0040 - INST0046)

Note: If you are upgrading and already have the log streams defined, you can reuse those log streams.

Note: For information about log stream size, see the Administration Guide.

Log streams must be defined before you can view the following types of collected data online:

Note: Before you run INST0040 through INST0046, activate the z/OS system logger services and define a LOGR policy on the system.

Follow these steps:

  1. Review the INST0040 through INST0046 members in the sysview.SAMPJCL data set to ensure all of the files that the jobs are referencing are correct.
  2. Define the log stream as shown in the following sample definition. The JCL defines a DASD-only log stream and lists the characteristics of the log stream:
    //INST004* JOB (09900000),'PROGRAMMER NAME',
        REGION=0M,
        MSGCLASS=A,
        CLASS=A,
        MSGLEVEL=(1,1)
    
    //DEFINE   EXEC  PGM=IXCMIAPU,REGION=0M
    //SYSPRINT DD SYSOUT=*
    //SYSIN    DD *
    
    DATA TYPE(LOGR) REPORT(NO)
    
    DEFINE LOGSTREAM
        NAME(ssidrrm.taskname.type.smfi)
        AUTODELETE(YES)
        DASDONLY(YES)
        DESCRIPTION(....16chars.....)
        DIAG(NO)
        EHLQ(LOGGER)
        HIGHOFFLOAD(70)
        LOWOFFLOAD(0)
        LS_SIZE(1000)
        MAXBUFSIZE(32767)
        MODEL(NO)
        OFFLOADRECALL(YES)
        RETPD(7)
        STG_SIZE(750)
    
    LIST LOGSTREAM
        NAME(ssidrrm.taskname.type.smfi)
        DETAIL(YES)
    
  3. Submit the appropriate jobs that define the z/OS log streams needed on each system.

    After the job ends with a condition code of 0, you can view the log streams online. The records that are written to these log streams are in SMF format.