U* files in library QGPL

m_powell

Active Member
Hi everyone

Does anyone have a quick way to delete these files from an iSeries/AS400? A CL command perhaps? If anyone has and would like to share it, I would really appreciate it.

Thanks

Malcolm
iSeries V5R2
EnterpriseOne XE SP22_Q1
 
Malcolm,
Work Object PDM - filter on library QGPL
Name: U*
Type: *file

Place a 4 next to the first file then press F13,
this will place a 4 to delete next to each file,
Press enter - check the confirmation screen
 
Someone here posted a CL somehere. You can do this too.

WRKOBJ OBJ(QGPL/U*)

We have other files starting with U we don't want to delete. Find the number sequences they are at (eg U87nnn, U88nnn). Then submit the delete file command to batch.

SBMJOB CMD(DLTF FILE(QGPL/U87*))
SBMJOB CMD(DLTF FILE(QGPL/U88*))

Grant
 
Messy but it works:

/*******************************************************************/
/* */
/* CREATED BY: P.CLARK DATE: 03/04/2003 */
/* REVISED BY: DATE: */
/* */
/* TITLE: SCRIPT TO CLEANUP TEMPORARY FILES FROM THE SYSTEM */
/* */
/*******************************************************************/

DEL OBJLNK('/tmp/qacx')
MONMSG MSGID(CPF0000)
DLTF FILE(QGPL/U1*)
MONMSG MSGID(CPF0000)
DLTF FILE(QGPL/U2*)
MONMSG MSGID(CPF0000)
DLTF FILE(QGPL/U3*)
MONMSG MSGID(CPF0000)
DLTF FILE(QGPL/U4*)
MONMSG MSGID(CPF0000)
DLTF FILE(QGPL/U5*)
MONMSG MSGID(CPF0000)
DLTF FILE(QGPL/U6*)
MONMSG MSGID(CPF0000)
DLTF FILE(QGPL/U7*)
MONMSG MSGID(CPF0000)
DLTF FILE(QGPL/U8*)
MONMSG MSGID(CPF0000)
DLTF FILE(QGPL/U9*)
MONMSG MSGID(CPF0000)
DLTF FILE(QGPL/T1*)
MONMSG MSGID(CPF0000)
DLTF FILE(QGPL/T2*)
MONMSG MSGID(CPF0000)
DLTF FILE(QGPL/T3*)
MONMSG MSGID(CPF0000)
DLTF FILE(QGPL/T4*)
MONMSG MSGID(CPF0000)
DLTF FILE(QGPL/T5*)
MONMSG MSGID(CPF0000)
DLTF FILE(QGPL/T6*)
MONMSG MSGID(CPF0000)
DLTF FILE(QGPL/T7*)
MONMSG MSGID(CPF0000)
DLTF FILE(QGPL/T8*)
MONMSG MSGID(CPF0000)
DLTF FILE(QGPL/T9*)
MONMSG MSGID(CPF0000)

ENDPGM
 
Um... can I ask a silly question? What are these files that start with U? Are they junk? Should I be deleting them?

Thanks.
 
From Customer Connect:

QGPL/U* and QGPL/T* are created by OneWorld should be deleted when the run batch engine completes unless there is a kernel still running against one of the temp file. These files can be manually deleted once services are down.
The U* files in QGPL are created when you submit a UBE from the OW client. The NETWORK job creates the T* files in QGPL and then the UBE kernel job copies the specfications from the T* files to the U* files.
The UBE kernel then does a submit job for the UBE. The UBE job after it completes deletes the U* files.
If the U* files are not associated with any current running UBEs then it is ok to delete them.
 
Back
Top