IBM 3741 Data Station Reference Manual page 106

Table of Contents

Advertisement

Control
Character
xA
xB
xZ
xD
xX
xY
xF
Meaning
Print data field: Loads the print buffer
from the record with the number of char-
acters specified by the number preceding
the A format characters.
Print data field with suppression of lead-
ing zeros: Loads the print buffer from
the record with the number of characters
specified by the number preceding the B
format character, but loads blanks instead
of leading zeros. Blanks in the input
buffer are treated as significant digits, not
as zeros, and therefore will stop zero sup-
pression.
Print data field with substitution of
asterisks for leading zeros: Loads the
print buffer from the record with the
number of characters specified by the
number preceding the Z format character,
but loads asterisks
(*)
instead of leading
zeros.
Print signed data fields: Loads the print
buffer from the record with the number
of characters specified by the number
preceding the D format character, and
follows that field with a blank if the
last character from the record does not
have a D zone. If the last character from
the record has a
D
zone, loads the last
character with an F zone and follows the
field with a minus sign.
Prints blanks: Loads the print buffer
with the number of blanks specified by
the number preceding the
X
format char-
acter.
Skips characters from the record: Skips
over, with no action, the number of char-
acters in the record specified by the num-
ber preceding the Y format character.
Reverse skip characters from the record:
Skips over, in reverse direction (towards
position 1) with no action, the number
of characters in the record specified by
the number preceding the F format char-
acter. (Note: It is not permissible to
skip beyond record boundaries.)
Control
Character
xT
xC
xS
R
Q
Meaning
Tab: Loads the print buffer with blanks
up to but not including the tab stop posi-
tion indicated in program buffer A. The
number preceding the T control character
determines the number of tabs that are
to be executed. For example, if a 2 is in
front of the T, the printer will execute a
tab function from the current position
to the position indicated by the second
tab stop character encountered in pro-
gram buffer A.
Carriage return/line feed: Prints the con-
tents of the print buffer and then per-
forms the number of carriage return/line
feeds as specified by the number preced-
ing the C format character. This charac-
ter must be used at the end of every print
line.
Vertical skip: Vertically spaces until it
reaches the skip stop in program buffer
A that matches the number preceding
the S format character in the current pro-
gram. Continuous vertical spacing results
if the skip stop is not found in program A.
A 1 S will also stop in position 001 of
program A.
Read next record: The R format charac-
ter is used when more than one record is
to be formatted with one program buffer.
The remaining unformatted characters of
the previous record are bypassed with no
action. If the R character is used when a %
sign is in program buffer A, the first
character of the new record is compared
with the current program number. If
they are the same, format control con-
tinues with the current program. If
they are different, format control is trans-
ferred to 001 of the program buffer indi-
cated by the first character of the new
record.
Terminates printer program: This printer
format control character must be used at
the end of every printer program. It reads
the next record, terminates the formatting
and returns the format control to position
001 of the current program level.
Note: The x represents a variable value that is the mUltiple of the control character to be executed. If a control character is
preceded by a blank, 0, or another control character, the multiple is assumed to be 1.
Figure 52 (Part 1 of 2). Printer Format Control Characters
100

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents