
HP NonStop Shadowbase Command Definitions
Database Specification Command Descriptions
HP NonStop Shadowbase Command Reference Manual—785421-002
237
EXTENDUPDATE { OFF }
<decimal number>
Initial Changed
Version Version Values Default Minimum Maximum Alter
3.980B OFF 0 255 No
The Consumer can now be configured to pad an Enscribe TARGETFILE
record in the event an update audit trail event record length is shorter than
the target record length as defined when the file was created (i.e., the
Consumer uses the file label record length to determine the target record
length and its padding).
T he DBS object parameter EXTENDUPDATE (used for updates) was
added to define the character to be used for padding the target record.
The parameter value is specified as a decimal number (0 through 255)
representing an ASCII character. For example, the value 32 would be
used to have the target padded with “ “ (space character). The value 88
would be used to have the uppercase “X” character used for padding.
The default value is OFF, meaning that the original source record length is
used for the target record length for the update event.
The EXTENDUPDATE DBS parameter is useful when the target Enscribe
file definition does not match the source, or when you want to make sure
all records written into a target file are of the same length (to match the
file’s defined length). When enabled, a shorter or update event will be
padded out to the file’s defined record length using the pad character.
Note: That a DBS TARGETREC DDL definition and the initialization
associated with the field definitions for the record layout take
precedence over EXTENDUPATE. That is, when a TARGETREC
parameter is specified and a short record is being processed, the
target record length is derived from the specified record definition
and initialized based upon the DDL field definition types (e.g.,
character fields are padded with spaces; binary integers are
padded with binary zeros, etc).
The following are examples of setting the parameter.
SET DBS EXTENDUPDATE OFF
or
SET DBS EXTENDUPDATE <decimal number>
Comentarios a estos manuales