Version 4.2.6 for Mainframes (Update)
 —  Parameter Reference  —

SG - Sign Position

This session parameter determines whether or not a sign position is to be allocated for a numeric field.

If the EM (edit mode) parameter is specified, it overrides the SG parameter.

Possible settings ON A sign position will be allocated.
OFF No sign position will be allocated.

SG=OFF causes numeric fields with negative values to be output without a minus (-) sign.

SG=OFF does not prevent you from entering negative values in input fields.

Default setting ON
Specification within session yes Applicable Statements:

DISPLAY
FORMAT
INPUT
PRINT
WRITE

Applicable Command: none

Example:

FORMAT SG=OFF

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

Top of page