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



Your record format has to be different that the physical file name. Override
it in the pgm or rename the physical to make the format and file name
different.
Tom

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Bob Anderson
Sent: Thursday, February 22, 2007 11:02 AM
To: RPG programming on the AS400 / iSeries
Subject: Reading a file created by Query

Good Afternoon,
        I am creating a file from query that is read into an RPGIV
program. 

In the RPG program I am using an Externally defined file as the file
definition and it has an EXTMBR value.

The query creates the file as a subset of the master file.  

When the read occurs I am getting an
"Undefined record type is found in file PRHSTD"  

I am stumped anybody have any ideas.

Thanks in advance

Bob Anderson
IT Guy
Kent Sporting Goods
433 Park Ave. S
New London OH 44851
419-929-7021 x315
email: banderson@xxxxxxxxxxxxxxxxxxx
 


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.