SPI Common Extensions Manual

ZCMK Definitions
SPI Common Extensions Manual427508-001
B-2
File Names in Startup Information
procedure call. For descriptions of process options relevant to ZCMK-based
processes, see Process Options and Startup Parameters on page B-4.
Startup parameters convey additional information to a new process. You can list them
following the run options in a RUN command, declare them in PARAM statements, or
include them in the startup message sent by the creator process. For descriptions of
startup parameters relevant to ZCMK-based processes, see Process Options and
Startup Parameters on page B-4.
File assignments associate physical files with the logical files used by a process. You
can make file assignments using either a DEFINE or an ASSIGN statement. For
descriptions of relevant file assignments for ZCMK-based processes, see File
Assignments on page B-3.
File Names in Startup Information
If a file name in the startup information sent to a ZCMK-based process is not fully
qualified—if a node, volume, or subvolume name is missing—the process substitutes
the default node, volume, or subvolume of the user or process that issued the startup
request.
Starting a Process
You can start a process by issuing a RUN command to a command interpreter. Place
process options between slashes following the object-file name. Place startup
parameters after the closing slash of the process options, or declare them in separate
PARAM statements. Use a DEFINE or ASSIGN command to make file assignments.
For example: In this statement, IN, NAME, and OUT are process options and
DATAPAGES is a startup parameter:
RUN prog /IN abc, NAME $proc, OUT efg/ DATAPAGES 30
Specify startup parameters in either of two ways: in the RUN command itself or in
PARAM statements issued before the RUN command. In this example, the startup
parameter SWAPVOL is specified in a PARAM statement, and the startup parameter
DATAPAGES is specified in the RUN command:
PARAM swapvol $disk
RUN prog /NAME $proc/ 8, DATAPAGES 4
A startup parameter can be a single keyword or value, or can consist of a keyword
followed by a value. Startup parameters are separated by commas or semicolons
outside quoted strings, so these statements are equivalent:
RUN prog /NAME $proc/ 8, DATAPAGES 4, SWAPVOL $disk
RUN prog /NAME $proc/ 8; DATAPAGES 4; SWAPVOL $disk
Values you specify in the RUN command override values specified in PARAM
statements. Values specified in PARAM statements override default values. If a startup
parameter, process option, or PARAM appears more than once, the new process uses
the last value listed.