Hi
I am having a issue with one user when i try to issue
any command from AS400 object,

Does anyone have any idea, and it happens only for one
user, i tried to make the user QSECOFR and still get
this error.

Here is the code and error i am getting

AS400 as400 = new AS400(system, user, password);
as400.connectService(AS400.COMMAND);
CommandCall cmd = new CommandCall(as400);
boolean flag = cmd.run("CHGLIBL (QTEMP QGPL)");

Error message
com.ibm.as400.access.ErrorCompletingRequestException:
Exit program denied request.
at
com.ibm.as400.access.RemoteCommandImplRemote.processReturnCode(RemoteCommandImplRemote.java:451)
at
com.ibm.as400.access.RemoteCommandImplRemote.runCommand(RemoteCommandImplRemote.java:221)
at
com.ibm.as400.access.RemoteCommandImplRemote.runCommand(RemoteCommandImplRemote.java:188)
at
com.ibm.as400.access.CommandCall.run(CommandCall.java:579)
at
com.ibm.as400.access.CommandCall.run(CommandCall.java:610)
at
com.ashishk.test.TestAS400Connection.<init>(TestAS400Connection.java:36)
at
com.ashishk.test.TestAS400Connection.main(TestAS400Connection.java:88)



A$HI$H




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.