IBM 3742 Reference Manual page 72

Data entry system; data station; dual data station
Table of Contents

Advertisement

Character
x
y
F
T
C
S
R
66
Meaning
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.)
Tab stop: loads the print buffer with
blanks up to but not including the next
tab stop position. The number preceding
the T format character determines the
number of tab functions that are to be
executed.
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 the
number preceding the S format character
is found in program A. Continuous ver-
tical spacing results if the number is not
found in program A. A lS 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 level.
The remaining unformatted characters of
the previous record are bypassed with no
action. The R character initiates the
the printing of the print buffer if charac-
ters were stored in it and the print
record key was used. It does not read the
next record when the print record key is
used.
Character
Q
N
Meaning
Terminates printer program: This printel
format control character must be used at
the end of every printer program. It read
the next record, terminates the formattin\
and returns the format control to positior.
001 of the selected program.
No-op: This character must be used in
the first position of a manually selected
printer format. It prevents an error con-
dition from occurring when this printer
format is manually selected.
If a control symbol is preceded by a blank or another
control symbol, a 1 is assumed to precede the control
symbol.
Figure 36 shows an example of 10 data records residing on
the 3741 disk. Figure 37 shows an example of the desired
formatted printer output, and Figure 38 shows a set of
printer format programs which accomplish this objective.
When the print data set mode is initiated, position 1 of
program level A is examined to determine the method of
printer format program selection. The % instructs the
3741 to read the next record ("sold to"), examine position
1, and branch to that program level (program level 1) for
printer format instructions. Figure 38 provides a step-by-
step description of the formatting of the first record.
CPU Format Control
With CPU format control, the operator only loads program
level A prior to initiating printing. As was shown in Figure
33 a
(+)
in position 1 of program level A instructs the
printer to accept control characters imbedded in the data
stream. Characters in positions 2 through 128 in program
level A provide the same function in either local or CPU
format control.
Printer Instruction Set:
The following printer format con-
trol characters (Figure 39) can be recognized in the data
stream:
Figure 40 shows an example of four data records residing
on the 3741 disk. These records include the necessary
data stream printer control characters such that after
loading program level A (Figure 41) the resultant printer
output is'identical to that previously shown in Figure 37.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

37403741

Table of Contents