Hi List,

        I've a weird problem.

        I've a code as below in my java program..

                 as400 = new AS400("localhost", "*CURRENT", "*CURRENT");

        This pgm works fine when I call it using RUNJVA cmd from the
command line.

        However, when I use submit job and use another userid which is
disabled, then my java pgm prints out "User id disabled" in Qprint.

        Why does it not use the user id specified in the pgm when

        Or how can I force it to ignore the user calling the java pgm
and use the credentials specified in the Java Program.

        Try this out??

        I'm shocked as to why it doesn't work.

        Any help will be greatly appreciated as always.


Rajesh Anand

If you are not an intended recipient of this e-mail, please notify the sender, 
delete it and do not read, act upon, print, disclose, copy, retain or 
redistribute it. Click here for important additional terms relating to this 
e-mail.     http://www.ml.com/email_terms/

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-2022 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.