|
Buck, I got it the idea I read through the IBM documentation on EXTFMT. Understood what was wrong. And I guess perrcd will come to place when we use compile time arrays right? I am slightly confused on the second type? Has precompile type arrays and Tables runout of steam? Also regrading my earlier doubts can you just explain significance what a table is? Is it related to the table that we can create using strsql? Sunil ----- Original Message ----- From: "Richard B Baird" <rbaird@esourceconsulting.com> To: <rpg400-l@midrange.com> Sent: Wednesday, June 26, 2002 9:34 PM Subject: RE: Doubt on prerun time array And a doubt about batch job > > Buck, > > AHA! Me too (live and learn that is) > > the operative keyword must be EXTFMT(P). i also tried changing the table > record len to 5 (as it should be) using this keyword and it compiled and > ran fine. the PERRCD(1) keyword is unnecessary, whether you use 5 or 10. > 1 is the default for that keyword. > > Are you getting all of this Sunil? > > btw, when was the last time anyone actually designed for table files? I > know it's quicker to do a lookup, but I just chain anymore. This, i'm > pretty sure was a 'feature' that was introduced before the chain opcode, > and used after chain, only because random disk access used to be so > resource expensive. > > it's so nice to rarely have to count cycles anymore.... > > Rick > > ----Buck's original message------- > Live and learn. (me that is) > > I did it in RPG III like this: > FPF1 IT F 10 EDISK > E PF1 ARE 1 1 9P0 > C ARE,1 DSPLY > C SETON LR > > Then I did a CVTRPGSRC and got this: > FPF1 IT F 10 DISK > D ARE S 9 0 DIM(1) EXTFMT(P) FROMFILE(PF1) > D PERRCD(1) > C ARE(1) DSPLY > C SETON LR > > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > 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.