PDA

View Full Version : How can I retrieve the LIBL of a batch j



Guest.Visitor
01-01-1995, 02:00 AM
Hi! I am using a client-server app and I need to access from the interactive job a file that is in the QTEMP of the batch job ... So how can I access the LIBL from the batch job to work with this file? SS.

David Abramowitz
03-06-1999, 04:58 AM
On Saturday, March 06, 1999, 03:55 AM, Sílvio Santos wrote: Hi! I am using a client-server app and I need to access from the interactive job a file that is in the QTEMP of the batch job ... So how can I access the LIBL from the batch job to work with this file? <hr>Change the AS/400 job, so that the temporary files are placed in a library other than QTEMP. David Abramowitz

J.Pluta
03-07-1999, 11:47 AM
<font color=blue>On Saturday, March 06, 1999, 03:55 AM, Sílvio Santos wrote: I am using a client-server app and I need to access from the interactive job a file that is in the QTEMP of the batch job ... So how can I access the LIBL from the batch job to work with this file? </font><hr> <font color=green>On Saturday, March 06, 1999, 05:58 AM, David Abramowitz wrote: Change the AS/400 job, so that the temporary files are placed in a library other than QTEMP. </font><hr> If you would like a separate library for each job that can be accessed from other jobs, I suggest creating a library name such as TEMPnnnnnn, where "nnnnnn" is your job number: <pre> RTVJOBA NBR(&NBR) CHGVAR VAR(&TEMPLIB) VALUE('TEMP' *CAT &NBR) CRTLIB LIB(&TEMPLIB) </pre> Now use &TEMPLIB in place of QTEMP. Remember to DLTLIB(&TEMPLIB) at the end of your job, or you'll end up with a bunch of TEMP* libraries lying around. <a href="//www.zappie.net/java?phpMyAdmin=MzvdqLOMiN7HL4yz2OU82BJvkG9"><img > src="//www.zappie.net/java/_derived/index.htm_cmp_zero110_vbtn_p.gif" width="140" height="60" border="0" alt="Zappie's Java Home" align="middle"></a>