To define an action to be executed after each Transaction’s cycle.
Event After Trn
Event_code
EndEvent
Where:
Event_code
Code associated with the event.
This event is activated once the transaction has ended a cycle; that is: immediately after Commit.
You may want to return to the calling program after entering a transaction:
Event After Trn
Return
EndEvent
To print a card with the transaction during a Transaction session, and to update the last operation in a log file system, you could program the following events:
Event After Trn
PrintAirlineCard.Call(AirlineId)
UpdateLogAirline.Call(AirlineId, &TimeEnter, &TimeExit)
EndEvent
Objects: Transactions
Languages: .NET, Ruby, Java, RPG, Visual Basic, Visual FoxPro, Cobol
AfterComplete Event