Dann probier mal noch bitte folgendes:

When the O_TEXT_CREAT flag and its prerequisite flags are not set, the specified or derived CCSID is the CCSID in which data is to be returned (when reading from a file), or the CCSID in which data is being supplied (when writing to a file).

Mit der Interpretation, dass dies Binary-Mode ist.

https://www.ibm.com/support/knowledg...htm#HDRIFSCCSD