tables in cobol
![Post Post](https://www.ibmmainframeforum.com/styles/prosilver/imageset/icon_post_target.gif)
table works like a array we can define up to 7 dimentions using occurs clause we can define a array
don't use occurs clause in 01 level below is the syntax for define a array
don't use occurs clause in 01 level below is the syntax for define a array
01 emp-array
05 emp-values occurs 5 times
10 emp-name pic x(10).
05 emp-values occurs 5 times
10 emp-name pic x(10).