|
Thanks
"Dave Wall" <dawall@us.ibm.com> on 23/01/2002 18:49:48
Please respond to java400-l@midrange.com
To: java400-l@midrange.com
cc: (bcc: Marc Nothum/EPT)
Subject: Re: Calling an CL-programm on V5.1
Try adding cmd.setThreadSafe(false) while I talk to the command call
developer. That will force the call to go through the command call server,
which is single threaded.
David Wall
AS/400 Toolbox for Java
Marc_Nothum@ept.l
u To: java400-l@midrange.com
Sent by: cc:
java400-l-admin@m Subject: Calling an CL-programm
on V5.1
idrange.com
01/23/2002 04:49
AM
Please respond to
java400-l
Hi,
First, thanks to Gary for the quick response to my previous problem.
I use the Command-call from the toolbox to call an CL-program as following:
import com.ibm.as400.access.*;
AS400 sys = new AS400("localhost");
CommandCall cmd = new CommandCall(sys);
cmd.run("CALL PGM(GF2010BJ) PARM('U' 'D' ' .............. ");
It stops with the error message: <AS400Message (ID: CPD000B text: GF2010BJ
not
safe for job with multiple
threads.):com.ibm.as400.access.AS400Message@5cc7ad8a>
The CL-program is part of a package software and it is not possible for me
to
change it.
This problem also is new on OS400 V5.1 and works on V4.4
Any ideas?
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 mailing list archive is Copyright 1997-2025 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.