Executing A Program - IBM System 360 User Manual

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

Advertisement

The LINK command also lets you specify the linkage editor options.
These options are those specified with the PARM parameter of the EXEC
statement when you are running the linkage editor directly under the
operating system rather than through TSO.
For example, if you want to
use the LET and XCAL options when the object module in AGNES.RET.OBJ is
link edited and placed in AGNES.TBD.LOAD(MOD), enter:
READY
link ret load(tbd(mod»
let xcal
Linkage editor listings (specified with the MAP, XREF, and LIST
options) are directed to a data set or to your terminal.
You indicate
your choice with the PRINT operand.
The following example shows that
the object module in BILL.PRGM.OBJ is to be link edited and placed in
BILL.PRGM,.LOAD(TEMPNAME).
The listing produced by the MAP option is to
be placed in the BILL.LIST.LINKLIST data set.
READY
link prgm map print(list)
Note that if you omit the descriptive qualifier from the print data set
name, the system assumes LINKLIST.
If you omit the user-supplied name,
the system assumes it has the same user-supplied name as the object
module.
For example if the listing is to be placed in the
BILL.PRGM.LINKLIST data set,. enter:
READY
link prgm map print
Using the same example, if you want the listing to appear on your
terminal" enter an asterisk in the PRINT operand.
READY
link prgm map print(*)
Error messages are listed at the terminal as well as on the print data
set when you specify a data set name instead of an asterisk.
If you
want the error messages to appear only on the print data set, enter the
NOTERM operand.
For example,
READY
link prg.m map print noterm
Executing a Program
You can use the CALL command to execute your program after it has been
link edited,.
You can also use CALL to execute any other program in load
module form, such as utilities and compilers.
Before you use CALL to execute your program you can use the EDIT and
ALLOCATE commands to define your data sets.
Use EDIT to create your
input data sets, and ALLOCATE to allocate your input, work, and output
data sets.
You must specify the data set name and member name of the member that
contains your program in load module form.
If you want to execute a
program that resides in DEPTB.PROGS.DAILY(NUM3), enter:
READY
call 'deptb.progs.daily(num3)'
68
TSO Terminal User's Guide
(Release 21)

Advertisement

Table of Contents
loading

Table of Contents