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



On 25 Jun 2013 13:58, Hoteltravelfundotcom wrote:
We have 2 files which contains warehouse locations data. They are
basically the same file but each has its record id and all fields
will conform to record id in the first 2 positions.

For reporting purposes, I can use 1 file but by just adding records
one to the other, I get the 2 sets of fields.

Is there a simple way to make this one file with one set of fields
that is instead of AABIN and BBBIN just AABIN.

I think with an RPG program I can write all fields to the new name.
But wondering is there a simpler way.

Given that nebulous description of the scenario, with a dearth of the specifics that should allow someone to offer an intelligent reply that will not be easily discounted\dismissed as impossible due to some restrictions that might be encountered... I believe the obvious solution is to use any non-RPG requests ;-) Any of OPNQRYF, CPYF, FMTDTA, COPY, IDDULINK, DSNQRYAPP, REXX, SQL [procedure result set, UDTF, VIEW, QMQRY, or ?], C, C++, JAVA, or something else might just provide a "simpler way" to effect whatever is desired :-)

I would be more confident in any reply I might offer, for example, if only I could intuit or divine the specifics of the "files", even possibly what are the data\types, and whatever already exists for the reporting purposes; i.e. what that existing feature requires, what form[at], to consume the data. But for the lack of a crystal ball, the actual details would probably be better than what I might conjure.


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.