|
Hi List, I've a weird problem. I've a code as below in my java program.. if(System.getProperty("os.name").equals("OS400")){ 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 submitted. 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. rgds, Rajesh Anand Email:Rajesh_anand@xxxxxx -------------------------------------------------------- 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 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.