Defining the Sequential Logging Function
To use the sequential logging function, use the following task
statements in the CNMSTUSR or CxxSTGEN member, and modify them as
needed. For information about changing CNMSTYLE statements, see IBM Z® NetView Installation:
Getting Started.
*TASK.SQLOGTSK.MOD=DSIZDST
TASK.SQLOGTSK.MEM=SQLOGMEM
TASK.SQLOGTSK.PRI=2
TASK.SQLOGTSK.INIT=N SQLOGMEM is the name of the member
in DSIPARM that specifies the initialization parameters for the sequential
logging task SQLOGTSK. The following definitions are the initialization
definitions:
- DSTINIT FUNCT=OTHER
- Include this statement, and code FUNCT=OTHER.
- DSTINIT DSRBO=1
- The system default is 3, but, for this task, use only 1.
- DSTINIT PBSDN=SQLOGP
- This is the primary log DDNAME and must be the same name specified on the DD statement in the CNMPROC (CNMSJ009) member or defined by the ALLOCATE command.
- DSTINIT SBSDN=SQLOGS
- This is the secondary DDNAME and must be the same name specified on the DD statement in CNMPROC (CNMSJ009) or defined by the ALLOCATE command.
- DSTINIT XITBN=xxxxx
- This is the data set initialization routine.
- DSTINIT XITBO=xxxxx
- This is the sequential log output exit routine.
- LOGINIT AUTOFLIP=YES
- This permits the NetView system to switch from a secondary data set that is out of space to the primary data set. The NetView system always switches from the primary to the secondary if the out-of-space condition occurs on the primary data set.
- LOGINIT RESUME=NO
- This tells the NetView system
not to resume processing of the sequential log data sets at task startup.
If you code RESUME=YES, the NetView program
determines which of the two data sets (PBSDN or SBSDN) was last used
for sequential logging. Later logging of data is appended to that
data set. After the initial RESUME, any switching of data sets, for
a manual switch or automatic switch (AUTOFLIP), begins writing records
at the top of the output data set. The previous data is erased.
Note: Code RESUME=NO for the first use of the log data set. This causes the NetView program to initiate the data set.
DSIPARM member CNMCMENT contains the following CMDDEF statements
for the sequential logging function:
CMDDEF.DSIBSWCP.MOD=DSIBSWCP
CMDDEF.DSIBSWCP.TYPE=D
CMDDEF.DSIBSWCP.SEC=BY
CMDDEF.DSIZBSQW.MOD=DSIZBSQW
CMDDEF.DSIZBSQW.TYPE=RD
CMDDEF.DSIZBSQW.PARSE=N
CMDDEF.DSIZBSQW.SEC=BY | If you want information about... | Refer to... |
|---|---|
| The DSTINIT statement | IBM Z NetView Administration Reference |
| The NetView installation exits | IBM Z NetView Programming: Assembler |