Using the API in a Program
- The 910-AUDIT-BEGIN opens the transaction state.
- The key fields are entered into the
DB
fields. - The 840-MODIFY-CUCSET1 call uses the
DB
fields and the index to return the appropriate record and ready it for updating. - The PERFORM 500-MOVE-DATA calls another routine that updates the record fields with the new values.
- The 820-STORE-CUCODES routine updates the changed record in the file.
- The 920-AUDIT-END call closes the transaction state and commits the transaction.