Executing BSTCOPY on PDSE that is linklisted can result in S023 REASON CODE 00001201
search cancel

Executing BSTCOPY on PDSE that is linklisted can result in S023 REASON CODE 00001201

book

Article ID: 134602

calendar_today

Updated On:

Products

Endevor Endevor - ECLIPSE Plugin Endevor - Enterprise Workbench

Issue/Introduction

Using BSTCOPY to copy the linked output from the batch load library to the CICS load library in a processor.  The copy appears to complete however getting the S023 RC 1201 from LLACOPY

The SYSLOG displays:

CCSR010E C1SSESTA S023 at 000B5270 LMOD BC1POPEN CSECT BC1POPEN +000620 OPPRZU6# N/A NDVRBAT
CCSR021I OWNER = CA Endevor SCM R18.0                                                       
CCSR022I MODULE = BC1POPEN FMID = CSIQI00 RMID = CSIQI00                 
CCSR061I PSW: 00000000 00000000 070C2000 8B38F47C                                 
CCSR062I ILC: 02 INTERRUPT CODE: 0D                                                         
CCSR067I COMPLETION CODE S023 REASON CODE 00001201                                          

The BSTCOPY SYSPRINT has:

C1X0511I  COPY COMMAND # 1                             
C1X0511I      COPY INDD=INPDS01,OUTDD=OUTPDS           
C1X0511I      SELECT MEMBER=((<member>,,R))              
C1X0511I                                               
C1X0511I  COPY COMMAND # 1         
C1X0511I  INPDS01 = hlq.iprfc.loadin   
C1X0511I  OUTPDS  = hlq.iprfx.loadout
C1X0502I  MEMBER <member> SUCCESSFULLY COPIED            
C1G0140S  ENDEVOR - BSTCOPY ABENDED CODE=S023    

 

Cause

The member parm was coded on the input and output of the BSTCOPY processor step : 

//IPDS01    DD DISP=SHR,DSN=hlq.iprfc.loadin(member)
//OUTPDS  DD DISP=SHR,DSN=hlq.iprfx.loadout(member)

 

Resolution

Remove the member parm from input and output dataset allocation (DSN) in the BSTCOPY processor step. The 'SELECT MEMBER' parm will allocate the correct member.