Each user profile has a default *LOCALE. See also the system value
QSETJOBATR that controls whether certain job attributes will be set
based on the *LOCALE for the user profile, rather than from the normal
defaults (from the *JOBD, or from the *USRPRF, etc.). Type DSPUSRPRF
for a user profile on your system and page down until you see ":Locale
job attributes" and "Locale" for that user profile.
You could do something like this:
DSPOBJD OBJ(QSYS/*ALL) OBJTYPE(*LOCALE) OUTPUT(*OUTFILE)
and then you would have a database file (table) containing the
names of all the *LOCALE objects, and their text description seems to
contain the corresponding CCSID (although they are not formatted
consistently, so you may need to trim extra blanks). (The locale names
seem to be a concatenation of language code, underscore and country code.)
But, what is it that you are trying to accomplish, that you need to
"find a specific locale object for a particular CCSID or language"
All the best,
Mark S. Waterbury
> On 11/4/2010 11:20 AM, Erik Olsson wrote:
Does anybody of a place on the system where one can find a specific locale
object for a particular CCSID or language? There is such a table printed in
the Qshell manual but I'd rather not have to hardcode all that myself.
CCSID Corresponding locale