Thread: General

A010 referencing a file field before the READ in 11.6

Started by Lisa • user2 replies127 viewsLast activity 2 weeks ago
Post #1
1 votes
Lisa
Reputation
96
Posts: 17
Joined: Jun 20, 2025, 1:40 PM
Posted: Jul 31, 2026, 9:12 AM

Compat mode 11.6. Program used to load a key into a file field, then POINT/READ. Now A010 INVALID FILE REFERENCE before any read happens.

Broadcom note says files must be open / have an active record. Work around?

Post #2
0 votes
James
Reputation
524
Posts: 30
Joined: May 2, 2024, 8:00 AM
Posted: Jul 31, 2026, 12:12 PM

Put the key in working storage (W field), then POINT/READ using that. Do not poke values into the file buffer before there is an active record.

11.6 got stricter about this even under compatibility mode at execution time.

You must be signed in to reply to this thread