|
Try retrieving it to an IFS file first. Could be any number of things.
For example:
1 - Number of records allowed in your PF.
2 - Record size of your PF. That record you are dying on may be larger
than the record size of your PF.
...
And I don't recommend using CPYFRMSTMF or CPYFRMIMPF. I would use Scott's
IFS APIs instead. Why? Because if you are already dying on a bad record
those CPY* commands will not tell you much more. But if you roll your own
you can have better granularity of what the problem is.
Change
> GET RC773001.TXT fblib/xxxWRKFP (REPLACE
To
> namefmt 1
> GET RC773001.TXT /myDir/RC773001.txt (REPLACE
Rob Berendt
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.