Converting from 7.10 F2 to 8.20 D

elisabeth corsten elisabeth.corsten@ec-datentechnik.de
Wed, 20 Sep 2000 15:27:39 +0200


Odette,
I'm really surprised a construct with a nested occurrance was tolerated in 7.10
- I know positively it hasn't been possible on HP for a long time. (It has
bitten me before!) The manuals (HP) state quite clearly "only one occurrance
count at a given time in processing". Maybe version 8 has plugged an
undocumented hole?

Anyway, would it be an option to change your data structure? To maybe change the
field array in the audit file to 3 different items?

Good luck
Elisabeth


Odette McMillan wrote:

> I'm recently in the process of converting all quick, qtp and quiz programs
> from 7.10 F2 to 8.20 D. The system we have is the Alpha (Open VMS).
> I am currently experiencing a problem with re-compiling a Quick program. The
> statement it is bombing on is:
>
> FILE PRD_FILE_AUD AUDIT OCCURS WITH PRD_FILE
>
> Bear in mind that file PRD_FILE also contains an item that is a table entry
> (the item occurs 3 times). PRD_FILE_AUD contains the same items as PRD_FILE
> with the inclusion of the audit items. The main file is defined as:
>
> PRD_FILE DETAIL NOITEMS OCCURS 18 TIMES NODELETE
>
> The error I'm receiving is this:
> *E* Can't initialize the repeating item of the multiple occurring file
> (PRD_FILE)
>
> There are other Quick programs in our system, that use the same files, that
> have successfully re-compiled to 8.20d. The difference with this particular
> program is that the main file is defined as DETAIL with an OCCURS. (all the
> other ones were defined as PRIMARY or SECONDARY but no occurs).
>
> Can someone help, please!?
>
> Thanks,
>
> Odette McMillan
> Senior Programmer Analyst
> Dairy Farmers of Ontario
>
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
> Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
> This list is closed, thus to post to the list, you must be a subscriber.

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.