Re: Language
- From: "Ace" <no@xxxxxxxx>
- Date: Fri, 6 Mar 2009 14:16:58 +0100
Thanks,
I will go for the RTVSYSINF.
Ace
"Dr.UgoGagliardelli" <do.not.spam.me.please@xxxxxxxxxx> schreef in bericht
news:49b11fb6$0$709$5fc30a8@xxxxxxxxxxxxxxxxxx
il 06/03/2009 13.39, Scrive Ace 43651728:
Hi all,That's not the language code, that's the load-id of the language part of a
I need to know what language the system is. I know, with my own eyes I
can see it, but how can I detect this in a program. I mean where can I
find the language code like 2924, 2923 etc.
product. Then a system can have multiple languages installed and one
primary language.
If you want to know what's the primary language is or which languages
where installed, you should use Software Products APIs, e.g. Retrieve
Product Information (QSZRTVPR) API.
If you want to know instead, what's the language of a job you can retrieve
job attributes with QUSRJOBI API or if you're intrested in current job
attributes you can use RTVJOBA command too.
Job attributes that have to do with language are LANGID, CNTRYID and
CCSID. You can retrieve also the LOCALE from the current user.
Same attributes have a correspondance in QLANGID, QCNTRYID, QCCSID and
QLOCALE system values, that are defined for the system but can be
ovveridden by a definition in a JOBD, USRPRF or changing current values,
e.g. via CHGJOB command.
--
Dr.Ugo Gagliardelli,Modena,ItalyCertifiedUindoscrasherAñejoAlcoolInside
Spaccamaroni andate a cagare/Spammers not welcome/Spammers vão à merda
Spamers iros a la mierda/Spamers allez vous faire foutre/Spammers loop
schijten/Spammers macht Euch vom Acker/Spamerzy wypierdalac'
.
- Follow-Ups:
- Re: Language
- From: Dr.UgoGagliardelli
- Re: Language
- References:
- Language
- From: Ace
- Re: Language
- From: Dr.UgoGagliardelli
- Language
- Prev by Date: Re: Language
- Next by Date: Re: Language
- Previous by thread: Re: Language
- Next by thread: Re: Language
- Index(es):
Relevant Pages
|
Loading