Cobol trace

To switch cobol trace on for ALL cobols:
PeopleTools > Process Scheduler > Process Types
Process Type = Cobol SQL
Select appropriate Operating System & Database.

The parameter list might have the following before the trace is switched on:
%%DBTYPE%%/%%DBNAME%%/%%OPRID%%/%%OPRPSWD%%/%%RUNCNTLID%%/%%INSTANCE%%//%%DBFLAG%%

A trace code "255" should be added between the // after the INSTANCE:
%%DBTYPE%%/%%DBNAME%%/%%OPRID%%/%%OPRPSWD%%/%%RUNCNTLID%%/%%INSTANCE%%/255/%%DBFLAG%%

Only Process Scheduler (batch) cobols will return a trace file.  The trace file could be found in the appserv\prcs\***ENV***\log_output\***Cobol_name*** directory.

Comments