[definitionname := ] SEQUENTIAL( actionlist )
definitionname | Optional. The action name, which turns the action into a definition, therefore not executed until the definitionname is used as an action. |
actionlist | A comma-delimited list of the actions to execute in order. These may be ECL actions or external actions. |
The SEQUENTIAL action executes the items in the actionlist in the order in which they appear in the actionlist.
Example:
Act1 := OUTPUT(A_People,OutputFormat1,'//hold01/fred.out'); Act2 := OUTPUT(Person,{Person.per_first_name,Person.per_last_name}); Act3 := OUTPUT(Person,{Person.per_last_name}); //by naming these actions, they become inactive definitions //that only execute when the definition names are called as deifnitions SEQUENTIAL(Act1,PARALLEL(Act2,Act3)); //executes Act1 alone, and only when it's finished, //executes Act2 and Act3 together