RECFM
REPEAT
REPLACE
Type II Commands';specified explicitly or as "*" ,(the default) indicating t·hat the corresponding
identifier of the fileat the current edit level is to be used. Writing begins at
the current line and continues: for"n" lines where "n" is any positive integeOr not greater than the number of records in the current file; or through ".xxxo" J ' where" .XXx" is a previously defined "named" line; or through "END-OF-FILE" if "*" has been ·specified. If no limit is specified, only the
current line will be placed in the specified file. If the requested file already
exists, an error message will be displayed and thePUTFILE will not be per
formed, unless theREPLACE option (this may be abbreviated to "R") has
been specified If the keyword"APPEND" (this may be abbreviated to "A") is
supplied, the specifieddata will be "appended" to the requested file.
RECFM < FI V >
The RECFM command is used to set the current record format characteristic
for the file at the current edit level."F" indicates that the file is to contain
fixed-length records and"V" indicates variable-length records. The record
format is significant only when the file is written to disk (on a SAVE, FILE, orPUTFILE request or during an "AUTOSAVE"). At that time, if the record
format is"V", trailing blanks are removed from all records written to disk. If
the RECFM command is issued without any arguments, the current setting is
displayed on the command line.
REPEAT < nI .XXX I * < c > > o. The REPEAT command is used to "repeat" any changes m"ade to the current
line on succeeding lines. If no operand is specified, the change is repeated
only once. Using the operand, the change may be repeated:"n" times where "n" is any positive decimal integer not greater than the total number of items
in the file; or through".xxx" where ".xxx" is a previously defined "named" line located between the current line and "END-OF-FILEII; or through "END-OF-FILE" (indicated by "*"). Frequently, it is necessary to cause a
character position in the current line to be repeated without being changed.
This is considered a "logical overlay". If a "logical overlay" is desired,a logical overlay character ("c") may be provided with the REPEAT command.
The original contents of all positions in the current line in which this character
has been inserted, will be "overlayed" on the requested succeeding lines.
Therefore, the character selected must be unique to all changed data in the
current line. Note that the specification of the logical overlay character
pertains only to this issuance of theREPEAT command. If the command is
invalid or the overlay character is inadvertently not specified, the overlay
character is considered a modification to the data, and will remain in the
working copy of the file.
REP < nI .XXX I * >
TheREPLACE command is used to "replace" lines in the current file. It is
functionally equivalent to performing a DELETE, followed by a"DOWN 1" followed by an INSERT. Thus, REPLACE causes the lines specified (as in the
DELETE command) to be deleted (starting with the current line), after which
the current line is backed-up to the line immediately preceding the first
deleted line, and INSERT is automatically entered at this point. The argu-
32
REPEAT
REPLACE
Type II Commands
identifier of the file
the current line and continues: for
current line will be placed in the specified file. If the requested file already
exists, an error message will be displayed and the
formed, unless the
been specified If the keyword
supplied, the specified
RECFM < F
The RECFM command is used to set the current record format characteristic
for the file at the current edit level.
fixed-length records and
format is significant only when the file is written to disk (on a SAVE, FILE, or
format is
the RECFM command is issued without any arguments, the current setting is
displayed on the command line.
REPEAT < n
line on succeeding lines. If no operand is specified, the change is repeated
only once. Using the operand, the change may be repeated:
in the file; or through
character position in the current line to be repeated without being changed.
This is considered a "logical overlay". If a "logical overlay" is desired,
The original contents of all positions in the current line in which this character
has been inserted, will be "overlayed" on the requested succeeding lines.
Therefore, the character selected must be unique to all changed data in the
current line. Note that the specification of the logical overlay character
pertains only to this issuance of the
invalid or the overlay character is inadvertently not specified, the overlay
character is considered a modification to the data, and will remain in the
working copy of the file.
REP < n
The
functionally equivalent to performing a DELETE, followed by a
DELETE command) to be deleted (starting with the current line), after which
the current line is backed-up to the line immediately preceding the first
deleted line, and INSERT is automatically entered at this point. The argu-
32