This section lists the error messages that may be issued during static generation under Natural for DB2 or Natural for SQL/DL.
Program NDBCHNK
has been invoked to allocate space for
Natural object load, but the allocation has failed; retry or increase the free
storage pool.
Program NDBCHNK
has been invoked to write a Natural
object row into the appropriate buffer, but the write has failed; this is
probably a NDBCHNK
program error.
Program NDBSTAT
has been invoked to retrieve next DB2
statement information from the Natural object loaded in main storage, but the
retrieval has failed (RC was neither 0
(OK
) nor
4
(EOP
)); the probable cause is a Natural object
inconsistency.
Program NDBSTAT
has been invoked to retrieve next DB2 or
SQL/DS statement information from the Natural object loaded in main storage,
but the Adabas command code returned was invalid; the probable cause is a
Natural object inconsistency.
Program NDBCHNK
has been invoked to free the area
allocated for Natural object load, but the release has failed; this is probably
a program error.
Program NDBSTAT
has been invoked to know the time stamp
associated to the loaded Natural object, but the call has failed; this is
probably a program error.
Program NDBSTAT
has been invoked to retrieve the next
compilation A-list element, but the retrieval has failed (RC
was
neither 0
(OK
) nor 20
(EOL
)); the probable cause is a Natural object inconsistency.
Program NDBSTAT
has been invoked to retrieve the next
compilation A-list element, but the DB2 or SQL/DS format code returned is
invalid; the probable cause is a Natural object inconsistency.
The table for a second selection logs the statement number of all
second SELECT
statements. The table is reset if there are more
than 100 entries, which means with many nested program loops. If the table is
reset, no second UPDATE
or DELETE
statements are
generated.
The versions of the Natural programs used for the static generation
(library SYSSQL
) must be the same as one of the dynamically loaded
Assembler program NDBSTAT.
A Natural object address was not found and the object cannot be modified. Either the object was not found or the address was wrong.
Warning: Natural terminates abnormally with RC=4
. A
Natural member was explicitly entered which does not exist or does not have SQL
access. The static generation can continue.
The temporary assembler program for the precompiler input was written to a temporary dataset (Natural work file 6).
None of the programs processed by the CMD
command accessed an SQL system.
The module name specified with the CMD CREATE
command
must be the same as the name of the DBRM specified in the DBRMLIB
job card of the precompilation step.
The number of programs to be generated statically into one DBRM exceeds the maximum number of 999.
The maximum number of 1500 NULL
indicators per SQL
statement has been exceeded.
The number of variables to be generated statically for one program exceeds the maximum number of 9999.
The Predict DDA default setting for static SQL XREF
is
set to YES
but the XREF
option in the
CMD
command is set to NO
.
With the XREF
option FORCE
, the
static generation continues and writes XREF
data only if Predict
documentation exists for a given DBRM. If there is no Predict documentation
available, static generation is not performed.
Either the Natural program which is to be statically generated cannot
be cataloged with XREF=ON
or the XREF
data are not on
the used Predict file.
The Predict DDA default setting for static SQL XREF
is
set to FORCE
, but the XREF
option in the
CMD
command is set to NO
or
YES
.
The library for the DBRM entered with the LIB
option is
not defined as 3GL application in Predict. Check the library name in Predict
which contains the DBRM.
The commands CAT
or
STOW
are not allowed in your security environment.
However, the CAT
or STOW
privilege is needed for static generation.
No documentation was found in Predict for the DBRM specified with the
CMD
command. Either the DBRM is not documented in
the used Predict file or a wrong DBRM name has been specified.
The Predict DDA default setting for static SQL XREF
is
read, because no XREF
option is specified in the CMD command and
the XREF
interface and Predict are installed.
The program was recataloged during the static generation process. The modify step did not change the program object. Static generation modify step continues with the next program.