Conditions; Location; Processing Order - Tandem ENFORM 058057 Reference Manual

Data management library
Table of Contents

Advertisement

Clauses
AS Clause
5–20

Conditions

The condition specifiers (negative, positive, zero, null, or overflow) indicate that a
character string prints only when the specified condition occurs. A null condition
takes precedence over negative, positive, and zero conditions. The overflow condition
test is done after the other conditions are tested. Conditions specified for
alphanumeric target-items or by-items can be positive or null only.
More than one condition specifier can exist for a decoration. Conditions are coded
without separators.

Location

The location specifier indicates where the character string prints in relation to the
value of the target-item or by-item. The uses of the location specifiers are as follows:
The A location specifier indicates the character string is to be printed starting in
the absolute position n.
The F specifier indicates the character string is to occupy the position or positions
immediately to the left (for right-justified values) of the leftmost data character. If
the value is left-justified, the F specifier indicates the character string occupies the
position or positions immediately to the right of the rightmost data character.
The P location specifier indicates that prior to normal formatting, the string is to be
inserted in either the rightmost position (for right-justified values) or the leftmost
position for left-justified values. The data values are shifted an appropriate
number of positions.

Processing Order

ENFORM processes decorations in the following order:
1.
The data is tested to determine if it has a null value.
2.
The data is tested to determine if it has a positive, negative, or zero value.
3.
If the P location decoration is specified, the character string is added to the item
value.
4.
Normal formatting according to the edit descriptor (alphanumeric (A), integer (I),
or fixed point (F) is performed.
5.
Decorations for alphanumeric and fixed point edit descriptors are performed.
6.
The overflow condition is tested.
058057 Tandem Computers Incorporated

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enform

Table of Contents