BC1JNCPY ELIB copy error - C1BIOCPY ERROR IN $BGETSTG MACRO, CODE=NO STGE
search cancel

BC1JNCPY ELIB copy error - C1BIOCPY ERROR IN $BGETSTG MACRO, CODE=NO STGE

book

Article ID: 382678

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

While executing the BC1JNCPY job to copy an ELIB, the job abends with the following error:

*** C1BIOCPY ERROR IN $BGETSTG MACRO, CODE=NO STGE

Environment

All Supported Releases

Cause

By default, BC1PNCPY's parser stack supports 1000 MEMBER= statements. If more than 1000 statements are needed, the parameter MEMBERS can be passed to the utility using the PARM= field on the EXEC statement:
//JS10       EXEC PGM=NDVRC1,PARM='BC1PNCPYMEMBERS=nnnnnn'

Where nnnnnn is a 1 to 6 digit number specifying the approximate number of MEMBER= statements coded. When present, the parser stack is increased to 'nnnnnn' entries. If the specified value is 1000 or less, the default value of 1000 is used. Specifying this parameter may increase the storage requirements for the step. Approximately 40 bytes per member is needed. Specify an appropriate REGION size to accommodate the requests.

Resolution

Review the job to determine if PARM='BC1PNCPYMEMBERS=nnnnnn' is accurate for the number of members that need to be copied and lower the value if possible. If the value is appropriate, review the REGION= that is assigned to the job and increase.  Note: there may be internal site limits for the REGION parameter.