Atomic transactions of FLUX file orders
The purpose of this project is to apply FLUX changes if FLUX file is not corrupted.
The purpose of GKCTRL01 is to check the FLUX file. If this file is corrupted or not. If FLUX is clean and ready to be used, GKCTRL01 do not manipulate RETURNCODE (RC=00)
Otherwise it gives :
- RC = 1 : DDNAME issue
- RC = 2 : Length DSNAME issue
- RC = 3 : Other open file issue
- RC = 4 : FileIN empty issue
- RC = 5 : number operands != footer expected operands
- RC = 6 : F1-MONTANT-OPER != F1-MT-GLOBAL
- RC = 7 : No header issue
- RC = 8 : No footer issue
Its purpose is to test all cases of GKCTRL01, to be sure that at any stage of the project, GKCTRL01 will assure its goal.
MAxxx are accessors routines that handle SQL request.
xxx
is replaced by :
- CPT : Accessing ACCOUNT table
- DEV : Accessing DEVISE table
- HIS : Accessing HISTORY table
- OPE : Accessing OPERATION table
Each accessor has authorisations to do particular requests :
You can find out those authorisation here : METHODS allowed
Its purpose is to check accessors' authorisations according to the check list above.
This routine check if everything in the action is OK, then update the account
This routine read file line by line to feed a data struct. Then call another MFMAJCPT to update account with actions interpreted on those lines.
- @Emericdefay - Program proposed
- @BOUZIANI Mustafa - Idea & Initial exercice
- @Global Knowledge - Formation