The following syntax diagram shows the syntax for valid structure array declarations.
>>-+-+-DECLARE-+--1--variable-name--(--dimension--)--+----------------------+--,-+--> | '-DCL-----' '-Scope and/or storage-' | '-level-1--variable-name--,---------------------------------------------------' .-,----------------------------------------. V | >----level-2--+-var-1-----------+--data-types-+--;------------->< | .-,-----. | | V | | '-(----var-2-+--)-' data-types |--+-+-BINARY-+--+-FIXED-+--+-----------------+--UNALIGNED-----+--| | '-BIN----' '-FLOAT-' '-(--precision--)-' | +-+-DECIMAL-+--+-FIXED--+-------------------------------+-+-+ | '-DEC-----' | '-(--precision--+----------+--)-' | | | | '-,--scale-' | | | '-FLOAT--+-----------------+--UNALIGNED----' | | '-(--precision--)-' | +-PICTURE--picture-string-----------------------------------+ +-+-CHARACTER-+--+--------------+--+-------------+----------+ | '-CHAR------' '-(--length--)-' '-+-VARYING-+-' | | '-VAR-----' | +-SQL TYPE IS--+-+-CLOB-+--(--lob-length--+---+--)-+--------+ | | '-BLOB-' '-K-' | | | +-+-CLOB_LOCATOR---+----------------+ | | | +-DBCLOB_LOCATOR-+ | | | | '-BLOB_LOCATOR---' | | | '-+-CLOB_FILE---+-------------------' | | +-DBCLOB_FILE-+ | | '-BLOB_FILE---' | +-SQL TYPE IS ROWID-----------------------------------------+ '-SQL TYPE IS--+-BINARY---------+--(--length--)-------------' +-VARBINARY------+ '-BINARY VARYING-'