START START Use thg START command to begin execution of CKS r OSr or DOS programs
that were previously loaded or fetched. The format of the START command
is: r I 1 STARr I , , '-- entry
*
args •.. NO r , I entry [args ••• ] I I * I I (option[)] I L .J Q£ti2!l1 NO 1 I 1 I , , it
passes control to the control section name or entry point
name at execution time. The operandr entrYr may be a
filename only if the filename is identical to a control
section name or an entry point name.
passes control to the default entry
discussion of the LOAD command for a
default entry point selection.
point. See discussion of
the
the
are arguments to be passed to the started program. If user
arguments are specifiedr the entry or * operands must be
specified; otherwiser the first argument is taken as the
entry point. Arguments are passed to the program via
general register 1. The entry operand and any arguments
become a string of doublewordsr one argument per doublewordr
and the address of the list is placed in general register 1.
suppresses execution of the program. Linkage editor and
loader functions are performed and the program is in storage
ready to executer but control is not given to the program.
1. Any undefined names or references specified in the files loaded
into storage are defined as zero. Thus r if there is a call or
branch to a subroutine from a main program, and if the subroutine
has never been loaded, the call or branch transfers control to
location zero of the virtual machine at execution time.
2. Do not use the START command for programs that are generated via
the GENKOD command with the NOKAP option. The START command does
not execute properly for such programs.
3. When arguments are passed on the START command r the requirements of
both CKS and the language of the application program must be met.
For exampler COBOL programs require arguments to be separated by
commas:
start * A,B,C See the appropriate language guide for details on parameter
requirements. Section 2. CKS Commands 175
START 4. It is recommended that the START command be issued immediately
following the LOAD and INCLUDE commands. If the LOAD and INCLUDE were issued in an EXEC procedure, issue the START command from
within the EXEC as well. DftSLI0740I EXECUTION BEGINS ••• is displayed when the designated entry point is validated.
This message is suppressed if CMS/DOS is active and the option
is specified in the FETCH command. DMSLI0021E ENTRY POINT 'name' NOT FOUND RC=40 DMSLI0055E NO ENTRY POINT DEFINED RC=40
176 VM/370 CMS Command and Macro Reference
Previous Page Next Page