×
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.
Hi
I have created a subsystem on AS400 and submit a java
job from CL,
The question i have is, AS400 job created in this
library will have library list of the submitting job
or users default library list.
Command in CL is as below.
java -Djava.version=1.5 -cp
/MAPS6304EHS:/MAPS6304EHS/MAPS_EHS6304build01-00.jar:/MAPS_EHS/lib/log4j-1.2.14.jar:/MAPS_EHS/lib/ibatis-2.3.0.677.jar:/MAPS_EHS/lib/commons-httpclient-3.1.jar
com.myprogram.StartApp
In my StartApp i create a AS400 connection using
following command
AS400 as400 = AS400("localhost", "*CURRENT",
"*CURRENT");
And then i use the following command to get the
library list for this as400 object
boolean b = command.run("dsplibl");
Job job = command.getServerJob();
String [] libraryList = job.getUserLibraryList();
The library List is get is for this user *current, but
not of the CL program submitting this job, is this
normal or am i missing some thing
Ashish
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
As an Amazon Associate we earn from qualifying purchases.