ABENDED WITH CODE UFC6 AND REASON CODE 0001
search cancel

ABENDED WITH CODE UFC6 AND REASON CODE 0001

book

Article ID: 262557

calendar_today

Updated On:

Products

IDMS IDMS - Database

Issue/Introduction

An IDMS DC Cobol program is failing with a UFC6 abend.

DC027005 TASK:task_code PROG:prog_name ABENDED WITH CODE UFC6  AND REASON CODE 0001  

 

Environment

Release : 19.0

Resolution

The UFC6 (U4038) abend is an LE runtime abend. It indicates LE found a condition it could not handle. 
As article 236931 indicates, if the program is compiled with the SSRANGE option this can be caused by the program using a subscript that exceeds the size of a table. 
But it could be due to other program errors as well.
To get more information from LE on the problem it encountered you need to change the LE runtime option TERMTHDACT from QUIET to TRACE. 
And since you're running COBOL 4.2 also change the CHECK option to ON.
The LE runtime options in IDMS are assembled and linked with module RHDCLEFE.
The default options are in CAGJSRC(CEEUOPT). Change these lines:

               CHECK=(OFF),                                            X00130000

               TERMTHDACT=(QUIET),                                     X00250000

to

               CHECK=(ON),                                             X00130000

               TERMTHDACT=(TRACE),                                     X00250000

Then assemble and link the new options with RHDCLEFE. See article 29493 - How to re-link RHDCLEFE

After you relink RHDCLEFE, either cycle the CV or refresh the module with these DCMT commands:

DCMT V NUC MOD RHDCLEFE NC
DCMT V NUC RELOAD

The next time a UFC6 occurs there should see additional LE messages in the IDMS log to indicate the problem, look for DC128010 messages which contain the LE CEE messages.

Below is an example of the messages you may get:

DC128010 Vnn Tnnn CEE3501S The module xxxxxxx was not found.
DC128010 Vnn Tnnn          From compile unit xxxxxxx at entry point xxxxxx at compile unit offset
DC128010 Vnn Tnnn          +00006702 at entry offset +00006702 at address 1F57E502.
DC128010 Vnn Tnnn CEE3DMP V2 R4.0: Condition processing resulted in the unhandled condition.


DC128010 Vnn Tnnn CEE3207S The system detected a data exception (System Completion Code=0C7).
DC128010 Vnn Tnnn From compile unit xxxxxxxx at entry point xxxxxxxx at statement 999 at
DC128010 Vnn Tnnn compile unit offset +00006702 at entry offset +00006702 at address 1F57E502.


DC128010 Vnn Tnnn IGZ0006S The reference to table field_name by verb number 01 on line 000999 addressed
DC128010 Vnn Tnnn          an area outside the region of the table.
DC128010 Vnn Tnnn          From compile unit xxxxxxxx at entry point xxxxxxxx at compile unit offset
DC128010 Vnn Tnnn          +00006702 at entry offset +00006702 at address 1F57E502.

 

Additional Information

See the following articles for other causes of UFC6 abends:

236931 - DC027005/UFC6 IDMS-DC Cobol abends after recompile under Cobol 6.x

26501 - UFC6 dc-cobol program abend under LE/370 runtime

53279 - DC090002 or program checks in dc-cobol programs

244715 - IDMS: UFC6 or IGZ0315S/IGZ0316W errors with NUMCHECK