This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes Java + AS400 API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java + AS400 API" Watch "Java + AS400 API" New topic
Author

Java + AS400 API

Giuseppe Giovanni
Greenhorn

Joined: May 07, 2003
Posts: 1
Hello everybody,
has someone used the QUSRTVUS AS400 API ?
If yes, can you post a sample of code ?
I can't read then receiver variable.
Thank in advance.
Giuseppe.
James Swan
Ranch Hand

Joined: Jun 26, 2001
Posts: 403
Hi,
Can't say I have used the retrieve userspace API from java, and also I'm not sure of the way you're trying to invoke the cmd.
(I'm assuming since your posting this here, you want a java solution)
I was just reading through IBM's Java Toolbox, access classes API's:
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/info/rzahh/uspace.htm#uspex1
And saw that there is a UserSpace class.
Have you tried something similar to this:

I am nowhere near an AS400 these days so can't try out the code.
Another forum you might try is:
http://www.ignite400.org/html/forum.htm
Anyway, good luck.
James.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java + AS400 API