COBOL Occurs
Posted: Fri Oct 31, 2008 11:26 pm
I have a table declared as
01 field1
05 filed2 occurs 999 times.
15 field3 occurs 100 times pic x(40)
if Im trying to access a location specified as field1 (802,150) , please let me know if its a correct to specify this way?
the field3 specified in my program is a table of 100 entries, so when im trying to access 150 th occurance what exactly happens? is this correct?
01 field1
05 filed2 occurs 999 times.
15 field3 occurs 100 times pic x(40)
if Im trying to access a location specified as field1 (802,150) , please let me know if its a correct to specify this way?
the field3 specified in my program is a table of 100 entries, so when im trying to access 150 th occurance what exactly happens? is this correct?