Previous Topic: #MAPMOD ExampleNext Topic: @MODIFY Syntax


@MODIFY—replaces element values of the database record

The @MODIFY statement replaces element values of the specified database record with new element values present in program variable storage.

Before execution of the @MODIFY statement, the following conditions must be met:

Modifying CALC- and Sort-Control Elements

The following special considerations apply to the modification of CALC- and sort-control elements:

Native VSAM Considerations

The following special considerations apply to the modification of records in native VSAM data sets:

Currency

Before execution of the @MODIFY statement:

Following a successfully executed @MODIFY statement, the modified record becomes current of its run unit, record type, area, and all sets in which in participates as owner or member.