Host structure array indicator in PL/I applications that use SQL

The following figure shows the syntax diagram for valid host structure array indicator structure declarations.

Read syntax diagramSkip visual syntax diagram
>>-+-+-DECLARE-+--1--variable-name--(--dimension--)--+----------------------+--,-+-->
   | '-DCL-----'                                     '-Scope and/or storage-'    |   
   '-level-1--variable-name--,---------------------------------------------------'   

>--level-2--identifier--(--dimension-2--)----------------------->

>--+-BINARY-+--FIXED--+-----------------+--;-------------------><
   '-BIN----'         '-(--precision--)-'      

Notes:
  1. Level-1 indicates that there is an intermediate level structure.
  2. Level-1 must be an integer constant between 1 and 254.
  3. Level-2 must be an integer constant between 2 and 255.
  4. Dimension-1 and dimension-2 must be integer constants between 1 and 32767.