_EDC_AUTOCVT_BINARY

If automatic file conversion is enabled (_BPXK_AUTOCVT=ON and running with FILETAG(AUTOCVT) runtime option), this environment variable activates or deactivates automatic conversion of untagged UNIX file system files opened in binary mode and not opened for record I/O.

The value of this environment variable is checked every time a UNIX file system file is opened. If automatic file conversion is enabled and _EDC_AUTOCVT_BINARY=YES, an untagged file opened in binary mode will trigger the file to be automatically converted from the program CCSID to the EBCDIC CCSID as specified by the _BPXK_CCSIDS environment variable. If _BPXK_CCSIDS is not set, a default CCSID pair is used. See _BPXK_CCSIDS environment variable for additional details.

_EDC_AUTOCVT_BINARY can be set to the following values to set the conversion state for binary files.

NO (default)
If automatic file conversion is enabled, an untagged file opened in binary mode will not trigger the file to be automatically converted from the program CCSID to the EBCDIC CCSID as specified by the _BPXK_CCSIDS environment variable. If _BPXK_CCSIDS is not set, a default CCSID pair is used. See _BPXK_CCSIDS environment variable for additional details. An untagged file opened in text mode will not be affected.
YES
If automatic file conversion is enabled, an untagged file opened in binary mode and not opened for record I/O will trigger the file to be automatically converted from the program CCSID to the EBCDIC CCSID as specified by the _BPXK_CCSIDS environment variable. If _BPXK_CCSIDS is not set, a default CCSID pair is used. See _BPXK_CCSIDS environment variable for additional details.
Note: If this environment variable is not set, the default behavior is chosen, which is the same as _EDC_AUTOCVT_BINARY=NO. Because this environment variable is checked on every file open, an application can pick up the changes to this environment variable by closing and then re-opening the file at execution time. The application itself does not need to be restarted.