SG - Sign Position

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

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

Notes:

  1. SG=OFF causes numeric fields with negative values to be output without a minus (-) sign.
  2. 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

Notes:

  1. If the EM (edit mode) parameter is specified, it overrides the SG parameter.
  2. See also Parameters to Influence the Output of Fields in the Programming Guide.

Example:

FORMAT SG=OFF