3 6 Tracing

LANSA Integrator

3.6 Tracing

JSM tracing is very comprehensive. When you first start to develop your applications using JSM, it will be very helpful if you know how to use the tracing facilities.

All tracing output is stored in the trace sub-directory below the JSM instance directory.

Standard output and Standard error:

IBM i

If the shipped STRJSM program is used, then the standard output and standard error will be printed to the JSM output queue located in the JSM library.

 

Windows and Linux

If the shipped STRJSM program is used, then the standard output and standard error will be saved to the JSM instance as STDOUT.TXT and STDERR.TXT.

 

A sub-directory named after the platform's job/process number is created to receive the trace file for the current JSM instance when tracing is requested.

The CLRJSM TRACEDIR(*YES) command allows the trace files and subdirectories to be removed. This command should be run when the instance is not running.

3.6.1 Manager Tracing

3.6.2 Client Command Tracing

3.6.3 Service Program Tracing

3.6.4 Service Program Tracing from the Client

3.6.5 How Do I Start Tracing?

3.6.6 Where Do I Find Trace Files?

3.6.7 How Do I Clear Trace Files?