Search Rocket site

Sample JCL

Collection server sample JCL

C\Prof program TXCMAIN provides all trace collection and utility services. As discussed in the Getting started section, you can use the C\Prof ISPF dialog to generate JCL and configuration files to perform various functions. The following example JCL demonstrates how to run TXCMAIN.

//CPROFCOL JOB ,
/*JOBPARM SYSAFF=SYS1
//*
//S1 EXEC PGM=TXCMAIN,REGION=200M
//STEPLIB DD DISP=SHR,DSN=TXC.V1R2M0.STXCAUTH
//SYSPRINT DD SYSOUT=*
//SYSIN DD DISP=SHR,DSN=CPROF.CONFIG(CONFIG1)

JCL for TXCMAIN with configuration file supplied on SYSIN DD statement

The JCL contains the following elements:

  • JOBPARM SYSAFF=SYS1

    Run TXCMAIN on LPAR SYS1.

  • S1

    The collector program TXCMAIN. It is recommended to run the program with a region value of 200 MB (REGION=200M).

  • STEPLIB

    C\Prof library STXCAUTH. STXCAUTH must be APF authorized. For further information, see Before you begin.

  • SYSPRINT

    The message log. C\Prof messages that are written to SYSPRINT are described in Messages and Codes.

  • SYSIN

    Configuration options for TXCMAIN. These may be supplied as inline control statements on the SYSIN DD statement or inside a C\Prof configuration file as shown above.