Hi,
Good afternoon. I'm Giri. I'm taking training on AS/400. I want to real time scenario for my question. Please can anybody give me valuable answers please.
What is meant by QTEMP? Where we can use this? Why we need QTEMP?
Note that the Accessing any job's QTEMP: tip is no longer valid on any supported version of i5/OS. The TRCJOB exit program parameter is unused as of V5R4.
A QTEMP library is a temporary library that is created for every job an that is deleted when that job ends.
You use QTEMP when you want to create temporary objects to use just within your job. Other jobs can't see those objects. Other jobs can't see your QTEMP; they only see their own QTEMP.
QTEMP is just a work area for objects that cleans itself up.
Tom
While the TRCJOB exit program was removed in V5R4, IBM did provide the Call Job Interrupt Program (QWCJBITP) API in V5R4 which can be used to access another jobs QTEMP (along with a host of other things). The API is documented here with an associated exit point documented here.
In my What's New with System APIs presentation I also have examples of using this capability.
Bruce Vining
The QWCJBITP API is what we switched to in V5R4. Due to changes from IBM on how authority is handled in V5, we had to make some significant changes. But overall, it's working well.
We also use the API in some product update/upgrade routines. We need to handle cases where some of our exit point solutions are actively in use within servers. The API lets us do things that weren't anticipated when the products were first installed on the target system.
Tom
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
Discuss This Question: 3  Replies