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



Roberto

You might try using the /tmp directory in the IFS - this is actually a permanent directory - it is not like the QTEMP library, which is attached to each job and not visible to any other job.

You will probably want to ensure a unique name for the file that holds the statement. If you are current enough, there are new services for writing to the IFS that might help you do this with SQL.

You could also use the CPY or CPYTOSTMF to write from your QTEMP to /tmp.

HTH
Vern

On 11/12/2020 12:43 AM, Roberto De Pedrini wrote:
I've got some problem passing a long SQL statement to a Java app
(acsbundle.jar) so, as a workaround, I create a temporary view (create
view QTEMP.XXX) and then pass a "SELECT * from qtemp.xxx" to the JAR ...
but it doesn't work because qshell job is a different job and don't share
the same QTEMP library.
Now I create a view in lib, call qsh and then drop the view ... but I want
to know if there a way to use QTEMP or something similar in QSH environment.

Thanks
Roberto






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.