My apologies.
I just read what I wrote and I have NOT explained myself very clearly.
Man I need this 3 day weekend.
I never even mentioned ANYTHING about the PAGE SEGMENTS etc.
Please ignore this question. I will attack this problem next week when (hopefully) my mind can think clearer.
Again - my apologies
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 Alan Shore
Sent: Friday, December 30, 2011 9: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.