5.5.2 SERVICE_GET

Get service and tracing information.

Syntax:

Command

Keyword

Value

Developer notes

SERVICE_GET

PROPERTY

value

Conditional. Get the property value from the service properties file associated with the currently loaded service.

The service property keyword value is returned in the JSM message field.

If the keyword does not exist, then a status of NOT_EXIST is returned.

TRACE

*PATH

Conditional. Get trace folder path.
The trace folder path is returned in the JSM message field.
If tracing is not enabled or the trace folder does not exist, then a status of NOPATH is returned.

*SERVICE

Conditional. Read service trace file.
The contents of the SERVICE.TXT trace file are returned as entries in a single field working list.
If tracing is not enabled or the trace file does not exist, then an empty working list is returned.

*TRANSPORT

Conditional. Read transport trace file.
The contents of the TRANSPORT.TXT trace file are returned as entries in a single field working list.
If tracing is not enabled or the trace file does not exist, then an empty working list is returned.

INSTANCE

*PATH

Conditional. Get instance folder path.
The instance folder path is returned in the JSM message field.
If the instance folder does not exist, then a status of NOPATH is returned.

 

Example

SERVICE_GET TRACE(*PATH)

 

SERVICE_GET INSTANCE(*PATH)