|
Change the file CONTACT. The record format should not not be the same as the file name. Option 2: RENAME the record format using F spec keywords from CONTACT into, let's say, CONTACTR. Art_Baker@baan.com on 11/11/99 05:12:22 PM Please respond to RPG400-L@midrange.com@Internet To: rpg400-l@midrange.com@Internet cc: Fax to: Subject: records I am trying to input 2 data files to a RPG program. I am new at this but, I have a working RPG routine that processes one data file, just need to add in a second data file. The compile error looks like: 1700 FACCTINF IP E DISK RECORD FORMAT(S): LIBRARY ART FILE ACCTINF. EXTERNAL FORMAT INREC RPG NAME INREC 1800 FCONTACT IS E DISK 1900 /COPY IASLNKRSRC,LINKVERSEX A000000+ MEMBER LINKVERSEX IN FILE IASLNKRSRC LIBRARY IAS4000F02 OPENED FOR A000100+ * LINKVERSEX - IASLink Call Versioning Table A000200+ * ****************************************** A000300+ * * 2122 1800 RECORD NAME CONTACT PREVIOUSLY DEFINED AS FILE NAME. RECORD FORMAT(S): LIBRARY ART FILE CONTACT. EXTERNAL FORMAT CONTACT DROPPED DUE TO ERROR OR IGNORE. The program does work using only the ACCTINF file. The second data file, CONTACT is the problem. What is the best way to get around this 2122 error. TIA Art +--- | 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 +--- +--- | 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 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.