Using the API in a Program

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