|
Doug, Thank you for your answer. Yes, I did leave off the *INPUT portion of the spec. I was following an example that was shown in the docs. Will try it first thing Tuesday. Jack Derham Direct Systems, Inc. -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of dr2@xxxxxxxx Sent: Saturday, December 31, 2005 11:25 AM To: RPG programming on the AS400 / iSeries Subject: Re: Dams Jack, Doug.. Perhaps a final product coding snipped for the archives when you're done? Don in DC > Jack, > > My "Dam" for the day on V5R2 customer's machine became evident when I >> attempted to use a Chain opcode to fill DS directly. ... I check the >> Websphere RPG >> ILE docs and sure enough they said that it could be done but someone >> must >> have forgot to tell the compiler. > > > That is only allowed with a program-described file (not externally > described) at V5R1, but V5R2 added the ability to use externally described > files but with a caveat. The V5R2 docs say: > > "If name refers to an externally-described file or a record format from > an > externally described file, the > data structure must be a data structure defined with EXTNAME(...:*INPUT) > or > LIKEREC(...:*INPUT)." > > I suspect you left off the *INPUT qualifier on the EXTNAME keyword. > > Doug > -- > This is the RPG programming on the AS400 / iSeries (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 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.