Page 1 of 1

Occurs clause at 01 level

PostPosted: Tue Jul 13, 2010 8:30 pm
by coollearner
Hi,
I wanted to know why occurs clause cannot be defined at 01 level?

Re: Occurs clause at 01 level

PostPosted: Tue Jul 13, 2010 9:01 pm
by Robert Sample
Basically, because the manual explicitly states that OCCURS cannot be placed on an 01 level. The manual states this because the COBOL standard says so. As to why this restriction exists, you eventually need to go back 50 years to the original COBOL specifications and see what reason, if any, was provided.