UPDATEMAXA
NO | Tells BMC AMI Load not to update the MAXASSIGNEDVAL column of the SYSIBM.SYSSEQUENCES table when loading identity column values from an input file |
---|---|
YES | Tells BMC AMI Load to update the MAXASSIGNEDVAL column of the SYSIBM.SYSSEQUENCES table |
To load identity column values from an input file, you must specify an identity override clause on the LOAD command. BMC AMI Load allows any of the following clauses:
- OVERRIDE(IDENTITY)
- IDENTITYOVERRIDE YES
- IDENTITYOVERRIDE
Computed values do not adhere to discarded rows due to unique index violations.
For an ascending sequence, if the computed number is higher than MAXVALUE, then MAXVALUE is used instead of the computed value. For a descending sequence, if the computed number is lower than MINVALUE, then MINVALUE is used instead of the computed value.
The computed value is then compared with the MAXASSIGNEDVAL value. If the computed value is higher (ascending) or lower (descending), the update takes place. If not MAXASSIGNEDVAL remain as is.
The update occurs during the BMC AMI Load switch phase after posting SYSCOPY with a LOAD entry. Any failure during the update causes the job to fail with RC=16 (STEP-MUST-COMPLETE). If the job fails, you must restart the job.
Restriction
The scope of the update is limited to a single table under a single LOAD command. If you specify more than one INTO table clause under one LOAD command that has more than one identity column, the UPDATEMAXA results in an error and issues message NGTL959.
Specifying the default
You can specify the default for the UPDATEMAXA value in the //LODPARMS configuration options by using the UPDMAXA installation option.