IBM 3741 Data Station Reference Manual page 54

Table of Contents

Advertisement

The third record requires program number 3.
Record 3
( DATA .......
191~ATA
..................
8°1
A three is keyed into this posi-
tion (20) to indicate that
program number 3 was used
to control the format of this
data record.
This process continues until all data records have been
keyed. Position 20 in the data record identifies the
program that was used to control the format of each
record.
After all data has been keyed, assume that an offline field
totals operation will be performed. Since each record in
the data set has a position 20 that identifies the program
under which data was keyed for the record, this informa-
tion can be used in writing control statements required to
process the job in offline field totals mode.
48
The control statement would be:
<1020W1 ; 2020W2 ; 3020W3.
'--'v-"~~
~~
t
This control state-
This control state-
This control state-
ment will select
ment will select
ment will select
program number
program number
program number
1 if position 20
2 if position 20
3 if position 20
in the data record
in the data record
in the data record
has a one (posi-
has a two (posi-
has a three (posi-
tion 20 will have
tion 20 will have
tion 20 will have
a one if program
a two if program
a three if program
number 1 was
number 2 was
number 3 was
used to control
used to control
used to control
the format of the
the format of the
the format of the
record in enter
record in enter
record in enter
mode).
mode).
mode).
If the preceding technique can be implemented, it will
assist you in using offline field totals mode.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents