Previous Topic

Next Topic

Book Contents

Book Index

Committing Database Variables

A DO COMMIT statement sets commitment options for writing the variable value back to the Control-M/Analyzer Database and unlocks the variable – making it available to other rules. Various methods are available for specifying the type of commit that should occur. For information about DO COMMIT options and the DO SET statement, see Rule Definition.

Examples

When defining rules, the user should take into account various variable locking and unlocking methods. Examples of locking and committing strategies include:

Note: In the example above, if the DO COMMIT statement is omitted, the DB_TOTAL variable is automatically committed and unlocked during rule termination.

Parent Topic

Accessing Database Variables