Running DSN1SMFP

Run the DSN1SMFP utility to produce reports of Db2 trace data.

About this task

Begin program-specific programming interface information.Sample job DSNTEJCC provides the basic JCL framework that is needed to run DSN1SMFP. See the DSNTEJCC prolog for directions on how to customize it for use at your site.

Procedure

To run the DSN1SMFP utility:

Use the following EXEC statement:
//stepname EXEC PGM=DSN1SMFP,PARM='DECP(decp-name)'

Include PARM='DECP(decp-name)' if you want DSN1SMFP to obtain the EBCDIC CCSID that is used for conversion of Unicode trace data to EBCDIC from the application defaults load module with name decp-name. If you do not specify PARM='DECP(decp-name)', DSN1SMFP uses the default application defaults module.

Sample DSN1SMFP control statement

The following statements specify that DSN1SMFP is to extract, format, and print the SMF records that are specified in the SMFIN DD statement.
//DSN1SMFP EXEC PGM=DSN1SMFP,COND=(4,LT)
//STEPLIB   DD DISP=SHR,DSN=prefix.SDSNEXIT <- req'd for local DSNHDECP
//          DD DISP=SHR,DSN=prefix.SDSNLOAD
//SMFIN     DD DISP=SHR,DSN=SMF records with DB2 trace data
//SYSPRINT  DD SYSOUT=*                     <- messages and EOJ summary
//IFCID003  DD ...
//IFCID004  DD ...
//IFCID005  DD ...
//IFCID023  DD ...
//IFCID024  DD ...
//IFCID025  DD ...
//IFCID083  DD ...
//IFCID106  DD ...
//IFCID140  DD ...
//IFCID141  DD ...
//IFCID142  DD ...
//IFCID143  DD ...
//IFCID144  DD ...
//IFCID145  DD ...
//IFCID269  DD ...
//IFCID270  DD ...
//IFCID350  DD ...
//IFCID361  DD ...
//IFCID362  DD ...
End program-specific programming interface information.