The main body of the program, which is called level 1 model, can be used to define with very simple instructions, the transaction sequence scenario and the conditions for shifting from one transaction to another, according to the various keys to be used in the program.
The actions to be performed on transactions are identified by three verbs:
INITIALIZE |
To prepare the transaction before displaying it. |
VERIFY |
To verify the data entered. |
VALIDATE |
To update the files from the data entered. |
The main body contains no handling instruction for data processed by the program; in fact, it answers the question "When?" (When to execute actions?). The answer to the question "How?" (How to perform these actions?) is defined in standard sections which make up level 2.
Level 1 can be generated either:
From the SSG's graphical representation.
From the Generate level 1 option of the Program menu of the SSG screen,
From the Build option of the Program menu of the SSG screen, together with a program template which contains no "%xxx" instruction.
Warning: When the program template contains Question/Answer ("%xxxx") instructions, the Build option starts the Question/Answer programming interface.