|
BTW, you can use the AboutToolbox utility (ftp://ftp.software.ibm.com/as400/products/javatoolbox/AboutToolbox/) to find out which version of the toolbox/JTOpen you're using. Gary -----Original Message----- From: Gary L Peskin [mailto:garyp@firstech.com] Sent: Wednesday, July 17, 2002 12:19 PM To: 'java400-l@midrange.com' Subject: RE: Retrieving a system value This was added as part of JTOpen 2.01 back in December of 2000. What version of JTOpen are you using? If you're not sure, you might want to download the latest release at http://oss.software.ibm.com/developerworks/opensource/jt400/downloads.ht ml I'm pretty sure that this will work in current releases of JTOpen. Gary > -----Original Message----- > From: java400-l-admin@midrange.com > [mailto:java400-l-admin@midrange.com] On Behalf Of Kendall Coolidge > Sent: Wednesday, July 17, 2002 11:29 AM > To: java400-l@midrange.com > Subject: Retrieving a system value > > > I am trying to retrieve the system value QPWDLVL (Password > Level) on a V5R1 machine using the following code: > > SystemValue sv = new SystemValue(mySys, "QPWDLVL"); > > ...but I keep getting the following exception: > > com.ibm.as400.access.ExtendedIllegalArgumentException: > QPWDLVL: Field was not found. at > com.ibm.as400.access.SystemValueList.lookup(SystemValueList.java:606) > at com.ibm.as400.access.SystemValue.<init>(SystemValue.java:106) > > As an experiment I tried retrieving a SystemValueList for the > security group (GROUP_SEC). In my debugger I could see 29 of > the security-related system values, but not QPWDLVL. I can > retrieve other system values with no problem. > > Anyone know what's going on? > > Thanks! > Ken
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.