× 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: records
  • From: "Mark Walter" <mwalter@xxxxxxxxxx>
  • Date: Fri, 12 Nov 1999 11:46:13 -0500

I think the problem is that the file and the record format are the same
name. Rename the record format in the F spec and it should be o.k.
-----Original Message-----
From: Art Baker <Art_Baker@baan.com>
To: 'rpg400-l@midrange.com' <rpg400-l@midrange.com>
Date: Thursday, November 11, 1999 5:12 PM
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 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.