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



Iam going to try your solution suggested whether it works for me today.
I would be thankful if you can write a bit in detail.
Thank you,

murali dhar <hydchap1@xxxxxxxxx> wrote:
Thanks Joe for your valuable answer.
I would like to few more clarification on your answer how we can make java 
process successful to use QTEMP file.
whats QZRCSRVS? I reuest you write few more lines , Im new to Java just like 
other AS400 folks.
Thank you very much for your time,
Murali.

Joe Pluta wrote:
Correct. The workaround is to have the Java program use the toolbox.
Create an AS400 object and then use that to create a ProgramCall or
CommandCall object that in turn creates the QTEMP file. The file will
be created in the QTEMP library of the QZRCSRVS job for that AS400
object. Then, any subsequent calls using that same AS400 object will be
able to access the QTEMP library.

Joe

> From: murali dhar
> 
> when a CL creates a work file in QTEMPand any java process that wants
> to use that QTEMP file , whether it will work or not?
> 
> I say its no because runjva command initiates the jvm which spawns a
> new child job with a new qtemp and that new qtemp doesnt have the
> original parent.
> QTEMP and its contents and thus fails....

-- 
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) 
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.



---------------------------------
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
-- 
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) 
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.