× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



CPYF may be pretty efficient. However some of IBM commands are not - like
CPYFRMIMPF. We, and others, have determined that you can write your own
in RPGLE and not only will it be faster but
1 - You'll get around those pesky code page issues that IBM got picky on
with V5R3 and beyond.
2 - You'll get a better granularity of control. Meaning if you are
copying into your item master from an excel generated csv file and the
item number is too big for your file you can report exactly what the item
number is, etc. Instead of the generic message from CPYFRMIMPF.
3 - If you want to, you can add your own status messages. Like, record x
of y processed.

Failing that, I don't think submitting a job off and checking a job log is
going to buy you anything. Submitting a job off and RTVMBRD of the number
of records in the TO file may help (providing you're doing a replace and
not an add). You could even compare that with the records in the FROM
file and create your own sliding bar. Gee, I bet that would be fun to put
into a message file for display in the status line.
USR0001-
Record &1 of &2 of file &3 copied. 0%xxxxxxxooo100%
where xxxxxxxooo might be &4.

Have fun!

Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.