|
Hi Frank, Well, each job has its own QTEMP library which is created when the job starts and deleted when the job ends. There are definitely ways to achieve what you would like to do (see replies from Martin, Chris or Rob) and these solutions would not necessarily imply the use of QTEMP. However, I think it would definitely be better to have the creation and the processing of this file within the same job. Using this scenario, you wouldn't have to add extra code for the creation of your own temp library or your own file keyed with JobName/User/JobNumber (for which you would have to add code to maintain it). IMHO, this scenario is the one to go for if you want something that is easy to write and more immportantly to maintain. Cheers, Fabrice Calmelat ITech International Ltd - +44 (0) 798 99 77 601 -----Original Message----- From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com]On Behalf Of Frank Carpenter Sent: 18 October 2000 14:29 To: RPG400-L@midrange.com Subject: Accessing files In QTEMP Hi all I'm sure this is an easy way to do this that I don't know about. I have an RPG program that produces a file in QTEMP. The job then submits a second job. I need to be able to access the files created in the QTEMP library from the first job. How can I pass the files with the submitted job? I want to use QTEMP because several users can be running this job at the same time and QTEMP will allow me to have individual copies of the same files without banging into each other. Any help/suggestions would be appreciated. Frank Carpenter EMED Co., Inc. fcarpenter@emedco.com <mailto:fcarpenter@emedco.com> 716 626-1616 ext. 374 +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.