|
It's not unusual (unfortunately) that much of our legacy code
will use CPYF like this: (usually to save copies of data before
program execution).
CPYF FROMFILE(file) TOFILE(library/file)
This obviously makes controlled testing difficult. I would like
the target library to be elsewhere.
My constraints are that :
1) I cannot change the code
2) I must run the complete job stream - I can't choose the bits
and pieces I want and customize the rest.
I'm trying to find a way to control this somehow. OVRDBF doesn't help because the file names are the same. I thought of a DDMF in the target library & pointing elsewhere, but of course that's a duplicate file name in that library so I'm stuck again. There is
no OVRLIB (override library) command that I'm away of.
Does anyone have an idea how I could execute some function prior
to calling the offending program that would let me 'override' the
target library?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.