IBM System 360 User Manual page 71

Operating system: time sharing option terminal
Hide thumbs Also See for System 360:
Table of Contents

Advertisement

If you omit the descriptive qualifier and member name" the system
assumes LOAD and TEMPNAME .• respectively.
For
exam~le.
if your LOGON
identifier is "JONES" and if your program resides
1n
JONES.LIB.LOAD(MEM2)., enter:
READY
call lib(mem2)
If your program resides in JONES.LIB.LOAD(TEMPNAME)" enter:
READY
call lib
You can pass parameters to your program if you wrote it in assembler
or PL/I(F).
These are the parameters you would specify with the PARM
parameter of the EXEC statement if you were running your program
directly under the operating system.
For example, if you want to pass
the parameters OPTIONl and OPTIONS to a program that resides in
JONES.ASMPG.LOAD(MEM3). enter:
READY
call asmpg(mem3) 'optionl optionS'
Figure 11 shows how the COBOL program created and compiled in Figure
10 can be link edited and executed.
In Figure 10, the compiled program
(object module) was placed in PROG2.0BJ.
After link editing, the load
module is placed in PROG2.LOAD(TEMPNAME).
Your program requires three
data sets for execution.
The input data set, INPUT. DATA, is created
wi th the EDIT command..
ALLOCATE commands are used to allocate the input
data set, a work data set, and an output data set.
CALL is used to
execute your program.
The PROG2.COBOL, PROG2.0BJ, PROG2.LOAD, and
INPUT. DATA data set are deleted.
(The other data sets, allocated in
Figure
10.
are automatically deleted because they were not given a data
set name when allocated.)
It is assumed you are using your user
identification as part of the data set names.
Programming at the Terminal
69

Advertisement

Table of Contents
loading

Table of Contents