Thanks for your reply Jorge, but as I said in a prior e-mail, I had NOT explained myself clearly what so ever.
My sincere apologies
Once I have things straight in my mind, I will attack this project. Hopefully I won't need to bother this list
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
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jorge Merino
Sent: Friday, December 30, 2011 10:05 AM
To: Midrange Systems Technical Discussion
Subject: RE: Using 2 external print files in one program
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.
--
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.