Creating trace log data sets
This section describes the steps to manually create a trace log.
If you want to learn how to allocate a trace log dynamically, see 'Trace facility views' in the MainView for CICS Online Services Reference Manual. It explains how to create log data sets by completing the fields of an online trace facility menu.
Sample member JXT011 located in the BBSAMP data set contains JCL to create a trace log data set. Th e IDCAMS DEFINE command specifies the characteristics of the data set that is used as a trace log.
The following figure shows an example of JXT011. You must edit your copy of JXT011 before submitting the batch job to create the trace log. Make the appropriate changes indicated by the comments in this example.
Example of member JXT011 that creates trace log data sets
//*------------------------------------------------------------*
//* SAMPLE JOB TO DEFINE A TRACE LOG DATA SET *
//* *
//*------------------------------------------------------------*
//JXT011 JOB
//* TO CUSTOMIZE:
//* (1) COMPLETE JOB CARD INFORMATION
//* (2) DEFINE NAME OF TRACE LOG DESIRED (MUST END WITH .V01)
//* (3) PROVIDE PROPER VOL VALUE FOR THE DEFINE STATEMENT
//*
//*------------------------------------------------------------*
//* STEP 1 - DEFINE TRACE LOG DATA SET *
//* *
//*------------------------------------------------------------*
//STEP1 EXEC PGM=IDCAMS,REGION=4M
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DEFINE CL(NAME($PREFIX.$USID.TLDS.V01) -
VOL(VOLSER) -
TRK(10 0) -
SHR(2 3) -
LINEAR)
//
Comments
Log in or register to comment.