Gary,
I hate, abhor, loathe, despise (and other words that may start getting me 
blocked) CPYTOIMPF.
If you simply do a 
STRDBG UPDPROD(*YES) and specify no program name and then run
CPYTOIMPF...
ENDDBG
DSPJOBLOG
you will see a LOT of sql that is done under the covers.
I would have to say that many release upgrades have changed how I used 
CPYTOIMPF with each upgrade.  With each upgrade I would have to modify 
each program that used CPYTOIMPF.  The Memo to Users have started saying 
this, upon my tantrums to IBM.  Some would argue that if I had my file 
CCSID set correctly AND THE DATA WITHIN THE FILE set with the right CCSID 
then I wouldn't have this issue, (or maybe not as often).
I just use this instead:
http://www.scottklement.com/presentations/#RPGIFS
Reiterating one point.  Just because you do a DSPFD and see the file is 
set to one CCSID does not mean that the data within the file is set to 
that id.  I could give you more details but I want to go play outside.
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.