Database Management Solutions for Db2 for z/OS base product RECEIVE process ends with COND CODE 12 and message GIM20101S.
search cancel

Database Management Solutions for Db2 for z/OS base product RECEIVE process ends with COND CODE 12 and message GIM20101S.

book

Article ID: 142396

calendar_today

Updated On:

Products

Database Management for DB2 for z/OS - Utilities Suite DATABASE MANAGEMENT SOLUTIONS FOR DB2 FOR Z/OS Database Management for DB2 for z/OS - Administration Suite Database Management for DB2 for z/OS - Performance Suite Database Management for DB2 for z/OS - Recovery Suite

Issue/Introduction

Database Management Solutions for DB2 for z/OS base product RECEIVE processed expected SMPTLIB 
relfiles but ended with a RC=12 and following message:

GIM20101S ** OPEN PROCESSING FAILED FOR THE LIBRARY.

Resolution

When the original RECEIVE job was executed it first returned message:
GIM45900S ** PACKAGE DBMK0B0 DOES NOT CONTAIN SMPHOLD DATA.

A SMPHOLD directory was manually allocated in the USS directory to resolve the above message
but the following message was then encountered:
GIM20101S ** OPEN PROCESSING FAILED FOR THE LIBRARY.           

It was discovered that the RECEIVE syntax did not specify the SYSMODS operand as distributed
in hlq.SAMPJCL member DBM20RCB.  Once the SYSMODS operand was added to the 
RECEIVE syntax the job completed with RC=0 as expected.