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



AFaIK the job CCSID is used by the CPYTOIMPF only for treating the literals on the command, not for [overriding] the columns\fields of the database file. Thus the problem is presumably with how the file was created. That is, I expect that the "temporary file" noted was created as a program-described file [e.g. CRTPF RCDLEN(specified) or BLDFILE], which has no support for a CCSID of its [effectively] one column\field. Remove the temporary file from processing, or use a temporary file which has its text field(s) assigned with a CCSID which properly describes the data.

As to QCCSID and job CCSID [the question "What is ..." seems incomplete], the user profile is IMO the best place to define the CCSID appropriate to the user for their default\expected language environment. Thus CHGPRF CCSID(desired), and the job CCSID will automatically be set from that value.

Regards, Chuck

donna lester wrote:
Since the V6R1 upgrade we are having issue with CPYTOIMPF
conversion issue, the implicit data conversion is using the job
CCSID (which is using the system value QCCSID) which defaults to
65535. 65535 means that data conversion will not implicitly
convert the data. So when I build a temporary file, it will
default to the job ccsid 65535. And when I run the CPYTOIMPF to
an ASCII stmf file, the data conversion is ignored and the ASCII
file looks like garbage.

What is the IBM solution other than changing QCCSID system value
to 37 or something thats not 65535 / using CHGJOB CCSID


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.