|
<<SNIP>>
The application includes a screen similar to the CPYF prompt
screen itself, I'm assuming that whatever values I key there for
filename and FROM/TO key values are simply passed to CPYF. I
expect that the vendor isn't trying to validate that the values
"make sense" for the given file name and simply rely on CPYF
validating the parms.
<<SNIP>>
I was originally thinking CPYF should be ok, as the file in
question has 3 key fields, all signed. But for my purposes, the
only key field that matters in the first one and I'm only looking
for a specific value, not a range. But I couldn't get it to
work.
In any event, I'm now think that QIBM_QCA_CHG_COMMAND isn't going
to help either because the vendor must have another piece of the application that deletes existing records in the TOFILE for the specified FROMKEY/TOKEY range before they actually invoke CPYF.
Since it doesn't appear that CPYF itself handles replacing a
specific range of records.
Another thought is a select/omit logical that omits the negative values and redefines the key fields from signed packed to
unsigned zone. As there really shouldn't be any negative keys in
production. I might play some with that possibility.
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 copyright@midrange.com.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.