Terminating the Operation Log Acknowledge job
To end the Operation Log Acknowledge job, type the following command in a terminal.
Program interface
CALL Library name/UTLKILLOPL [PARM(['LIB=Library name'] ['IMMED'] ['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.
- IMMED
-
Immediate end mode (Optional)
When omitted, the job ends in ordinary mode.
- Ordinary mode :
-
This mode ends the job after outputting all the spooled records in an output queue of the Operation Log. In this mode, it may take a while before end of the job actually takes effect.
- Immediate end mode :
-
This mode ends the job immediately, and the job discards all the spooled records in an output queue of the Operation Log. The Operation Log may not be output to a file in some cases, even when the processing has been completed before the execution of the end command.
- G
-
Control of error messages (Optional)
When omitted, the error messages are suppressed.
- OUTPUT=filename
-
Destination of error messages (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
-
Receiving error codes and CL variable names (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.
To output all log records of the Operation Logs, end the Send Acknowledge job, the Receive Acknowledge job, and the Observe job first, then end the Operation Log Acknowledge job.
End processing of the Operation Log Acknowledge 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
UTLKILLOPL IMMED() LIBRARY( ) MSG( ) FILE( ) MBR( )
Explanation of parameters
- IMMED
-
Immediate end mode (Optional)
When omitted, the job ends in ordinary mode.
- *NO :
-
Ordinary mode
This mode ends the job after outputting all the spooled records in an output queue of the Operation Log. In this mode, it may take a while before end of the job actually takes effect.
- *YES :
-
Immediate end mode
This mode ends the job immediately, and the job discards all the spooled records in an output queue of the Operation Log. The Operation Log may not be output to a file in some cases, even when the processing has been completed before the execution of the end command.
- 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.
To output all log records of the Operation Logs, end the Send Acknowledge job, the Receive Acknowledge job, and the Observe job first, then end the Operation Log Acknowledge job.
End processing of the Operation Log Acknowledge 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.