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



On 25-Nov-2013 18:49 -0800, Steinmetz, Paul wrote:
Three more V7R1 OS upgrade issues.

1) CPYFRMSTMF resulting in incorrect output, probably due to CCSID
of 65535 on to file. <<SNIP>>

The default for the Database file CCSID (DBFCCSID) parameter is the special value *FILE which suggests that if the to-file is program-described and the Data conversion option (CVTDTA) parameter suggests to perform character conversion, then the /default job CCSID/ will be used to translate from the inferred or specified Stream file code page (STMFCODPAG) or Stream file CCSID (STMFCCSID). If the to-file is a database source physical file with CCSID(*HEX), then the copy should fail [would have in older releases] with CPDA08C "Database file CCSID is 65535." rather than producing untranslated text.

The /default/ job CCSID comes from the associated-CCSID for the Language Identifier (LANGID) of the job, if the job did neither resolved a CCSID from the User Profile (*USRPRF) object nor had a CCSID explicitly set with the Change Job (CHGJOB) command. Be sure that either a non-hex [i.e. not 65535] CCSID is set for the user, or that the user has the desired LANGID established, and that the desired values established in the job are set from those, or are explicitly set within the job to desirable values.

Of course whether any of that is relevant is unknown, because "incorrect output" for use of Copy From Stream File into a file with CCSID(*HEX) is too nebulous.


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.