Re: Language



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,

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.
That's not the language code, that's the load-id of the language part of a
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'


.



Relevant Pages

  • Re: Retrieving footer date format in PowerPoint
    ... Right now, I can only retrieve the date and the format in English, but ... When you say "if it is set to some other language" what exactly do you mean? ... What exact data do you get back and what code are you using now to get at it? ... Steve Rindsberg, PPT MVP ...
    (microsoft.public.powerpoint)
  • Re: Language file, Best practice
    ... my users to translate the site if they really feel the urge to do it. ... page titles) into a database and retrieve the needed language on ... If you think it would be faster, you can save it in both the database ...
    (comp.lang.php)
  • HashMap or Property
    ... sort of like those in java? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Language
    ... I mean where can I find the language code like 2924, ... 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 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. ...
    (comp.sys.ibm.as400.misc)
  • Re: java.util.zip Limitations
    ... language, believing less is more. ... With Java, the "API" is so large, and growing, it is approaching the ... ZipFile cannot be used ... right to "demand" reasonable behavior from the language developers, ...
    (comp.lang.java.programmer)

Loading