Tpinky
4165 pts. | Nov 11 2008 9:33PM GMT
I responded to a previous question like this back in Sept. Here is the same response I gave then…
You could try using CPYTOSTMF instead of CPYTOIMPF.
CPYTOIMPF/CPYFRMIMPF uses the underlying DB2 engine. IBM, starting in V5R3, got fussy
about getting your CCSID correct. In previous releases I think IBM used
to do a CPYTOSTMF then a CPYTOIMPF. Breaking it down
into two tasks is another perversion that has shown some success. However
getting the CCSID right is best bet. It’s when you do things like
creating a temporary file in QTEMP that some utilities requires not to be
externally defined (CRTPF … RCDLEN(###) type of file) that makes it
tough.
Hope this helps…
Slack400
1165 pts. | Nov 13 2008 2:33AM GMT
I’m with Tpinky.
We’re doing the pervse method of using the STMF and then IMPF commands.






