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



Did it let you to rename the Record Format Name?
With prefix you rename the fields, but for record names with RENAME(current:new) should be enough.
~jmerinoh

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan Shore
Sent: Friday, December 30, 2011 7:39 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Using 2 external print files in one program

Morning all
We have a program (PROGA) that uses an external print file (PRTF01 - ipds) which is also used in other programs.
There is a need to change PROGA to use a second print file (PRTF02 - afpds). This second print file is also used in other different programs.
My predicament is that there are field names and record names in BOTH print files that are the same.
I attempted to use prefix on the PRTF02 but that doesn't work on record names I thought of the following remedies :- Changing the field names and record names in PRTF02 - this will also mean changing ALL the other programs that use this print file.
Creating a copy of PROGA that uses PRTF02 instead of PRTF01 - this will mean changing the program(s) that call PROGA to somehow recognize whether or not to call PROGA and/or PROGB. Using this method will mean that any future changes MAY need a change to BOTH programs As always, any and all suggestions will be gratefully appreciated

Alan Shore
Programmer/Analyst, Direct Response
E:AShore@xxxxxxxx
P:(631) 200-5019
C:(631) 880-8640
"If you're going through Hell, keep going" - Winston Churchill

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.