EasyManua.ls Logo

IBM System/360 20 - SAMPLE PROGRAMS; SAMPLE PROGRAM 1

IBM System/360 20
178 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
In
addition
to
the
Basic
Assembler
sample
program,
which
is
described
in
the
SRL
pub-
lication
IB~!emLJ60_~Qde1_~~~_~~Q_g~g=
~ram~ing
SUEEQ~!~_~asi£_!sse~Rl~£_ll~E~
I
~~rsiQn~L_QEg~~!ing~~~£edyre~,
Form
C24-
9011,
six
sample
programs
for
the
Tape
Pro-
gramming
System
are
provided
in
card-image
format
on
the
tape
supplied
by
IBM.
The
sample
decks
are
obtained
by
means
of
the
Distribution-Package
Retrieval
Program.
In
the
following
des
cr
ipt
ions,
in
cases
where
a
sample
program
consists
of
several
parts,
it
is
assumed
that
the
sample
pro-
gram
is
executed
in
one
continuous
run.
S A
.tlgb~_g~Q@.glH1_1
The
first
sample
program
is
designed
to
demonstrate:
the
use
of
the
Assembler
program
41
the
use
of
the
macro
library,
the
execution
of
object
programs
under
control
of
the
card-resident
system,
the
execution
of
object
programs
stored
on
tape
in
card-image
format
undE?r
con-
trol
of
the
tape-resident
system
(execute-loader
function)
,
the
use
of
the
Core-Image
Maintenance
program,
the
execution
of
obj
ect
programs
con-
tained
in
the
program
li1::rary
of
the
tape-residen
t
system.
DESCRIPTION
OF
THE
SAMPLE
DECK
The
sample-program
cards
are
identified
by
the
letter
0
in
column
73.
The
deck
consists
of
nine
card
groups,
which
are
identified
by
different
digits
in
card
columns
74-75
(see
list
below)
1"0"""
SAMPLE
f,
CARl>
.COUP
o,iI
I
DAlE
NOC.UMM(II
STATEMENT
-
o,.,.liOfl
~~
.
I
"
'.
'10
,.
"
1''1
Is
Iv
Sill
It:
I_c
Ilt
1711
12
I ..
'TI.2
rI/
~S
ls&~
Isly
$~
ItIR
I·IK
'It
II~
~~
I.
~II
l~~
,,,
~~~
I ..
LE~
II"
Irl~
IT
I,:
.1.
~_
2
f11
SI'1
181
IplT
I.
Ix
I
It
[j18
,
IAI"
I.
1111
1001.
Slv
~o
pIT
IK'
~III
-.
1.1,
1111
1 ...
1-
IX'
7'
le
IT
12
I'
I-'~
""
IV
~Ifl
111
Ix
I
171
t
••
IT
12
1111
IE
III
If
It!
-
!
..
Card
column
76
contains
a 2
(identifi-
cation
for
TPS)
Card
columns
77-79
contain
consecutive
card
numbers,
which
begin
with
001
for
each
card
group.
Sample
deck
1
consists
of
the
following
card
groups:
Columns
I~
__
I2
~g§£~!£!!Qn
9 0
9
9
2
9 3
9
4
9
5
9
6
9
7
9 8
Job
control
cards
for
execution
of
the
Assembler
program
with
output
in
punched
cards.
Source
program
in
Assembler
language.
Job
control
cards
for
execution
of
the
assembled
sample
program
~n
cards}
under
control
of
the
card-
resident
system.
Job
control
cards
for
execution
of
the
Assembler
program
with
output
on
tape.
Job
control
cards
for
execution
of
the
assembled
sample
program
(on
tape
in
card-image
forma~
under
control
of
the
tape-resident
system.
Job
control
cards
and
program
con-
trol
cards
for
execution
of
the
CMAINT
program.
Job
control
cards
for
execution
of
the
assembled
sample
Frogram
(con-
tained
in
the
program
library)
under
control
of
the
tape-resident
system.
Job
control
cards
for
execution
of
the
Initialize-Tape
program.
Program
control
cards
for
the
Initialize-Tape
program.
Figures
17
through
24
show
the
card
groups
of
Sample
Program
1.
--
I GPAPHIC
T I
r
'AG(
I
or
1
PUNCHING
--
INSTRUCTIONS
1_
PUtKH
I I
r
I
C;AIIO
HlClRO
NUMIU
....
tjfit
..
;~
..
c_
-.
I.I'~~~
~Hlls
IcIAI.;
IN
~M~_(~L
"
13
-
D
10
~~'llC
_
~'_It
Ic~~~
I~I_I.I_I~I-
~
...
Ip~lIHT
~018
~OINTIIOL
e~~I~~
D9
laic
It
II:
IJjI.
IV
I
..
I
TH
-f-Q
UT
t~lT
ll~
~
...
,
~i.
~~
~8
I-
II
1.1
I!,
J
111111
IW
~-f--
~S
lit
~~
1111l
6
~J
,Ie
&1:
Iro
IN
III
IA
Ill~
!Fe
£~
~~
~z
~I'
g
..
111_
AICIt
IJ:IA
lvlli
IFlolR
1"le
~IJc
111~
PE
t
lei!!
",
"II
l!-
TI«
~tl_
IDR
1'1
IE
11=
0
Il
MIG
lick
T
lA'
~f_l~
loIS
I'
~~
lAc
Is
Iii
ltd.
LIE
IR
.11
kl'
la~
I~
J
I.
lilt
Figure
17.
Job
Control
Statements
for
Assembly
with
Output
in
Cards
Sample
Programs
71

Related product manuals