This figure shows the syntax for valid host structure declarations.
>>-+-+-DECLARE-+--1--variable-name--+----------------------+--,-+--> | '-DCL-----' '-Scope and/or storage-' | '-level-1--variable-name--,----------------------------------' .-,----------------------------------------. V | >----level-2--+-var-1-----------+--data-types-+--;------------->< | .-,-----. | | V | | '-(----var-2-+--)-' data-types |--+-+-BINARY-+--+-FIXED-+--+-----------------+--+-----------+-----+--| | '-BIN----' '-FLOAT-' '-(--precision--)-' '-UNALIGNED-' | +-+-DECIMAL-+--+-FIXED--+-------------------------------+--+----+ | '-DEC-----' | '-(--precision--+----------+--)-' | | | | '-,--scale-' | | | '-FLOAT--+-----------------+--+-----------+-' | | '-(--precision--)-' '-UNALIGNED-' | +-PICTURE--picture-string---------------------------------------+ +-+-CHARACTER-+--+--------------+--+--------------------------+-+ | '-CHAR------' '-(--length--)-' '-+-VARYING-+--+---------+-' | | '-VAR-----' '-ALIGNED-' | +-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-'