The IDMSRSTT RECNAME statement identifies a record type that is being restructured and provides new format and length information for the record, if applicable. The IDMSRSTT RECNAME statement also names database procedures to be executed during the restructure process.
Syntax
►─── IDMSRSTT RECNAME = record-name ─────────────────────────────────────────►◄ ►─┬────────────────────────────────────────────────────────────────────────┬─► └─ ,MINLEN = ┬ ( min-root-length,min-fragment-length,max-data-length ) ┬─┘ └ FIXED ──────────────────────────────────────────────────┘ ►─┬──────────────────┬───────────────────────────────────────────────────────► └─ DCT = dctname ──┘ ►─┬─────────────────────────────────────────┬────────────────────────────────► │ ┌──────── , ───────┐ │ └─ ,NUPROCS = ( ─▼─ procedure-name ─┴─ ) ─┘
Parameters
Specifies the name of the record being restructured.
New format and/or length information for the record.
Applies only to variable-length records and fixed-length compressed records.
The minimum root length, in bytes, of the record, rounded up to the nearest multiple of four, with the following qualifications:
The minimum fragment length, in bytes, for the record, not including the fragment prefix. Must be at least four.
The maximum data length, in bytes, for the record, not including the four-byte variable-length indicator, rounded up to the nearest multiple of four.
Specifies that the record is being changed from variable-length or fixed-length compressed to fixed-length uncompressed.
Specifies a PressPack DCT to use when:
The name of the PressPack DCT.
Specifies one or more database procedures to be executed during the restructure process. The procedures are executed just before the RESTRUCTURE utility uses a MODIFY statement to rewrite the restructured record to the database.
Specifies the name of the procedure.
Usage
Account for all changing records
Code one RECNAME statement for each:
Length parameters
All lengths are specified in bytes, rounded up to the nearest multiple of four.
Compressing records with DCT =
Records to be converted to PressPack compressed must be variable length records, or have a new format specified by the MINLEN parameter. You cannot specify MINLEN = FIXED for such records.
Records being converted to PressPack compressed should not have any Before Modify procedures defined that expect to see uncompressed data. The record will already be compressed before the Before procedures are called.
RESTRUCTURE will issue a warning if it encounters Before Modify procedures, but it will continue processing.
Uncompressing PressPack compressed records
To convert records from PressPack compressed records to fixed uncompressed, specify MINLEN = FIXED.
When to use NUPROCS =
List all procedures to be executed for a record during the restructure process before a MODIFY statement, as follows:
Note: If a procedure is specified in the new schema but is not called before a MODIFY statement, do not include the procedure here. For example, if CALL IDMSDCOM AFTER GET is specified for the record in the new schema, IDMSDCOM should not be included here.
|
Copyright © 2014 CA.
All rights reserved.
|
|