Compress SPOOL output
| Component: | SPOOL | 
| Functional area: | Controlling spoolout job | 
| Domain: | SPOOL-PRINT-ADMINISTRATION | 
| Privileges: | STD-PROCESSING  | 
Function
This command compresses printouts by reducing line feeds.
The MODIFY-SPOOLOUT-OPTIONS command affects the way in which feed control characters in files edited for printing are handled during printout. You can define the degree of compression. Entries made here affect all subsequent PRINT-DOCUMENT commands in which interpretation of the feed control character has been explicitly requested (LINE-SPACING operand). 
The entries lose their effect at the end of the job or when the MODIFY-SPOOLOUT-OPTIONS command is issued with corresponding arguments.
Format
| MODIFY-SPOOLOUT-OPTIONS | 
| COMPRESS-OUTPUT = *UNCHANGED / *NO / *MINIMUM / *MAXIMUM | 
Operands
COMPRESS-OUTPUT =
Degree of compression.
COMPRESS-OUTPUT = *UNCHANGED 
The existing entry is valid (= *NO at the start of a job).
COMPRESS-OUTPUT = *NO
No compression, i.e. the entries in the PRINT-DOCUMENT command (LINE-SPACING operand) are not changed.
COMPRESS-OUTPUT = *MINIMUM 
Interprets the feed control characters in the edited file as follows: 
| Feed control character for | Line feed | 
|---|---|
| 1 line | 1 line | 
| 2 lines | 1 line | 
| 3 lines | 2 lines | 
| > 3 lines | 3 lines | 
COMPRESS-OUTPUT = *MAXIMUM 
Selects a 1-line feed (minimum space requirement) for the output of edited files.
Return codes
| (SC2) | SC1 | Maincode | Meaning | 
|---|---|---|---|
| 0 | CMD0001 | No error | |
| 1 | CMD0202 | Syntax error |