Error message CPF4167 appeared during OPEN for file RPTMONP - Support

Error message CPF4167 appeared during OPEN for file RPTMONP

From Support

Jump to: navigation, search
If you have a question or seek clarification, please call Technical Support.

Problem:

Message ID . . . . . . : RNQ1216 Severity . . . . . . . : 99

Message type . . . . . :   Inquiry                                           
Date sent  . . . . . . :   03/01/05      Time sent  . . . . . . :   08:18:53 
                                                                             
Message . . . . :   Error message CPF4167 appeared during OPEN for file      
  RPTMONP (C S D F).                                                         
Cause . . . . . :   RPG procedure RPTMON001 in program RJSSPLIT/RPTMON001    
  received the message CPF4167 while performing an implicit OPEN operation on
  file RPTMONP. The actual file is RPTMONP.                                  
Recovery  . . . :   Check the job log for a complete description of message  
  CPF4167, and contact the person responsible for program maintenance. If the
  file has a device type of SPECIAL, there may be no message in the job log. 
Possible choices for replying to message . . . . . . . . . . . . . . . :     
  D -- Obtain RPG formatted printout of system storage.                      
  S -- Obtain printout of system storage.                                    
Object RPTMONUSPC type *USRSPC already exists in library QTEMP.       
Object RPTMONUSPC type *USRSPC already exists in library QTEMP.       
Object RPTMONUSPC type *USRSPC already exists in library QTEMP.       
Object RPTMONUSPC type *USRSPC already exists in library QTEMP.       
Object RPTMONUSPC type *USRSPC already exists in library QTEMP.       
Object RPTMONUSPC type *USRSPC already exists in library QTEMP.       
Object RPTMONUSPC type *USRSPC already exists in library QTEMP.       
Object RPTMONUSPC type *USRSPC already exists in library QTEMP.       
Object RPTMONUSPC type *USRSPC already exists in library QTEMP.       
Job cannot create any more spooled files.                             
Error message CPF4167 appeared during OPEN for file RPTMONP.          
Function check. RNX1216 unmonitored by RPTMON001 at statement *N,     
  instruction X'0000'.                                                
Error message CPF4167 appeared during OPEN for file RPTMONP (C S D F).
Message ID . . . . . . :   CPF4167       Severity . . . . . . . :   40         
Message type . . . . . :   Escape                                              
Date sent  . . . . . . :   03/01/05      Time sent  . . . . . . :   08:18:52   
                                                                               
Message . . . . :   Job cannot create any more spooled files.                  
Cause . . . . . :   An attempt was made to create more than the maximum number 
  of spooled files for the job. The maximum number of spooled files which can  
  be created for a job is 9999. This value is determined from the QMAXSPLF     
  system value.                                                                
Recovery  . . . :   For a job in an interactive environment, sign off and then 
  sign on again. For a job in a batch environment, divide the job so that      
  fewer files are opened in one job. If more spooled files are needed for all  
  jobs and the QMAXSPLF system value is not set to its maximum allowed value,  
  raise the QMAXSPLF system value.

Solution:

Change the QMAXSPLF value to 999999.

CHGSYSVAL SYSVAL(QMAXSPLF) VALUE(999999)

This setting came out in V5R1.

They will reach this value eventually.

They need to restart regularly to avoid this.

This is an OS/400 limitation.

Personal tools