Use CREATE to create a command procedure that contains all PATCH
commands successfully executed after the CREATE command.
When you use CREATE to create a command procedure, PATCH
automatically inserts, as the first entry in the command
procedure, the name of the image file that will incorporate the
patches. All symbolic names are converted to absolute values,
and all command names and qualifiers are truncated to their
shorthand notation.
You can issue only one CREATE command per PATCH session. To
create another command procedure, close the input image file and
then reopen it.
To process the patches contained in the command procedure, issue
the following DCL command:
$ PATCH @file-spec
In the above command line, the file-spec represents the
specification of the command procedure containing the patches.
Format:
CREATE [file-spec]
1 – Parameters
file-spec
Represents the file specification of the command procedure. The
syntax is as follows:
device:[directory]filename.filetype;version
You can omit all or some of the fields in the command procedure
file specification. PATCH uses the default values listed below
for omitted fields.
Field Default Value
device:[directory] The process's current default device and
directory
filename The name of input image file
filetype .COM
version V04-000 greater than the highest
command procedure of the same name