hit counter script

IBM System 360 User Manual page 73

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

Advertisement

The loader can process and execute a compiled program (object module)
or a link edited program (load module).
Optionally" it can combine
object modules and/or load modules and execute them.
(If you want to
load and execute a single load module, the CALL command is more
efficient,. )
Before you use the LOADGO command you can use the EDIT and ALLOCATE
commands to create and allocate any data sets required to execute your
program.
In your LOADGO command you must list the name or names of the object
and load modules you want to load.
For example, if you want to load the
object module in JONES.PROG3.0BJ, enter:
READY
loadgo prog3
If you want to load the object modules in JONES.PROG3.0BJ,
JONES. COB. OBJ, and the load module in JONES.COB.LOAD(TWO>, enter:
READY
loadgo (prog3 cob.obj cob.load(two»
You can also 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 compiled program that
resides in JONES.ASMPG.OBJ, enter:
READY
loadgo asmpg 'optionl optionS'
You can have the loader search a subroutine library to resolve
external references.
The subroutine library is usually one of the
language libraries.
If so, it is specified with one of the following
operands:
Operand
COBLIB
FORTLIB
PLILIB
Subroutine Library
SYS1.COBLIB
SYS1.FORTLIB
SYS1.PL1LIB
In addition to, or instead of, a language library you can use the LIB
operand to specify the name of one or more user libraries.
The
libraries are searched in the order you specify .•
The following example shows how to load the object module in
JONES .• PRG.OBJ.
The libraries SYS1.PL1LIB, and DEPT39.LIB.SUBRT2 are to
be searched to resolve external references.
READY
loadgo prg plilib lib(' dept39 .• lib.subrt2' )
Programming at the Terminal
71

Advertisement

Table of Contents
loading

Table of Contents