Altering the Variable-Format Part

Allowed Changes to the Data Set Variable‑Format Part details the changes that can be made to the data set variable-format part. Numbers in parentheses refer to explanatory notes following the table.

Table 34. Allowed Changes to the Data Set Variable‑Format Part

Option

Model

Update

File Format Conversion (No Item Changes)

Record Format Conversion (Item Changes)

Add new record types.

No

Yes (1)

Yes (1)

Yes (1)

Delete existing record types.

No

No

No

No

Add, change, or delete VERIFY condition for variable part.

No

No

Yes (2)

Yes (2)


Explanatory Notes

  1. New record types can be added up to the limit specified in the record type item declaration. If the size of the new record type is larger than any existing record type, user programs that invoke the data set must be recompiled.

    If a program is not recompiled after adding a new variable-format part to an existing variable-format data set, a version error occurs under the following circumstances:

    • The variable-format part added to the data set is larger than any existing variable‑format part.

    • The program attempts to create and then store the record.

  2. When a new VERIFY condition is specified or the existing VERIFY condition is changed, the user must ensure that all existing records satisfy the new VERIFY condition. If the reorganization process encounters a record which does not satisfy the new VERIFY condition, it terminates with an exception.