Natural for DL/I Interface Status Codes and Abend Codes

This section covers the following topics:


Status Codes

During processing, Natural for DL/I internally checks for DL/I status codes. Status code checking by the user program is seldom required; only certain error conditions might require status code checking within a program. For this purpose, all DL/I status codes have a corresponding Natural error message. It is possible to check for these errors using an ON ERROR statement as described in the Natural Statements documentation.

The error messages generated are in the range from NAT3850 to NAT3899.

Abend Codes - under CICS only

This section contains the codes issued by Natural for DL/I in case of abnormal end of execution.

Each abend entry contains suggestions listed in the section Problem Determination Guide on what action is to be taken by the system programmer to solve the problem. In addition, each entry lists the name of the module involved.

The contents of the registers before the abend can be found in the field CAABREGS in the Natural for DL/I common area (DSECT NDCA), at hexadecimal offset +x154. To locate the Natural for DL/I common area, use the register 3 contents or look for the visual identifier NDCA in the Natural thread.

Below is information on:

NDL0  NDL7 NDLK  NDLR 
NDL1  NDL8 NDLL NDLS
NDL2 NDL9 NDLM NDLT 
NDL3 NDLF  NDLN NDLU
NDL4 NDLG  NDLO  NDLV
NDL6 NDLI NDLP  

NDL0

Internal error.

Explanation   Entry in THC not found.

R2 points to the entry of TSA where TSAFLG1 indicates that an entry in THC (with argument = TSACOMID) exists but was not found via CMTBREQ macro.

Action   Contact Software AG support.
Module NDLRGNEX
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.

NDL1

Internal error.

Explanation   Invalid operation type.

The input operation code in NDMSIO control block was not found in the operation code table pointed to by R7.

Action   Contact Software AG support.
Module NDLSIOBA
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.

NDL2

Internal error.

Explanation   Invalid operation type.

The input operation code in NDMSIO control block was not found in the operation code table pointed to by R7.

Action   Contact Software AG support.
Module NDLSIOCX
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.

NDL3

Internal error.

Explanation   Unknown DL/I status code.

The DL/I status code of PCB pointed to by R6 does not match with any DL/I status codes in the table pointed to by RF.

Action   Contact Software AG support.
Module NDLSIORC
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.

NDL4

Internal error.

Explanation   Unknown DL/I return code.

Either UIBFCTR or UIBDLTR contain unexpected values.

Action   Contact Software AG support.
Module NDLSIOCX
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.

NDL6

Explanation   PCB not found.

PCB was not found in PCB map pointed to by R7.

Action   Contact Software AG support.
Module NDLSPFRE
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.

NDL7

Internal error.

Explanation   Segment not found.

No segment found in segment table pointed to by RC with progressive identification number equal to segment identifier in PCB allocation map pointed to by R6.

Action   Contact Software AG support.
Module NDLSPFRE
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.

NDL8

Internal error.

Explanation   Entry not found in PCB map.

No entry was found in PCB map with PCB relative number matching with the one in TSA (TSAPCBN).

Action   Contact Software AG support.
Module NDLSPHOR
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.

NDL9

Internal error.

Explanation   PCB map entry not found.

PCB map entry encountered, with argument field value (PCBFRST in NCB) pointed to by R2, was not found in the table of PCB map pointed to by CAPCMAP.

Action   Contact Software AG support.
Module NDLSPHOR
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.

NDLF

Internal error.

Explanation   Failure acquiring save area.

Not enough area available for save area.

Action   Increase the SASIZE parameter in NDMCPARM.
Module NDLCSAVE or NDLGWDLI or NDLTRABA or NDLTRACI.
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.

NDLG

Internal error.

Explanation   Invalid back token request.
Action   Contact Software AG support.
Module NDLSSBAN
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.

NDLI

Internal error.

Explanation   Invalid level number.

The input level number does not match any SSA. R5 points to SSA.

Action   Contact Software AG support.
Module NDLSGU00
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.

NDLK

Internal error.

Explanation   More than four entries for AIX fields have been specified to be put into the SSA list.
Action   Contact Software AG support.
Module NDLSFSSA
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.

NDLL

Internal error.

Explanation   No TSA entry has been found with the given COMID.
Action   Contact Software AG support.
Module NDLSFSSA
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.

NDLM

Internal error.

Explanation   No THC entry has been found.
Action   Contact Software AG support.
Module NDLRRI00
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.

NDLN

Internal error.

Explanation   No THC entry has been found.
Action   Contact Software AG support.
Module NDLRDTSA
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.

NDLO

Explanation   Unknown event encountered.
Action   Contact Software AG support.
Module NDLGWDLI
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.

NDLP

Internal error.

Explanation   PCB entry not found in PCB map.

No PCB entry in PCB map with PCB relative number PCMPCBRB equal to TSAPCBN was found. R5 points to PCB last used. R7 points to NCB entry in PCM. R6 points to TSA.

Action   Contact Software AG support.
Module NDLSRLIN
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.

NDLR

Internal error.

Explanation   NCB entry not found in PCB map.

NCB entry with argument PCBFRST pointed to by R2 was not found in the table of PCB map pointed to by CAPCMAP.

Action   Contact Software AG support.
Module NDLSRLIN
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.

NDLS

Internal error.

Explanation   NSB not found during roll-in.
Action   Contact Software AG support.
Module NDLSRLIN
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.

NDLT

Internal error.

Explanation   NDB not found during roll-in.
Action   Contact Software AG support.
Module NDLSRLIN
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.

NDLU

Internal error.

Explanation   UDF not found during roll-in.
Action   Contact Software AG support.
Module NDLSRLIN
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.

NDLV

Internal error.

Explanation   Invalid segment name.
Action   Contact Software AG support.
Module NDLSGU00
Problem Determination Items 1 (trace parameter = (CMD,REQ,SER)), 9.