BSTCOPY step fails with RC 16 and missing execution messages in processor output
search cancel

BSTCOPY step fails with RC 16 and missing execution messages in processor output

book

Article ID: 240829

calendar_today

Updated On:

Products

Endevor Endevor - ECLIPSE Plugin Endevor - Enterprise Workbench Endevor Natural Integration

Issue/Introduction

The user reports that the processor action fails, but the execution log shows only that BSTCOPY failed with RC 16 without any supporting diagnostic messages from the BSTCOPY utility.

C1X0012I  STEP CPYLOD1 INVOKING PROGRAM BSTCOPY            
C1X0010I  STEP CPYLOD1 PROGRAM BSTCOPY COMPLETED, RC=0016  
C1G0129E  STEP CPYLOD1 RC (0016) EXCEEDS THE MAX RC (0000)

The failing processor step is:

C1G0249I  //********************************************************************
C1G0249I  //* CPYLOD1- COPY THE LOAD MODULE FROM THE SOURCE STAGE LOAD LIBRARY  
C1G0249I  //*          TO THE TARGET STAGE LOAD LIBRARY AND UPDATE THE INPUT    
C1G0249I  //*          COMPONENT LIST. (THIS STEP DOESN'T COPY ALIASES)         
C1G0249I  //********************************************************************
C1G0249I  //CPYLOD1  EXEC PGM=BSTCOPY,MAXRC=0                                   
C1G0249I  //FCOPYOFF DD  DUMMY                    * TURN OFF PDSMAN FASTCOPY    
C1G0249I  //SYSUT3   DD  UNIT=SYSDA,SPACE=(CYL,(1,1))                           
C1G0249I  //SYSUT4   DD  UNIT=SYSDA,SPACE=(CYL,(1,1))                           
C1G0249I  //INDD     DD  DSN=&SRCLOD,DISP=SHR,MONITOR=COMPONENTS,               
C1G0249I  //             FOOTPRNT=VERIFY                                        
C1G0249I  //OUTDD    DD  DSN=&TGTLOD,DISP=SHR                                   
C1G0249I  //SYSIN    DD  *                                                      
C1G0249I    COPY OUTDD=OUTDD,INDD=((INDD,R))                                    
C1G0249I    SELECT MEMBER=((&ELM,,R))                                           
C1G0249I  //*

Environment

Release : 18.0 18.1 19.0 (all releases)

Component : Endevor Software Change Manager

Cause

The BSTCOPY utility execution messages are not captured because the //SYSPRINT DD statement is missing from the processor step definition.

Resolution

Add a //SYSPRINT DD  statement to the BSTCOPY processor steps and the BSTCOPY messages will be written out in the processor execution output.

//CPYLOD1  EXEC PGM=BSTCOPY,MAXRC=0                                   
//FCOPYOFF DD  DUMMY                    * TURN OFF PDSMAN FASTCOPY  
//SYSUT3   DD  UNIT=SYSDA,SPACE=(CYL,(1,1))                          
//SYSUT4   DD  UNIT=SYSDA,SPACE=(CYL,(1,1))                          
//INDD     DD  DSN=&SRCLOD,DISP=SHR,MONITOR=COMPONENTS,              
//             FOOTPRNT=VERIFY                                      
//OUTDD    DD  DSN=&TGTLOD,DISP=SHR  
//SYSPRINT DD SYSOUT=*                                
//SYSIN    DD  *                                                    
COPY OUTDD=OUTDD,INDD=((INDD,R))                                  
 SELECT MEMBER=((&ELM,,R))                                          
//********************************************************************

Additional Information

For reference, the BSTCOPY utility is described in the Endevor documentation