× 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.



How did you create the data area?

CrtDtaAra IcaNxtId Type(*Char) or Type(*Dec)

Sincerely,

David Lowery
IT Developer - Pest Elimination - Commercial Solutions

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jack Tucky
Sent: Tuesday, February 14, 2017 10:42
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Define *DEC Data Area in /free

I've been trying for 30 minutes to get a data area defined as numeric.

The Data Area is defined as *DEC, length 8,0.

Here is my code that compiles. When I execute I get RNX0411....
"data area was defined to be of type *CHAR and length 8."

Here is my definition
/free
dcl-ds lcaNxtId dtaara;
reckey zoned(8:0);
end-ds;
/end-free

I tried zoned(8:0) on dcl-ds but that's not allowed.

Thanks, Art
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.midrange.com_mailman_listinfo_rpg400-2Dl&d=DwICAg&c=clRTYxLjfWTYQkksq4Trqw&r=aRPCwWOVBUuUP924enkl20NUMsYujWOcIVbdKfiqK5k&m=jefyHulMNuFG2YLYLb5BvDC5F2pnebuD4h5EbVSLg9U&s=FlAlKATPeRtT_g8qDXEEFK6jzLFmfRx3G0lnAWmAn44&e=
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://urldefense.proofpoint.com/v2/url?u=http-3A__archive.midrange.com_rpg400-2Dl&d=DwICAg&c=clRTYxLjfWTYQkksq4Trqw&r=aRPCwWOVBUuUP924enkl20NUMsYujWOcIVbdKfiqK5k&m=jefyHulMNuFG2YLYLb5BvDC5F2pnebuD4h5EbVSLg9U&s=y9sRPitLK2YWmzYD0EdLknj3tnmuUhSX3sf17CTxKoQ&e= .

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://urldefense.proofpoint.com/v2/url?u=http-3A__amzn.to_2dEadiD&d=DwICAg&c=clRTYxLjfWTYQkksq4Trqw&r=aRPCwWOVBUuUP924enkl20NUMsYujWOcIVbdKfiqK5k&m=jefyHulMNuFG2YLYLb5BvDC5F2pnebuD4h5EbVSLg9U&s=XH1l_XlqR1Cx5wtfziwRBWGEnlKqPyeMWzlGTMVUEiU&e=

CONFIDENTIALITY NOTICE: This e-mail communication and any attachments may contain proprietary and privileged information for the use of the designated recipients named above. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

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.