Pathway/iTS SCUP Reference Manual

SCUP Commands
HP NonStop Pathway/iTS SCUP Reference Manual520269-002
2-29
FILE Command
Subcommands and their associated strings are entered beneath the displayed
command line and terminated with a carriage return. Replacement, insertion, and
deletion begins with the character positioned directly above the subcommand (R, I, D).
Subcommand R replaces characters in the command line with replacement-string on a
one-for-one basis. Subcommand I inserts characters in the command line with
insertion-string on a one-for-one basis. Subcommand D deletes the character above
the letter D in the command line; the subcommand can be repeated for each character
that is to be deleted. If a string but no subcommand is entered, the default
subcommand, R, is used.
After the line is edited, FC again displays the command line and prompts for another
subcommand. FC terminates when it receives only a carriage return; the corrected
command line is then executed.
The FC command can be terminated without execution by pressing BREAK; pressing
CTRL/Y; or entering a double slash (//) in columns 1 and 2, immediately followed by a
carriage return.
The following are examples of FC subcommand positioning:
>the subbsysten
> d <--- deletes the extra letter b
> iscup <--- inserts the word scup
> rm <--- replaces the letter n with m
FC subcommands can be separated by the double slash.
FILE Command
The FILE command specifies the default SCREEN COBOL object file name to be used
in SCUP commands. The commands that allow an optional object file name (ALTER,
COMPRESS, CONVERT, COPY, DELETE, and INFO) use the file name specified in
this command as the default name.
file-name
is a SCREEN COBOL object file name.
The file-name expansion uses the default settings specified by the CMDSYS and
CMDVOL commands. The specification of a default object file remains in effect until
the program terminates or another FILE command is executed. The new file name is
displayed after the command is executed.
The expansion of the object file name follows the file-name expansion specifications.
The initial setting for the default object file name uses the default settings from the
command interpreter and the default name POBJ:
\system.$volume.subvol.POBJ
FILE file-name