A logical grouping of action lines at a level below that of test module divisions, test cases, or user-defined actions. In TestArchitect, blocks are defined as the areas between the following control flow actions lines:
- repeat and until
- while and end while
- use data set and repeat for data set
- Any if action line (including if, if control exists, if control not exists, etc.) as well as else or else if, and a subsequent else, else if or end if.
Scope: In many programming languages, blocks of code also define the scope of local variables declared within their midst. In TestArchitect, that is true only of the use data set…repeat for data set block.