AS/400 commitment definitions

1420 pts.
Tags:
AS/400
What is commitment definition in AS/400? How and why it is used and why does it has to be monitored?
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • pdraebel
    A commit definition is used to be able to execute a number of updates on files that are related. For example if a transaction exists of multiple file updates and one of the updates cannot be done it allows a "ROLLBACK" of all the updates allready done for the transaction.
    7,545 pointsBadges:
    report
  • philpl1jb

    commitment definition in AS/400

    During processing you can hold the adds/changes/deletes for a block of changes and at the end either Commit that Block or Rollback those changes.

    Requires that the files be journalled

    Sql has an option for Commit

    Native access requires a STRCMTCTL command in CL before files are open.  RPG requires the COMMIT keyword on files that will be under commitment control.  ENDCMTCTL must be issued after end of process. 


    54,090 pointsBadges:
    report
  • TheRealRaven
    "...why does it has to be monitored?"

    It doesn't.

    Why do you ask? Have you run into something that says otherwise?
    36,145 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: