Can DBU library be set as a product or system library?

~ 0 min
2024-03-11 16:59

No. DBU cannot be set as a product or system library. DBU library must be below QTEMP.

DBU uses QTEMP to prevent issues with users in the same file and can not be in the system or product library list. The way to avoid having DBU in the user portion of the library list is to follow the steps below.
1. CRTDUPOBJ OBJ(DBU) FROMLIB(DBU10) OBJTYPE(*CMD) TOLIB(QGPL)
2. CHGCMD CMD(DBU) CURLIB(DBU10)
When you upgrade to DBU11, you will have to delete the command in QGPL and do steps 1 and 2 again for DBU11.

Average rating 5 (1 Vote)

You cannot comment on this entry