Natural System Error Messages 3350-3399

NAT3380: NMQ BROWSE failed. Reason: :1:-:2:

Text
NMQ BROWSE failed. Reason: :1:-:2:
Explanation
The reason code is specific to MQ. Refer to IBM MQ documentation for the
description of the reason code.
To suppress the error message you may include field ERROR-CODE or ERROR-
TEXT in the view of MQ-QUEUE.
Action
Correct the program.

NAT3381: NMQ GET failed. Reason: :1:-:2:

Text
NMQ GET failed. Reason: :1:-:2:
Explanation
The reason code is specific to MQ. Refer to IBM MQ documentation for the
description of the reason code.
To suppress the error message you may include field ERROR-CODE or ERROR-
TEXT in the view of MQ-QUEUE.
Action
Correct the program.

NAT3382: NMQ PUT failed. Reason: :1:-:2:

Text
NMQ PUT failed. Reason: :1:-:2:
Explanation
The reason code is specific to MQ. Refer to IBM MQ documentation for the
description of the reason code.
To suppress the error message you may include field ERROR-CODE or ERROR-
TEXT in the view of MQ-QUEUE.
Action
Correct the program.

NAT3391: Error encountered during NMQ processing. Subc :1:.

Text
Error encountered during NMQ processing. Subc :1:.
Explanation
An unexpected internal error occurred in the NMQ component during
message processing. The subcode provides details about the specific
cause. As a result, The current request cannot be processed further.
Possible Causes:
1. NMQ buffer MQBUF is not allocated
2. Invalid Command Code
3. Incorrect Parameter List
4. Link error - NMQTAB module is missing
5. Link error - MQ Stub module is missing
6. SKEY=ON must be set for Com-plete environment
Action
Contact technical support for Subc : 2 and 3
Increase Thread size for Subc : 1
Start Natural session with SKEY=ON for Subc : 6

NAT3392: Attempt to perform unsupported function.

Text
Attempt to perform unsupported function.
Explanation
An attempt was made to perform a function that is not supported by the
NMQ component. The supported functions are listed in the MQ-QUEUE DDM
and in the documentation of Natural Messaging.
Action
Correct the value of the FUNCTION field in the MQ-QUEUE view used in the
PROCESS statement.

NAT3393: Error in format buffer. Subc/Field :1:/:2:.

Text
Error in format buffer. Subc/Field :1:/:2:.
Explanation
An error occurred while processing the format buffer. The format buffer
defines the structure and layout of data fields used to access MQ Queue
and must be consistent with the expected input/output definitions.
The subcode :1: indicates the specific cause of the error.
01 - Unsupported field
02 - Numeric expected, but non-numeric value found
03 - Incorrect or missing field name
04 - Incorrect or missing format
05 - Incorrect format
06 - Incorrect field name
The subcode :2: identifies the field in error within the format buffer.
Action
Review the format buffer layout and ensure it aligns with the delivered
MQ-QUEUE DDM. Check for missing, extra, or incorrectly
defined fields.

NAT3394: Error in Search buffer. Subc/Field :1:/:2:.

Text
Error in Search buffer. Subc/Field :1:/:2:.
Explanation
An error occurred while processing the Search buffer during execution of
an MQ-QUEUE operation. The search buffer defines selection criteria for
retrieving data and must align with the structure defined in the
MQ-QUEUE DDM.
The subcode :1: indicates the specific cause of the error.
Possible Causes:
1. Field name not found             6. Incorrect Field name
2. Field length is not numeric      7. Value-operator already specified
3. Field name is missing            8. Field length already specified
4. Field format already specified   9. Field name is missing
5. Incorrect Field format
The subcode :2: identifies the field in error within the search buffer.
Action
Review the search buffer definition and ensure it matches the expected
structure defined in the MQ-QUEUE DDM.

NAT3395: Record buffer too small. Subc :1:.

Text
Record buffer too small. Subc :1:.
Explanation
The record buffer is too small to hold all values retrieved from the MQ
queue.
Action
Check the program and correct the error. Alternatively, recatalog the
Local Data Area(LDA) that contain the MQ-QUEUE view, and then recatalog
all programs that reference this LDA.

NAT3396: Error while processing value buffer. Subc/Field :1:/:2:.

Text
Error while processing value buffer. Subc/Field :1:/:2:.
Explanation
An error occurred while processing the value buffer.
The subcode :1: indicates the specific cause of the error.
Possible Causes:
1. A P format field contains a value that is not in packed decimal
   format
2. A U format field contains a value that is not in unpacked decimal
   format
3. Value buffer is corrupted.
The subcode :2: identifies the field in error within the search buffer.
Action
Contact technical support for Subc : 3.
For others, Check the program and correct the error.

NAT3397: GETMAIN for MQBUF failed.

Text
GETMAIN for MQBUF failed.
Explanation
During execution of NMQ component, a GETMAIN request for the required
buffer area (MQBUF) failed. This is likely due to insufficient free
storage or because the thread size is too small.
Action
Reduce Natural"s total area size allocations or increase the region/
thread size.