Product/components used and version/fix level:
A D A B A S N A T I V E S Q L VERSION 2.4.1
Detailed explanation of the problem:
When reading an adabas database by ISN from a native Cobol program, I’m intermittently getting error response code 53.
I’ve been advised to use the DYNAMCID parameter, but I don’t know how to code it in the program or if it should be specified in the compiler. I also don’t know if that’s the solution to the problem.
If anyone in this forum has encountered this problem, please help me resolve it. Thanks in advance.
I’ve attached the code for the read by ISN statement:
EXEC ADABAS
READ ISN
DECLARE UBO1 CURSOR
SELECT STATUS-OPER
FROM BOC-TRANS-DIV-SOLIC BOC-UPDATE1
WHERE ISN = :WS-ISN-BUSC
OPTIONS DBID=BD024
HOLD
END-EXEC
Error messages / full error message screenshot / log file:
1 A D A B A S S Q L T R A C E
PRTRCICS TRANS : ZS07 TASK : 016514 DATE : 25/09/2025 TIME : 02:42:28 TRACE : SI
SOURCE COMMAND :
COMMAND-CODE= L4,COMMAND-ID=CTRL,FILE-NUMBER=194,RESPONSE-CODE= 53
RESPINT - ADABAS RESPONSE INTERPRETATION PROGRAM FOR ADABAS SQL
RESPONSE CODE: 53
RESPCICS
SHORT TEXT:
Wrong record buffer size. DB/FNR/Subcode …/…/…
EXPLANATION:
The record buffer is too small to contain all required Adabas values
in compressed form; or the record buffer size does not correspond
to the record-buffer size of the global format ID (GFID) already
established in Adabas. Or the ISN buffer is too small.