Wow, didn't know that, Barbara! That might be useful someday!

(Although I must admit that I stopped using CTDATA [in new code] about the
same time I gave my last S/38 crank away.)

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"To cease smoking is the easiest thing I ever did. I ought to know because
I've done it a thousand times."
-- Mark Twain


On 2010/10/5 1:41 PM, Dennis Lovelady wrote:
You need a space after ** to initiate your CTDATA specs.


A better fix would be to code the array name after the **CTDATA keyword.
**CTDATA lets you code the ct data in any order, not necessarily
matching the order you coded the arrays or tables in the D specs.

D RetrunCode S 2 DIM(9) ASCEND CTDATA
...
**CTDATA RetrunCode List of Address ...

I'm surprised the original code isn't getting this error saying that
there's no array called LIST.

2 **CTDATA List of Address Verification Return Code Values
======> aaaa
*RNF8265 20 a 000200 Array or table name in separator record not
declared.

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



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.