Performing Install or Upgrade of LANSA for iSeries causes objects to be not restored depending on system value QALWOBJRST

Date: 6 September 2005
Product/Release: LANSA for iSeries
Abstract: Errors upgrading LANSA for iSeries if system value QALWOBJRST has been set not to allow restore of objects that adopt authority
Submitted By: LANSA Technical Support


Performing an install or upgrade of LANSA for iSeries (irrespective of version) may result in objects not being restored.

Job log would contain this:

"770 objects restored. 1084 not restored to DC@PGMLIB"

CPD373F Diagnostic 30 05/08/27 15:45:07.041656 QSRRSDEQ QSYS 09BB QSRRSDEQ QSYS 09BB 
Message . . . . : BI@P002 in library DC@PGMLIB with adopt authority attribute not restored.
Cause . . . . . : BI@P002 type *PGM in library DC@PGMLIB has the adopt authority attribute.

The Allow Object Restore (QALWOBJRST) system value has been set to not allow the restore of objects that have the adopt authority attribute.
Recovery . . . : Set the Allow Object Restore (QALWOBJRST) system value to one of the following and try the request again: -- *ALL to allow the restore of all objects regardless of any security sensitive attributes. -- *ALWPGMADP to allow the restore of programs that adopt authority.

These errors are generated if system value QALWOBJRST has been set not to allow restore of objects that adopt authority.


Check the system value QALWOBJRST and change this system value to *ALL before the install/upgrade to avoid the install or upgrade ending in error.


In a case where you have attempted an install or upgrade and generated the failure messages in the joblog, you will need to change this system value QALWOBJRST to *ALL and re-run the Upgrade again.

Before you can re-run, you will have to restore all the LANSA libraries and delete the new IFS folder specific to the LANSA system that was created. If you took the default name for the IFS then it will be something like this '/LANSA_dc@pgmlib'.