3 6 4 Service Program Tracing from the Client

LANSA Integrator

3.6.4 Service Program Tracing from the Client

To enable tracing from the client program use the TRACE keyword on the SERVICE_LOAD command.

The possible values for the TRACE keyword are:

  • *NO
  • *YES
  • *ERROR

The trace option *ERROR will turn on tracing and if the service does not return an ERROR, FATAL or SOAPFAULT status to the client, the trace files are deleted on the JSM CLOSE call.

The optional TRACE_NAME keyword allows the client to append a user-defined name to the end of the client trace sub-directory.

Special keyword values are also available for the TRACE_NAME keyword.

  • *SERVICE
  • *PROCESS
  • *FUNCTION
  • *JOBNAME
  • *JOBUSER
  • *JOBNUMBER

During the service loading, tracing can be enabled by using this command:

 

SERVICE_LOAD SERVICE(servicename) TRACE(option) TRACE_NAME(name)