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





Thanks





"Gary L Peskin" <garyp@firstech.com> on 23/01/2002 08:52:13

Please respond to java400-l@midrange.com

To:   java400-l@midrange.com
cc:    (bcc: Marc Nothum/EPT)

Subject:  RE: Running an OS400 command on V5.1



See http://www-1.ibm.com/servers/eserver/iseries/toolbox/faq.htm#faqT

> -----Original Message-----
> From: java400-l-admin@midrange.com
> [mailto:java400-l-admin@midrange.com] On Behalf Of Marc_Nothum@ept.lu
> Sent: Tuesday, January 22, 2002 11:30 PM
> To: JAVA400-L@midrange.com
> Subject: Running an OS400 command on V5.1
>
>
>
>
>
> Hi,
>
> I encounter a problem when calling an OS400 command from a
> Java-program (on OS400, V5.1):
>
> Exception running OS400-command: CRTLIB
> MANOLIB1com.ibm.as400.access.AS400SecurityException: Password
> is not set.
> com.ibm.as400.access.AS400SecurityException: Password is not set.
>
> I use the following instructions:
>
> import com.ibm.as400.access.*;
> AS400 sys = new AS400("localhost");
> CommandCall cmd = new CommandCall(sys);
> cmd.run("CRTLIB MANOLIB1");
>
> The problem is new on OS400 V5.1, and the program works
> correctly on OS V4.4.
>
> Replacing the first instruction by <AS400 sys = new
> AS400("localhost", "*current", "*current");> does not make any change.
>
> But replacing the instruction by <AS400 sys = new
> AS400("10.11.12.13", "nothum", "12345678");> resolves the problem.
>
> As the program should run the OS400-calls on the local
> machine (same AS400 as the one, that starts the Java-class)
> and it is not our policy to hardcode user-names and passwords
> I need a way to work as in the previous version.
>
> Any help would be appreciated,
>
>      Marc
>
>
> _______________________________________________
> 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.
>

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