From old PMRs, we were told to avoid 65535 for CCSID.
We had PF that were 66635, we changed them to 37.
Most of our issues/problems went away.
Database file CCSID (DBFCCSID)
Specifies the method of obtaining the database file CCSID used for data conversion.
This parameter is ignored when copying to a save file.
*FILE
The database file CCSID is used, unless it is 65535. If the database file CCSID is 65535, and the file is not a program-described file, the operation will fail. If the database file CCSID is 65535, and the file is a program-described file, the default job CCSID is used.
1-65533
Specify the database file coded character set identifier (CCSID). This option is valid only if the database file CCSID is 65535 or is the same as the CCSID specified. Otherwise, the operation will fail.
Paul
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Justin Taylor
Sent: Tuesday, February 13, 2018 1:26 PM
To: MIDRANGE-L (midrange-l@xxxxxxxxxxxx)
Subject: CPYFRMSTMF & character conversion
I have a process that uses CPYFRMSTMF to copy stream files in the QNTC file system into a flat PF. The stream files are CCSID 1252, and the PF 65535 (it doesn't seem that a flat PF can be anything else). This all works well, until the stream file contains French characters. In the PF, the French characters become two characters.
Any suggestions on how to get the conversion done?
Stream file -> ??? -> Flat PF
I'm down to using IFS API's and doing it manually.
TIA
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.