Determining the Size of QTEMP
In the 7.2 release, the List Job (QUSLJOB) and the Open List of Jobs (QGYOLJOB) APIs were enhanced to return the size of QTEMP.
By Dawn May03/06/2017
The blog entry “QTEMP – Temporary or Permanent Storage,” was written before IBM i 7.2 was available, but it’s still applicable. That blog explained how storage used by a job’s QTEMP library is actually permanent storage, and it also included some tips on how to determine the size of QTEMP for a job.
In the 7.2 release, the List Job (QUSLJOB) and the Open List of Jobs (QGYOLJOB) APIs were enhanced to return the size of QTEMP. The value returned is simply the amount of storage used by objects in the job’s temporary library. These APIs provide a simpler approach to determining the size of a job’s temporary library than many of the other options that were previously available.
I suspect a few readers may be asking, “What about accessing this information with an IBM i service?” I have already asked Scott Forstie to consider this for a future enhancement.
Dawn May is an IBM i consultant. She owns Dawn May Consulting, LLC in the Greater Boston area. Dawn is a former IBM senior technical staff member.