× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Gary,

Ahh, ok.  Let me make sure that what I'm running in my development
environment vs. what is on the 400 is what I expect.  That could be the
problem.

Thanks for all your help.
Ken

-----Original Message-----
From: Gary L Peskin [mailto:garyp@firstech.com]
Sent: Wednesday, July 17, 2002 4:15 PM
To: java400-l@midrange.com
Subject: RE: Retrieving a system value

Ken --

I haven't quite figured out the correspondence between the Toolbox
releases and PTFs versus the JTOpen releases except that the toolbox is
pretty far behind JTOpen.  There is a table built in the SystemValueList
class that contains the allowable system values for each release -- the
class doesn't just rely on what is present on the 400.  So, if you're
using an older version of the SystemValueList class, it won't have the
QPWDLVL value in the table.  Another test would be to try QMAXJOB which
was put into the table in the same release.

I see that the download site is down.  The IBM site, in general, seems
to be kinda screwed up because all links to http://www.as400.ibm.com/...
seem to not be working either.

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 12:59 PM
> To: java400-l@midrange.com
> Subject: RE: Retrieving a system value
>
>
> Gary,
>
> We often turn toolbox tracing on.  When we do, the first line
> in the spool file reads:
>
> "Toolbox for Java - Version 5 Release 1 Modification level 0.3"
>
> The JTOpen site seems to be down at the present time.  I'll
> try again later.  Doesn't it seem odd that I can retrieve
> some system values but not QPWDLVL.
>
> Thanks for the suggestions,
> Ken
>
>
>
> -----Original Message-----
> From: Gary L Peskin [mailto:garyp@firstech.com]
> Sent: Wednesday, July 17, 2002 3:27 PM
> To: java400-l@midrange.com
> Subject: Re: Retrieving a system value
>
> BTW, you can use the AboutToolbox utility
> (ftp://ftp.software.ibm.com/as400/products/javatoolbox/AboutTo
> olbox/) 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/do
> wnloads.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

_______________________________________________
This is the Java Programming on and around the iSeries / AS400
(JAVA400-L) mailing list
To post a message email: JAVA400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
or email: JAVA400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.