Problem:

The subsystem had a "maximum jobs" setting of 1. It appears that there had to be other jobs or tasks in the pool at the same time. This is how it appeared in the job log:
User-defined function error on member DOCFLR00
                                                                     
Message ID . . . . . . :   CPF503E       Severity . . . . . . . :   30        
Message type . . . . . :   Diagnostic                                         
Date sent  . . . . . . :   02/04/08      Time sent  . . . . . . :   12:01:36  
                                                                         
Message . . . . :   User-defined function error on member DOCFLR00.           
Cause . . . . . :   An error occurred while invoking user-defined function    
FOLDERISVALID in library RJSIMAGE. The error occurred while invoking the    
associated external program or service program DOC453R in library RJSIMAGE, 
program entry point or external name DOC453R, specific name FOLDERISVALID.  
The error occurred on member DOCFLR00 file DOCFLR00 in library RJSIMAGE. The
error code is 2. The error codes and their meanings follow:                 
 1 -- The external program or service program returned SQLSTATE 00000. The 
text message returned from the program is:  .                               
 2 -- The external program failed before it completed.                     
 3 -- The database timed out waiting for the program to return. The timeout
value used by the database was 0 minutes and 30 seconds.                    
                                                                  More...

Solution:

So it was fixed by executing something like the following command:
 
CHGSBSD SBSD(QBATCH4) POOLS((2 10000 10)) MAXJOBS(*NOMAX)
 
This command will have some variations, depending on the customer's work management configuration.
 
Still have questions? We can help. Submit a case to technical support

Last Modified On:
You don't have the appropriate permissions.
No, open a new Support Case