Previous Topic Next topic Print topic


Simple Declarations

A simple declaration defines a single name and describes its attributes. Its recommended form is:

DECLARE name a⊂1 a⊂2 a⊂n;

where name is the declared name and a1 through an are attributes. For example:

DECLARE A FIXED BINARY(15);
DECLARE B CHARACTER(10) VARYING STATIC INITIAL('ABC');
DECLARE C DIMENSION(5) FLOAT DECIMAL(7);

The last statement in this example could also be given without the keyword DIMENSION by using the following format:

DECLARE C(5) FLOAT DECIMAL(7);
Previous Topic Next topic Print topic