I am getting the following error message while I am executing a new NATURAL program.
Error Message:
NUS0207 TOTAL LENGTH GREATER UPPER LIMIT MIN. LENGTH IN KB: 00001176
I have also attached a snapshot of the error.
I looked in Natural for Mainframes documentation and I got the following:
Expl. The Natural user thread is too small.
Actn. Enlarge the Natural user thread (under UTM, change operand of parameter MAXSIZE in macro NTSWPRM)
Can someone explain the explanation and action so that I can have this resolved in the program.
you probably need to either make the variables in your program smaller or have your Natural administrator increase the size of your thread. The specifics of what needs to be adjusted varies a bit depending on whether this is intended for batch, CICS, TSO, Com-plete, etc.
This note from Servline24 may also be relevant:
NII - NUS0207 errors
Product: NII Operating System Family: MF
Version: 4.2.4 Operating System: z/OS
Last Updated: 19. Jun 2008 Document ID: 558035
Error Numbers:
NUS0207
Symptom:
Getting NUS0207 error when running programs with arrays of 4,000,000 characters which write to MQ queues.
Error is “NUS0207: TOTAL LENGTH GREATER UPPER LIMIT”
Resolution:
The problem was caused by a program which requires 4MB in the DATSIZE. Since the program issues a terminal I/O, this area must fit into the thread.
Solutions:
if the contents of the array must be preserved across the I/O:
increase thread size in the NIMPARM macro to 4MB (THSIZE=4194304)
if the contents of the array may be deleted before the terminal I/O:
use X-arrays and RESIZE the X-array to zero before the terminal I/O