When performing database operations, the _____ statement is used to commit changes to the database.
- COMMIT WORK
- EXEC SQL COMMIT
- EXEC SQL ROLLBACK
- ROLLBACK WORK
When performing database operations, the COMMIT WORK statement is used in COBOL to commit changes made during the transaction to the database. It ensures the changes are permanently saved.
Loading...
Related Quiz
- You are developing a COBOL application that handles a large inventory database accessed by multiple users. What type of file locking strategy would you recommend to ensure data integrity while allowing concurrent reads?
- You are working on a complex COBOL project with multiple programs. Which clause or method would you use to ensure that a particular variable can be accessed by all programs in the project?
- Which COBOL verb is commonly used to handle file errors and exceptions?
- In a COBOL program, when using a PERFORM loop with the VARYING clause, what is the role of the INDEX variable?
- When performing arithmetic operations in COBOL, the _____ statement is used for adding values.