Constructs are the basic building blocks of an action diagram. By combining different types of constructs, you define the procedural logic of an action diagram.
The action diagram allows those basic constructs, action and condition, to be combined into other types of constructs. The combination constructs are as follows:
CA 2E executes all actions in a bracket construct in order, from top to bottom.
The following is an example of the presentation convention for action diagrams.
> Process subfile <==TITLE .-- <==SEQUENCE : Read next changed SFL record : .=REPEAT WHILE <==ITERATION : |-Changed record found on SFl <==CONDITION | : | .-CASE | : | |-RCD. *SFLSEL *Zoom <==CONDITION : | |>USER DEFINED SELECTION <<< : | |.-- <<< : | |:.Display user details <==ACTION <<< : | |:PAR: Date |: ‘Date of Birth’ : | |’-- <<< : | |-*OTHERWISE <==CONDITION : | |>USER DEFINED LINE VALIDATION <<< : | |.-- <<< : | |:.-CASE <<< : | |:|-RCD.Date of birth * GT JOB.Job date <<< : | |:|.Send error message ‘Invalid DOB’ <==ACTION : | |:|PAR: Date|:’Date of Birth’ : | |:’-ENDCASE <<< : | |’-- : | ‘-ENDCASE : | Update SFL record : Read next changed SFL record : ‘-ENDWHILE ‘--
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |