Yup - that would do it.


Jon P.

On Jul 21, 2022, at 8:37 PM, Alan Campin <alan0307d@xxxxxxxxx> wrote:

Never mind. I figured it out. I am using a MAIN program with a Main
procedure so I had to move the data structure to the global memory and it
compiled fine. When it was in local variables for the Main procedure it saw
them as new local variables.

On Thu, Jul 21, 2022 at 5:21 PM Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:

Looks correct to me.

Why do you think it is not working?


Jon P.

On Jul 21, 2022, at 7:52 PM, Alan Campin <alan0307d@xxxxxxxxx> wrote:

Why does this not work? I seem to vaguely remember that IBM changed
something to cause mapping to an external source. Fields O_BADROUT1 to 8
are defined in a display file.

dcl-ds *N;
O_BADROUT1;
O_BADROUT2;
O_BADROUT3;
O_BADROUT4;
O_BADROUT5;
O_BADROUT6;
O_BADROUT7;
O_BADROUT8;
BadRoutes Like(O_BADROUT1) Dim(8) Pos(1);
end-ds;
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com


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.