SCF Reference Manual for G-Series RVUs (G06.24+)
SCF Commands
SCF Reference Manual for G-Series RVUs—520413-004
5-32
ASSIGN Command
ASSIGN Command
The ASSIGN command adds, displays, and changes assign messages passed to a
process initiated by the RUN SCF command.
logical-unit
is the name to which a file name or file attributes are assigned. The variable
logical-unit must be one of the following:
program-unit.logical-file
logical-file
*.logical-file
Both program-unit and logical-file consist of 1 through 31 alphanumeric
characters, including hyphen (-) and circumflex (^).
Exact meanings of the asterisk (*), program-unit, and logical-file depend
on the application. In general, the following is true:
•
The asterisk (*) applies the assignment to all program units in the object
program file being run.
•
The variable program-unit is the name, as given in the source program, to
which the file-name assignment is to apply.
•
The variable logical-file is the name of the file as given in the source
program.
actual-file-name
is the name of a physical file. A partial file name is not expanded.
create-open-spec
is one or more file-creation or file-open specifications that assign values to certain
file attributes. Multiple attribute specifications are separated by commas (,). The
applicable attribute specifications for create-open-spec are the following:
extent-spec
exclusion-spec
access-spec
CODE file-code
REC record-size
BLOCK block-size
ASSIGN [ logical-unit [ , actual-file-name ]
[ , create-open-spec ]… ]