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.4 Service Program Tracing from the Client