Before you run your program under TSO, you must have access to
the runtime library CEE.SCEERUN. To ensure that you have access to
the runtime library, do one of the following:
- If you are running under ISPF in the foreground, concatenate the
libraries to ISPLLIB.
- Have your system programmer add the libraries to the LPALST or
LPA.
- Have your system programmer add the libraries to the LNKLST.
- Have your system programmer change the LOGON PROC so the libraries
are added to the STEPLIB for the TSO session.
- If your application was compiled using the XPLINK compiler option,
you must have the Language Environment® Library SCEERUN2 available before you try
to run your application under TSO.
The TSO
CALL command runs a load module under TSO.
If
data-set-name is the partitioned data set member that
holds the load module, the command to load and run a specified load
module is:
CALL 'data-set-name' ['parameter-string'];
For
example, if the load module is stored in partitioned data set member
SAMPLE.CPGM.LOAD(TRICKS),
and the default runtime options are in effect, run your program as
follows:
CALL 'SAMPLE.CPGM.LOAD(TRICKS)'
If you specify the unqualified name of the data set, the system
assumes the descriptive qualifier LOAD. If you do not specify a member
name, the system assumes the name TEMPNAME.
You do not need to use the CALL command if the STEPLIB ddname includes
the data set that contains your program. For example, you could call
a program
PROG1 with two required parameters
PARM1 and
PARM2 from
the command line:
PROG1 PARM1 PARM2
See the appropriate
document listed in
z/OS Information Roadmap for more information
on STEPLIB.