× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



If my colleagues had a problem with pointers for a problem like this, my
suggestion (after telling them how terrible a shame that was) would be to
put in a comment or even a comment block near that pointer that says, "Don't
look here with sensitive eyes. What you need to know is that this causes
the data areas C and @array to occupy the same space."

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"Nothing can bring you peace but yourself."
-- Ralph Waldo Emerson


I ended up using the based reference and that works fine. I've used
that solution in the past, but my colleagues aren't comfortable with
pointers and I was sure there was a solution that used the OVERLAY
keyword. Thanks for your help.

The second solution doesn't scan Simon. The editor highlights line1.18
& complains:

0001.14 d c ds qualified
0001.15 d rec likerec(rctldef)
0001.17 d array likeds(ctlds) dim(20)
0001.18 d overlay(c.rec.kpro1v)

The simple qualified name is not specified correctly.

It doesn't like the two qualifiers:

Message ID . . . . . . : RNF0623


Message . . . . : The simple qualified name is not specified
correctly.

Cause . . . . . : A simple qualified name is formed by specifying the
owning
data structure name followed by a period (.) followed by the subfield
name.
It cannot contain more than one period, and it cannot start or end
with a
period. The subfield-name part must be one of the subfields in the
data
structure.
Recovery . . . : Correct the simple qualified name. Compile again.

I tried removing the rec. out of desperation and it cleared the editor
syntax error, but failed on the compilation. I haven't posted the
compilation errors. I'm happy with the based solution.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.