Page 1 of 1

why the occurs clause can't come with 01 level

PostPosted: Sat Sep 22, 2007 10:46 am
by kiran
why the occurs clause can't come with 01 level :?:

Re: why the occurs clause can't come with 01 level

PostPosted: Sat Sep 22, 2007 3:28 pm
by CICS Guy
Mostly because those are the rules.....
Also, since 01 levels are on double word boundaries, the slack bytes of repeating entries would really confuse things.....

Re: why the occurs clause can't come with 01 level

PostPosted: Sat Oct 06, 2007 10:12 pm
by lokeshheda
Because occure clause is relted to occuranc of file(data) and not of records,as 01 level is use to define record so...

Re: why the occurs clause can't come with 01 level

PostPosted: Sun Oct 07, 2007 4:37 am
by dick scherrer
Hello lokeshheda and welcome to the forums,

Because occure clause is relted to occuranc of file(data) and not of records,as 01 level is use to define record so...
There is more to an 01 than this.

The 01(s) of an FD are the record definitions.

An 01 may be used in Working Storage as well as the Linkage Section.

In all cases, an 01 may not have an occurs.