April 1, 1981
Thejdnames pur:H and CMSIIB are used for and SYSLIB data
sets.PUN:H output is nroduced when you use the option of the command. The default file definition for CMSLIB is the macro libLaLV :MSLIB MACLIB, but you must still issue the command if you want to use it.
Executing ProgramsAfteL you have assembled or compiled a source proqram you can execute
thefiles that were produced by the assembly or You may not, however, be able to execute all your as programs directly in are a of execution-time restrictions placed on your
virtual machine byVM/370. You cannot execute a program that uses: • M 'II tit ask in cr • More than one partition • Teleprocessinq • ISAM macros to read or write files
The is only a partial list, representing those restrictions with
whichyou miqht be concerned. For a complete list of restrictions, see
theggngrat i2ll EXECUTING TErT FILES files, in CMS, are relocatable, and can be executed simply by loadinq them into virtual storage with the LOAD command and using the command to beqin execution. For example, if you have assembled a proqram named CPEATE, you have a file named CREATE TEXT. You can
issue the command:
loadcreate which loads the relocatable object file into storage, and then, to
execute it, you can issue theSTART command: start In the case of a simple program, as in the above example, you can
load and beqin execution with a single command line, using theSTART option of the LOAD command:
loadCLeate (start When you issue the START command or LOAD command with the START
option, control is passed to the first entry point in your program. If
you have than one entry point and you want to begin execution at an entry point other than the first, you can specify the alternate entry
point orCSECT name on the START command:
start create2When yoa issue the LOAD command specifying the filename of a TEXT file, CMS searches all of your accessed disks for the specified file.
Ifyour proqram expects a parameter list to be passed (via register
1), you can specify the arguments on theSTART command line. If you enteL aLquments, then you must specify the entry point:
start* name1
144IBM VM/370 CMS User's Guide
The
sets.
Executing Programs
the
virtual machine by
The
which
the
issue the command:
load
execute it, you can issue the
load and beqin execution with a single command line, using the
load
option, control is passed to the first entry point in your program. If
you have
point or
start create2
If
1), you can specify the arguments on the
start
144