× 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.



Prior to V5R3 I used to say use the commands CPYFRMSTMF or CPYFRMIMPF. But
V5R3 and beyond made it such a PITA with CCSID restrictions and what not
that I recommend rolling your own with the IFS APIs that Scott Klement has
an excellent free tutorial on.

Benefits of rolling your own:
- Believe it or not, yours will run faster than IBMs. The abomination
they do with SQL is a performance killer. Try theirs running under
STRDBG.
- You can handle the CCSIDs as you see fit.
- You get better granularity of control. Like if row x of the text file
has a 16 character item number and your item master only supports 15
characters then you can handle the exception gracefully. Trying to
determine where the problem is within CPYFRMIMPF can be mind numbing.

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.