Defines two or more names and their individual attributes.
DECLARE identifier[attribute…][,identifier[attribute…]]…;
DECLARE COUNTER FIXED BINARY (6), TEXT_STRING CHARACTER (79) VARYING, Y FILE;
In this example, the variable COUNTER is declared with the data type attribute FIXED and BINARY (6), the variable TEXT_STRING is declared with the attribute CHARACTER (79) and VARYING, and the variable Y is declared with the data type attribute FILE .
None.
Description
Multiple declarations define two or more names and their individual attributes. (for more information on attributes, see the chapter Declarations and Attributes.)
Each set of names and its attributes must be separated from other sets of names and their attributes by a comma. A semicolon must follow the last name.