Version 4.2.6 for Mainframes
 —  Parameter Reference  —

ES - Empty Line Suppression

With this session parameter, you can suppress the printing of empty lines generated by a DISPLAY or WRITE statement.

Possible settings ON A line resulting from a DISPLAY or WRITE statement which contains all blank values will not be printed.

This setting is particularly useful when displaying arrays (for example, multiple-value fields or fields contained within a periodic group) to avoid printing a large number of empty lines.

OFF Empty line suppression is disabled.
Default setting OFF  
Specification within session yes  
Applicable statements:

DISPLAY
FORMAT
WRITE

 
Applicable command: none  

To achieve empty suppression for numeric values, the field must be specified with ZP=OFF and ES=ON in order to have null values printed as blanks. See also the session parameters IS and ZP.

Example:

DISPLAY (ES=ON) NAME CITY

See also Parameters to Influence the Output of Fields in the Programming Guide.

Top of page