|
Good Morning. In order to use a DS for a record format in a file, you do not need to use the PREFIX keyword (it won't hurt, but is not needed). Also, on your D-spec, use the name of the format, not the filename. If you have several formats, you can create a DS for each one. On 9/23/05, Yivi <nardus@xxxxxxxxx> wrote: > > Hi there. > > I am trying to use the PREFIX keyword on a file definition to put all the > fields in a DS, but the the compiler isn't in a very agreeable mood. > > In my program: > > FALFOFPANT CF E WORKSTN SFILE(LISTADO:RRN) > F INDDS(I) > F PREFIX('SCRN') > > And then: > D SCRN E DS EXTNAME(ALFOFPANT) QUALIFIED > > I am doing the same thing with my other files, and everything is working > as > it should. But attempting to do so with ALFOFPANT results in a myriad of > errors. > > Are display files compatible with the PREFIX keyword? I can't find nothing > that says otherwise in the documentation, but maybe I am missing > something... > > Thanks, > Regards, > > I.- > -- > 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..." "In Hebrew SQL, how do you use right() and left()?..." - Random Thought "If all you have is a hammer, all your problems begin to look like nails"
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.