Skip to main content

This article explains how to override the ASCII default if EBCDIC is preferred.

Problem:

IDCAMS REPRO returning condition code 12 expecting condition code 12 same as on the mainframe. Checking SYSPRINT output and located JCLAM0183S(12) Character set mismatch. Copied without conversion. The catalog indicates the character set is EBCDIC and I have added MF_CHARSET=E to the configuration information of the server's "Server../Properites../General" tab.

Resolution:

Verify that the Server is running under the correct character set. Enterprise Server will run by default in ASCII character set mode unless MF_CHARSET=EBCDIC is set correctly. Verify that the MF_CHARSET=E is set only the first character is checked by checking "Env.Vars." within the Enterprise Server Monitor and Control browser page. If it was set and does not appear within "Env.Vars." the configuration information tag is not setup correctly. The first entry must be [ES-Environment] case sensitive before the environment variables will be added.

By default, Enterprise Server uses the ASCII character set. If you wish to use EBCDIC, you can override this default for an individual enterprise server.

To select ASCII or EBCDIC for an Enterprise Server, you use the environment variable MF_CHARSET. You specify it via Enterprise Server Admin. On the Edit page for the enterprise server, on the General tab, you make the following entry in the [ES-Environment] section of the Configuration Information field:

MF_CHARSET=E

or:

MF_CHARSET=A

You can enter these as follows for clarity if you wish. However, only the first character (E or A) is significant.:

MF_CHARSET=EBCDIC

or:

MF_CHARSET=ASCII

Incident Number: 2154302

Old KB# 14496

#MFDS
#EnterpriseDeveloper