Download Print this page

IBM 3741 Operator's Manual page 54

Data station
Hide thumbs Also See for 3741:

Advertisement

HOW TO MAKE A PROGRAM
Here is what a typical protJram looks like.
A ............... N----------A .... D---- R-----S------E
The letters, except for the E, begin a data field and, hence, are
called
Begin Field codes.
1.
Start each field with a Begin Field code.
2.
3.
After the Begin Field code, put the number of Continue
Field codes, - (dash) for numeric shifts and . (period) for
alphabetic shifts, you need to complete the length of the
field.
You can allows numeric characters in an alphabetic field or
allow alphabetic characters in a numeric field by intermix-
ing Continue Field codes.
Put an E in one position past the end of your program
(unless the program uses all positions specified in the
record length field of the data set label). For a 50
character program you'd put the E in position 51.
The E, in effect tells the machine where the end of your
program is. That is, when the machine reads the E in
your program, it bypasses the remaining positions of
your record and ends at cursor position 000. However, if
the AUTO REC ADV switch is on, the 3741 advances to
the next record.
A Program Code Chart containing the Begin Field and the
Continue Field codes is provided later in this section.
44
The following shows a sample program for a 60-position record
as displayed after keying. Note that the program supplies a
code for each of the 60 positions.
0
A A
00008
N---------A ...
I I I I I • •
R---------D.
I I I I I I I I
S---------V ......... E
egin Field Code
_j
t
t-
ontinue Field Code
End Programming Code

Advertisement

loading