Datacom SQLCODE -137 RETURN CODE 91 (112) CBSIO EXCEEDED
search cancel

Datacom SQLCODE -137 RETURN CODE 91 (112) CBSIO EXCEEDED

book

Article ID: 201144

calendar_today

Updated On:

Products

Datacom DATACOM - AD Datacom/DB Datacom/AD

Issue/Introduction

Executing a Datacom SQL query (such as via DBSQLPR or Dataquery) fails with an error indicating the PLAN OPTION CBSIO has been exceeded. This occurs when the number of data records inspected or rejected exceeds the limits.

In DBSQLPR the error is:

SQLCODE = -137, SQLSTATE=57S03, DB RETURN CODE = 91(112)
MESSAGE = PLAN OPTION CBSIO EXCEEDED

In Dataquery the error is:

DQ093E - PLAN OPTION CBSIO EXCEEDED

 

Environment

Release: 15.1

Cause

Internal return code 112 indicates SELECT ENDED, EXCESSIVE FAILURES. During the execution of a SELFR command, the number of data records rejected exceeded the limit set by the maxstio parameter in the CBS MUF startup option. 

Resolution

To resolve this issue, increase the maxstio limit or set it to 0 for no limit. Use one of the following methods:

Immediate/Dynamic Change

Update the limit temporarily without restarting the MUF by issuing the following console command:

f mufjob,CBS_MAXSTIO 0

 

Alternatively, use the COMM function in DBUTLTY:

JCL
 
//SYSIN DD *
COMM OPTION=CONSOLE,OPTION2='CBS_MAXSTIO 0'
/*
 

 

Permanent Change

Update the 4th positional parameter of the CBS startup option in the MUF configuration:

CBS 6,2M,0,0,16,1006


(The 0 in the 4th position represents maxstio)

Additional Information