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


  • Subject: RE: add file with same name from different AS/400 into pgm
  • From: Joel Fritz <JFritz@xxxxxxxxxxxxxxxx>
  • Date: Thu, 27 Jan 2000 09:34:18 -0800

I think the file names are your problem.  You probably need to use a trick
to get the program to compile.  In your RPG program, give the files
different names.  When you compile, you can:

1. Use overrides to get the dummy names to point to the correct files.

2. Create duplicate objects from the real files that have the the names used
in your program.
   Create the empty files in a library you add to your library list for
compile purposes only, or do  
   it in QTEMP and compile interactively.

In either case you should rename the record formats, and in the driver for
the program, you'll have to override the file names to the files you're
actually using.

-----Original Message-----
From: Stone, Joel [mailto:StoneJ@GourmetAward.com]
Sent: Thursday, January 27, 2000 8:13 AM
To: 'RPG400-L@midrange.com'
Subject: RE: add file with same name from different AS/400 into pgm


Thanks for the idea, but Im pretty sure the RENAME fails because there are
two files with the same format, and RPG cant figure out which one to rename.
Is this correct? 
Any other ideas? 
+--- 
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


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.