COBOL- Multi Dimension Arrays

Coding for multi dimension array is as follows:

01  Table occurs 10.
      03  field-1      pic xxx.
      03  sub-table  pic 9(5) occurs 5.
      03  field-2      pic 999.

It is then possible to refer to an entire record:

   table (idx)

or a field in it:

   field-1 (idx)

or a field in a sub-table:

   sub-table (idx1, idx2)

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.