SCF Reference Manual for J-Series and H-Series RVUs

SCF Commands
SCF Reference Manual for J-Series and H-Series RVUs529649-003
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 either:
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, these rules apply:
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:
extent-spec
exclusion-spec
access-spec
CODE
file-code
REC
record-size
BLOCK
block-size
ASSIGN [
logical-unit
[ ,
actual-file-name
]
[ ,
create-open-spec
]… ]