The PRINT-LOGGING-FILE statement defines the output layout of a logging file and initiates printing of the file.
Format
PRINT-LOGGING-FILE | ||||||||||||||||||||||||||||||||||||
|
Operands
LOGGING-FILE = <filename 1..54 without-gen-vers>
Specifies the name of the logging file to be processed.
OUTPUT-FILE = *STD / <filename 1..54 without-gen-vers>
Specifies the name of the output file to be generated.
*STD means output to SYSLST.
LAYOUT = *STD / *TOMDOC / *OPTIONS(...)
Specifies the format of the output file.
LAYOUT = *STD
Sets default values for the format of the output file.
LAYOUT = *TOMDOC
The output file is to be edited using the control characters from the text editing systemTOM-DOC.
LAYOUT = *OPTIONS(...)
The layout of the output file can be defined using the following options:
LINES-PER-PAGE = <integer 1..100>
Determines the number of lines to be printed per page.
LOWER-CHARACTERS = *YES / *NO
Specifies whether lowercase letters are to be printed (*YES) or whether they are to be converted to uppercase before printing (*NO).
NIL-CHARACTERS = <x-string 1..2> / <c-string 1..1>
Defines the representation of the NIL character.
TRASH-CHARACTERS = <x-string 1..2> / <c-string 1..1>
Defines the representation of the smudge character.
PRINT = *NO / *YES / *ERASE
Specifies whether the generated output file is to be printed and whether it should subsequently be deleted.
PRINT = *NO
The generated output file is not printed. This is the default value.
PRINT = *YES
The generated output file is printed but not subsequently deleted.
PRINT = *ERASE
The generated output file is printed and is subsequently deleted.
Examples
PRINT-LOGGING-FILE LOGGING-FILE=LOG.HUGO,OUTPUT-FILE=LOG.ABC.EDITED,PRINT=*ERASE