Just as a general FYI ...

When RPG changed to accept named constants for file names etc. it became a requirement to place literal names in quotes. That also means of course that they must also be in upper case.


Jon P


On Aug 7, 2024, at 6:58 AM, Jean-Marc DUVAL via RPG400-L <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 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.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.