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 log streams defined, you can reuse those log streams.

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

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

Note: Prior to running INST0040 through INST0046, the z/OS system logger services must be active and a LOGR policy defined on the system.

To define log streams

  1. Review the INST0040 through INST0046 members in the sysview.SAMPJCL data set to ensure that all of the files referenced in the jobs 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 to define 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 written to these log streams are in SMF format.