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



Hi Alan


You must be thinking of parameters for system API calls - this is not the same.


From the documentation for EXTDESC -
The parameter for EXTDESC must be a named constant or literal specifying a valid file name. If it is a named constant, it must be defined before the file definition. You can specify the value in any of the following forms: filename
libname/filename
*LIBL/filenameThose forms are a bit misleading, as the final file name has to be uppercase. An actual example has this -



extdesc('MYLIB/MYFILE2')


For EXTFILE, you can use a variable or a literal - the variable needs to contain the entire qualified name. There are more details in the RPG Reference.


Cheers
Vern

On Wed, 7 Aug, 2024 at 9:33 AM, Alan Campin <alan0307d@xxxxxxxxx> wrote:


To: rpg programming on ibm i

Also must be in 10 and 10 I believe so file name in first 10 and library
name in next 10.

On Wed, Aug 7, 2024 at 7:24 AM Art Tostaine, Jr. <atostaine@xxxxxxxxx<mailto:atostaine@xxxxxxxxx>>
wrote:

DAMMIT! lol

On Wed, Aug 7, 2024 at 9:58 AM Jean-Marc DUVAL via RPG400-L <
rpg400-l@xxxxxxxxxxxxxxxxxx<mailto:rpg400-l@xxxxxxxxxxxxxxxxxx>> wrote:

Hi,

I think It must be case sensitive : 'DTALIB/STYSUMW1'

-----Message d'origine-----
De : RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx<mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx>> De la part de Art
Tostaine, Jr.
Envoyé : mercredi 7 août 2024 15:49
À : RPG programming on the IBM i (AS/400 and iSeries) <
rpg400-l@xxxxxxxxxxxxxxxxxx<mailto:rpg400-l@xxxxxxxxxxxxxxxxxx>>
Objet : Extfile and ExtDesc



ATTENTION : Ce message provient d'une source EXTERNE. Veuillez n'ouvrir
les liens ou pièces jointes que si vous êtes sûr de l'expéditeur.



I'm getting a compiler error on this DCL-F, External File Definition for
stysumw1 not found. I've confirmed the file is in DTALIB. I've switched
the order of extfile and extdesc with the same results. I've used this
many times but it looks like I've never used QTEMP in extfile before.

dcl-f stysumw1 usropn
extdesc('dtalib/stysumw1')
extfile('qtemp/stysumw1')
rename(stysumw1:stysumw1r) infds(StySuminfd);

Thanks for any help, Art
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L@xxxxxxxxxxxxxxxxxx> To subscribe, unsubscribe, or
change list options,
visit:

https://urldefense.com/v3/__https://lists.midrange.com/mailman/listinfo/rpg400-l__;!!J76aczzK!2sqJhZpEeQnUaM_hQmAGbpV4ZDCXWnp8IWK6jlAB2pCn-kFrwQUCSQbASawsLvk4LIn-L6H54Tk7A3HzfPgn6SSt$
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives at

https://urldefense.com/v3/__https://archive.midrange.com/rpg400-l__;!!J76aczzK!2sqJhZpEeQnUaM_hQmAGbpV4ZDCXWnp8IWK6jlAB2pCn-kFrwQUCSQbASawsLvk4LIn-L6H54Tk7A3HzfF3CB1wF$
.

Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription related
questions.

--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription related
questions.


--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx<mailto:RPG400-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription related
questions.



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.