Scénario de test & Cas d'usage
Management of access rights and data security.
Discover all actions of accessControlNo specific data required, purely session state testing.
| 1 | /* No specific |
| 2 | data prep required for this state test */ |
| 1 | PROC CAS; |
| 2 | ACCESSCONTROL.startTransaction; |
| 3 | PRINT 'Audit check initiated. No changes required.'; |
| 4 | RUN; |
| 1 | PROC CAS; |
| 2 | ACCESSCONTROL.commitTransaction STATUS=s; |
| 3 | PRINT 'Commit status: ' || s.statusCode; |
| 4 | IF (s.severity == 0) THEN PRINT 'Empty transaction closed successfully.'; |
| 5 | RUN; |
The action returns success (Severity 0) even though no changes were made. The transaction is formally terminated, and the session is confirmed to be free of active transactions, ready for the next audit cycle.