ILE COBOL Programmer's Guide

Assigning a CCSID to a Locale

A CCSID is assigned to each locale when it is created on the system. Unlike a file, you have to specify a CCSID when you create the locale. You do this by specifying the CCSID parameter on the CRTLOCALE (Create Locale) command. For example, to create a locale with CCSID 273, type:

CRTLOCALE LOCALE('/qsys.lib/testlib.lib/en_us.locale')
SRCFILE('/qsys.lib/qsyslocale.lib/qlocalesrc.file/en_us.mbr')
CCSID(273) 


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