Terminating the Observe job

To end the Observe job, type the following command in a terminal.

Program interface

CALL Library name/UTLKILLOBS [PARM(['LIB=Library name'] 
   ['G'] ['OUTPUT=filename'] ['EXIT' CL variable name])]

Explanation of parameters

LIB=Library name

Library name in which HULFT is installed ("HULFT" by default)

Specify this parameter as an alphanumeric character string of 10 bytes or less starting with an alphabet.

G

Control of error messages that the Observe system outputs (Optional)

When omitted, the error messages are suppressed.

OUTPUT=filename

Destination of the error messages that the Observe system outputs (Optional)

Specify this parameter in the format of Library name/File name(Member name).

When omitted, messages are not output.

The number of log records that a log file can retain is unlimited.

EXIT CL variable name

Specifies to receive the error code output by the Observe system and specifies the CL variable name to set the error code value (Optional)

The CL variable name must be immediately after the EXIT tag.

HULFT sets an error code to the CL variable only if the command ends unsuccessfully.

When omitted, an error code is not set.

= Remarks =
  • If the processing of the Request job is in progress, the processing continues even after the end of the Observe job.

  • End processing of the Observe job is executed asynchronously.

    Therefore, to check if the job has ended, use the WRKACTJOB (Work with Active Jobs) command of the OS or other methods.

Command interface

UTLKILLOBS LIBRARY( ) MSG( ) FILE( ) MBR( )

Explanation of parameters

LIBRARY

Library name in which HULFT is installed ("HULFT" by default)

Specify this parameter as an alphanumeric character string of 10 bytes or less starting with an alphabet.

MSG

Control of error messages ("*YES" by default)

*NO :

Suppress error messages.

*YES :

Show error messages.

FILE

Name of the library and the file to which error messages are output (Optional)

Specify this parameter in the format of Library name/File name.

Specify these names as an alphanumeric character string of 10 bytes or less starting with an alphabet, respectively.

When omitted, error messages are not output. The number of log records that a log file can retain is unlimited.

MBR

Member name of the file to which error messages are output ("*FILE" by default)

Specify this parameter as an alphanumeric character string of 10 bytes or less starting with an alphabet.

= Remarks =
  • If the processing of the Request job is in progress, the processing continues even after the end of the Observe job.

  • End processing of the Observe job is executed asynchronously.

    Therefore, to check if the job has ended, use the WRKACTJOB (Work with Active Jobs) command of the OS or other methods.