Job CCSID

The CCSID of the job is always an EBCDIC CCSID. ASCII and Unicode job CCSIDs are not supported. Data read from files is sometimes in the job CCSID. Some functions (for example, getenv()) produce job CCSID output; some functions (for example, putenv()) expect job CCSID input. The CCSID used most often by the C runtime is the CCSID of the LC_CTYPE category of the current locale. If the job CCSID does not match the locale CCSID, conversion might be necessary.

Using the JOBI0400 receiver variable format, the job CCSID value can be retrieved at run time using the QUSRJOBI API. The Default Coded Character Set ID field contains the job CCSID value.



[ Top of Page | Previous Page | Next Page | Contents | Index ]