|
I am at V5R3 as of last weekend. When I attempt to read data into the data structure, as in the example, when using EXTNAME for the Data structure, the error states that the DS is not allowed for the operation. But if I use LIKEREC, the read works. Interestingly enough, I also solved my last problem, simply by incrementing the BASED data structure is based on by three bytes (the size of the extra field). On Wed, 29 Sep 2004 19:36:52 -0400, Douglas Handy <dhandy@xxxxxxxxx> wrote: > Tony, > > > Apparently, using the EXTNAME keyword doesn't then allow you to use > > the defined data struct for reading into, or updating from. > > That was added in V5R2 or so, as I recall. Evidently your current (or > target) release is prior to that. > > 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. > > -- "Enter any 11-digit prime number to continue..."
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.