Natural for Mainframes Version 8.2.5 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.

Note:
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 FORMAT  

DISPLAY
WRITE

Parameter may be specified at statement level and/or at element level.
Applicable command none  

Notes:

  1. 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.
  2. See also Parameters to Influence the Output of Fields in the Programming Guide.

Example:

DISPLAY (ES=ON) NAME CITY

Top of page