IBM Support

Spool file restore limitations with Programming Development Manager (PDM)

Question & Answer


Question

Why does an IASP fail to vary on after a restore of spool files from Programming Development Manager (PDM)?
MSGCPD33AF Unable to check for duplicate spooled files on an IASP.

Cause

PTFs are installed for authorized program analysis report (APAR) SE64869.
User tries to restore a spooled file saved on IASP from PDM.
Message CPD33AF is logged. The restore code is unable to check for duplicate spooled files on an IASP.

Exit from the PDM utility, then restore spool files as indicated by message CPD33AF:
Message ID . . . . . . . . . :   CPD33AF                                                                                                                
Message . . . . :   Unable to check for duplicate spooled files on an IASP.   
Cause . . . . . :   SETASPGRP is not allowed.  The reason is you are executing a command from the command line at the bottom of an STRPDM or WRKOBJPDM screen.  Since the operating system is unable to do a SETASPGRP to check for duplicate files, moving or restoring spooled files to output queue is not allowed currently.            
Recovery . . . :   Do the restore operation or CHGSPLFA command in an environment where SETASPGRP is allowed.  See the help text for the SETASPGRP command for more information about when it is disallowed.                  
Condition before the PTF applies for APAR SE64869;
If a user tries to restore a spooled file saved on an IASP from PDM, the spooled file is restored to SYSBAS.
Cause summary:
PDM does not use SETASPGRP to check whether spooled files exist in an IASP.
IASP vary on process fails with message CPD33AA; indicating that a spooled file exists in SYSBAS.
Spooled files restored previously via PDM needs to be deleted.

Answer

Use any of the save and restore spooled file methods described in the above IBM Knowledge Center link
Output Queue with their spooled files commonly saved and restored together that use SAVOBJ or SAVLIB commands.
The PDM utility should NOT be used to save and restore spool files on IASPs.
Reference apar SE64869.
SPOOL FILES SAVED ON IASP ARE RESTORED TO SYSBAS FROM PDM
PROBLEM SUMMARY:
Spool files saved on an independent auxiliary storage pool (IASP) are restored to SYSBAS from PDM menu (WRKOBJPDM, WRKLIBPDM, WRKMBRPDM, or STRPDM) even if they are already present on IASP.                                                
The next IASP vary on will fail, with MSGCPD33AA logged for each duplicated spool file.                                    
LOCAL FIX:                                                    
In order to, allow IASP to be varied on the duplicated spool file present on SYSBAS must be deleted.                       
In order to avoid that spool file is wrongly restored, restore to be executed outside PDM menu.                         
 
The SETASPGRP command is not allowed in the following:
- Programming Development Manager (PDM) functions.

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.1.0"}]

Historical Number

n1021500

Product Synonym

Programming Development Manager;PDM;

Document Information

Modified date:
18 December 2019

UID

nas8N1021500