The CLP Procedure

ARRAY Statement

ARRAY specification-1 <…specification-n> ;

An ARRAY specification is in a form as follows:


The ARRAY statement is used to associate a name with a list of variables. Each of the variables in the variable list must be defined using a VARIABLE statement or implicitly defined using the CONDATA= data set. The ARRAY statement is required when you are specifying a constraint by using the FOREACH statement.