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



Aaron,

Those wiser than me might have a better answer, but it looks like you have
duplicate field names in two data structures. If you are going to define
Prefix('Libl.') on the F-spec, you don't need the D Spec. If you want both,
either assign a different prefix to the F-spec or get rid of the Prefix
keyword altogether.

As for why it is in the manuals, it looks like a typo to me.

HTH,
Roger Mackie

-----Original Message-----
From: Bartell, Aaron L. (TC) [mailto:ALBartell@xxxxxxxxxxxxxx]
Sent: Monday, August 25, 2003 8:39
To: 'RPG programming on the AS400 / iSeries'
Subject: Extname and Prefix


I am trying to make use of "qualified field names"  by using Extname on an
externally defined file.  Here is the code, and I can't get it to compile to
V5R1 even though it is in the V5R1 manuals
(http://publib.boulder.ibm.com/iseries/v5r1/ic2924/books/c0925083.pdf page
273).  "The parameter for keyword PREFIX is not valid; keyword is ignored."

I saw some questions on this in the archives which made be believe that is
shouldn't work at V5R1, but why is it in the V5R1 manuals then?


     FLiblPF    IF   E           K DISK    Prefix('Libl.')
     D Libl          E DS                  Qualified ExtName(LiblPF)
      /Free
       *InLR = *On;
      /End-Free 


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.