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


  • Subject: Re: Accessing files In QTEMP
  • From: Ken.Slaugh@xxxxxxxxxx
  • Date: Wed, 18 Oct 2000 08:56:50 -0700


Most likely the QTEMP file handling is, or should be, done with an OVRDBF
command to target the file in QTEMP. Instead, consider creating a
multi-membered file to contain the data.

Create the member 'on the fly' and use the OVRDBF command to target the new
member. A good approach for generating the member name could be something
like 'Axxxxxx', where xxxxxx is the job number of the interactive job. Then
pass the member name to the submitted job and do the OVRDBF command within
the batch job as well to select the records in the 'Axxxxxx' member. After
the data has been processed use the RMVM command to remove the 'Axxxxxx'
member.

Housekeeping.... During off hours or during IPL run the command RMVM
FILE(YOURFILE/YOURLIB) MBR(*ALL)

Ken Slaugh  (707) 795-1512 x118
Chouinard & Myhre, Inc.
AS/400 Professional Administrator/MSE
Client Access Specialist
http://www.cm-inc.com/


                                                                                
              
                    Frank Carpenter                                             
              
                    <fcarpenter@emedc        To:     RPG400-L@midrange.com      
              
                    o.com>                   cc:                                
              
                    Sent by:                 Subject:     Accessing files In 
QTEMP            
                    owner-rpg400-l@mi                                           
              
                    drange.com                                                  
              
                                                                                
              
                                                                                
              
                    10/18/00 06:29 AM                                           
              
                    Please respond to                                           
              
                    RPG400-L                                                    
              
                                                                                
              
                                                                                
              



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


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.