Initialize the z/OS log stream
Before using Connect, you must initialize the log file. Update TCLOGINI with the right information and submit the JCL. The log stream initialization is done using program IXCMIAPU. See z/OS MVS Setting Up a Sysplex documentation on IBM website for details on input to the program. The log stream files are dynamically allocated and deleted by z/OS.
The JCL to initialize the log stream is as follows but needs to be adjusted according to your SMS rules:
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DATA TYPE(LOGR)
DEFINE LOGSTREAM
NAME(TOPAZC)
DESCRIPTION(TOPAZC_STREAM)
DASDONLY(YES)
STG_SIZE(150)
LS_SIZE(150)
RETPD(30)
HLQ(@@prefix)
LIST LOGSTREAM NAME(TOPAZC) DETAIL(YES)
Change the @@prefix to specify the Connect prefix qualifier and update the log stream name with the value of the STREAMNAME variable within the Connect parameters.
Specifies the name of the log stream that you want to define in the LOGR policy. The name can be made up of one or more segments separated by periods, up to the maximum length of 26 characters. The following rules apply:
- Each segment can contain up to eight numeric, alphabetic, or national ($, #, or @) characters.
- The first character of each segment must be an alphabetic or national character.
- Each segment must be separated by periods, which you must count as characters.