• Subject: RE: How to access a file from QTEMP.
  • From: Adolfo López Escribano <escriban@xxxxxxxxxxxx>
  • Date: Tue, 14 Mar 2000 09:02:17 +0100

Title: How to access a file from QTEMP.
I don´t know if it's a solution but try to compile your SQLRPGLE pgm with *CALLER activation group option.
 
----- Mensaje original -----
Enviado: martes 14 de marzo de 2000 6:13
Asunto: How to access a file from QTEMP.

Hi,
I have a coded a java servlet that calls an AS/400 SQLRPGLE program.
The rpg program creates a file in QTEMP library and populates it.
I have written a stored procedure that reads data from this file.

I am calling the RPG using ProgramCall class.
Since CallableStatement is a separate connection, my QTEMP file is not visible to it.

Is there a way to solve the above problem.
We have to use QTEMP as it's a temporary file and we don't want to write separate house keeping routine to clean it after each connection.

Thanks in advance
Guru



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