+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: Where do temp files go?

  1. #1
    Guest.Visitor Guest

    Default Where do temp files go?

    When a job runs and creates temporary files, where do they go? I've tried looking in QTEMP, but it's always empty. I've even tried purposely aborting a job in the middle of a run, but I can't find anything. Any ideas?

  2. #2
    Guest.Visitor Guest

    Default Where do temp files go?

    In case of Batch Jobs I heard that there is a QTEMP created for that Batch job and that cannot accessed by our interactive job.

  3. #3
    Guest.Visitor Guest

    Default Where do temp files go?

    Each job on the system gets its own qtemp library, when the job ends the qtemp library is deleted along with all it's contents. Someone correct me if I am wrong about this, but I believe that the qtemp library of job A cannot be accessed by job B

  4. #4
    Guest.Visitor Guest

    Default Where do temp files go?

    Jim: It sounds like you are running a batch job and, if, that is the case then QTEMP (which is a separate object tied to the batch job) is deleted after your job finishes. The QTEMP lib you a looking at in your interactive session is another object tied to your interactive job. Try this. At your interactive session, create a physical file in QTEMP. DSPLIB on QTEMP and you will see that the file is there. You can do an UPDDTA to it and add records to it and they will also be there. Sign off and sign back on and QTEMP will be empty again.

  5. #5
    Guest.Visitor Guest

    Default Where do temp files go?

    While a job is running and from that job do dspobjd *all/qtemp and you will see the objects; put the list in an outfile and read the outfile and do whatever with the objects in qtemp library for that job... You maybe can search this site for QTEMP and find some stuff. bobh

  6. #6

    Default Where do temp files go?

    Jim, What are you looking for in QTEMP? Why do you want to see/save these objects?

  7. #7
    Guest.Visitor Guest

    Default Where do temp files go?

    Job B can manipulate objects in job A's QTEMP library via various devious MI utilities. We use PeekPlus from Bytware for that; I think the Tango/04 product lets you do it, as may OpCenter from ASC. And job B can view what's in job A's QTEMP (but not manipulate the objects) if job B does WRKJOB JOB(999999/Job_A_User/A) OPTION(*LIBL) or WRKACTJOB and use option 5 then 13 on job A and if QTEMP is in job A's library list, then you can do option 5 on QTEMP. Otherwise, no.

  8. #8
    Guest.Visitor Guest

    Default Where do temp files go?

    Ken, Thanks for pointing out that it is possible for one job to access another jobs qtemp library. Do you have any examples of when & why this would be valuable? Steve

  9. #9
    Guest.Visitor Guest

    Default Where do temp files go?

    A client asked me if temp files hang around after a job crashes.

  10. #10
    Guest.Visitor Guest

    Default Where do temp files go?

    Nope!

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 11-02-2004, 03:01 PM
  2. Replies: 0
    Last Post: 11-01-2004, 02:37 PM
  3. Replies: 0
    Last Post: 07-29-2004, 07:08 AM
  4. Replies: 1
    Last Post: 01-16-2002, 10:21 AM
  5. Spool files to PC ASCII text files
    By Guest.Visitor in forum Programming
    Replies: 8
    Last Post: 03-10-1999, 12:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts