ADELIA |
|
|
|
|
(I) |
|
|
|
|
Section for use
All
Syntax
TRANSACTION TransactionNum
Description
This instruction marks the beginning of the control section of the transaction TransactionNum.
Actions associated with different function keys are described in this section.
Important note: There can only be one TRANSACTION instruction per transaction number.
This instruction is used within Adelia Level 1 and is not automatically generated.
Example
PROCESS 01 |
Runs TRANSACTION 01 |
********************** |
|
TRANSACTION 01 |
Beginning of transaction 1 |
********************** |
|
IF *F03 |
|
TERMINATE |
|
END |
|
VERIFY 01 |
|
INITIALIZE 01 |
|
PROCESS 01 |
Runs TRANSACTION 01 |
*********************** |
|
TRANSACTION 02 |
Beginning of transaction 2 |
*********************** |
|
IF *F12 |
|
TERMINATE |
|
END |
|
PROCESS 02 |
Runs TRANSACTION 02 |
********************** |
|
INITIALIZATION 01 |
|
********************** |
|
MANAGE_SFL 1 |
|
PRESENT CUST_SFLE |
|
UPD_SFL |
|
END_MANAGE_SFL |
|
********************* |
|
VERIFICATION 01 |
|
********************* |
|
MANAGE_SFL 1 |
|
IF OPTION = '1' |
|
INITIALIZE 02 |
|
EXECUTE 02 |
Runs TRANSACTION 02 |
END |
|
OPTION = *BLANK |
|
END_MANAGE_SFL |
|
********************** |
|
INITIALIZATION 02 |
|
********************** |
|
CHAIN CUSTOMERS |
|
PRESENT CUSTOMERS |
|
See also the list of 4GL instructions by topic