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



V5R3 and above did their level best to destroy any usefulness of CPYTOIMPF
and CPYFRMIMPF. You should read the "Memo To Users" for V5R3. They have
at least one section dedicated to these commands in there.

First V5R3, got real picky about CCSID. Not that it should be causing
your current issue. That will come after you can get the data there and
find it may be unreadable.

Second, CPYTOIMPF does a lot of SQL under the covers. If you run STRDBG
UPDPROD(*YES), without specifying any program, and they try a CPYTOIMPF
you'll see a ton of SQL stuff in your joblog.

Based on the bad performance of this,
and, the issues with CCSID,
and, I can get better granularity of control when I roll my own
I stopped using CPYTOIMPF and CPYFRMIMPF and use APIs in RPGLE to access
the IFS directly. Scott Klement has a fine free online tutorial on this.

Also, if you do a
WRKPTFGRP
what do you see?

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.