Natural System Error Messages 0050-0099

NAT0050: Error in reference for GET SAME statement.

Text
Error in reference for GET SAME statement.
Expl.
The GET SAME statement refers by default to the last active
access to the database; a reference to another specific database access
may be explicitly specified.
If an explicit reference is used, the database access must still be
active.
Actn.
Correct the error in the GET SAME reference.

NAT0051: Error in field reference in GET statement.

Text
Error in field reference in GET statement.
Expl.
One of the following errors was detected in a GET statement:
- A field referenced is not contained in the specified file.
- An invalid index notation for a database array was used.
Actn.
Check program and correct error.

NAT0052: Invalid ISN value specified in GET or READ statement.

Text
Invalid ISN value specified in GET or READ statement.
Expl.
The ISN value in a GET or READ statement must be specified as an
integer numeric constant, a user-defined variable, or via the Natural
system variable *ISN.
If you use *ISN, you must specify the statement label or source-code
line number (r) of the database statement that was used to originally
read the record with that ISN.
Actn.
Correct error in program.

NAT0053: No more than one WRITE TITLE/TRAILER allowed per report.

Text
No more than one WRITE TITLE/TRAILER allowed per report.
Expl.
Only one WRITE TITLE statement and one WRITE TRAILER statement may be
specified per report.
Actn.
Check the report references of the WRITE TITLE/TRAILER statements.

NAT0054: Error in entry for Natural system function.

Text
Error in entry for Natural system function.
Expl.
A Natural system function is indicated by an asterisk (*).
The name of a valid Natural system function must follow the asterisk.
Example:
  MOVE *MAX (SALARY) TO RICHPERSON
Actn.
Check program and correct error.

NAT0055: Error in argument variable for Natural system function.

Text
Error in argument variable for Natural system function.
Expl.
The argument entry for a Natural system function may be
a previously defined user-defined variable, or a database field.
Actn.
Check program and correct error.

NAT0056: SORT statement used incorrectly.

Text
SORT statement used incorrectly.
Expl.
The SORT statement may only be used within an active processing
loop.
A SORT statement may not be placed within a processing loop
that was initiated by another SORT statement.
If a program contains multiple SORT statements, all must include
a USING clause.
Actn.
Correct error.

NAT0057: Invalid number specified in WITH LIMIT clause.

Text
Invalid number specified in WITH LIMIT clause.
Expl.
The number representing the limit of records selected for further
processing was specified incorrectly. It may be specified either
as a numeric constant or as the content of a numeric variable that
has been previously defined; for example:
   WITH LIMIT (123)
or WITH LIMIT (#LMT)
Actn.
Correct error in program.

NAT0058: Number of records to be processed not specified correctly.

Text
Number of records to be processed not specified correctly.
Expl.
The number of records to be processed in a processing loop initiated
by FIND, READ or HISTOGRAM statement may be limited. The limit is
specified as (n) where n is either a numeric constant
or the name of a previously defined numeric variable.
Actn.
Correct error.

NAT0059: Incorrect field specification in WHERE clause.

Text
Incorrect field specification in WHERE clause.
Expl.
Probable causes of this message are:
- an error in the specified name;
- a reference to a Natural system function which has not yet been
  evaluated;
- a new variable has been defined where not allowed.
Actn.
Correct error.

NAT0060: Incorrect variable specification in logical criteria.

Text
Incorrect variable specification in logical criteria.
Expl.
The left portion of a relational expression was specified incorrectly.
This error may be caused by misspelling a variable name or keyword
in a statement that follows the relational expression.
Actn.
Check program and correct error.

NAT0061: Error in GIVING value of ADD/MULTIPLY/SUBTRACT/DIVIDE.

Text
Error in GIVING value of ADD/MULTIPLY/SUBTRACT/DIVIDE.
Expl.
After the word "GIVING" in an ADD, MULTIPLY, SUBTRACT or DIVIDE
statement, a valid notation for a variable reference must be specified.
A user-defined variable or a database field may be used.
Actn.
Correct error.

NAT0062: Invalid receiving field in MOVE statement.

Text
Invalid receiving field in MOVE statement.
Expl.
A valid notation for a variable reference must be specified after the
word "TO" in a MOVE statement. A user-defined variable or a database
field may be used.
MOVE LEFT/RIGHT JUSTIFIED is not allowed if the receiving field
is a system variable.
For MOVE .. with SUBSTR(..) operand(s) the following applies:
- The SUBSTR argument field must be alphanumeric or binary.
- Move of numeric field (type N) to binary SUBSTR(..) not allowed.
- Parameter "(PM=I)" not allowed if the receiving field is binary.
- Move of SUBSTR(..) to receiving field other than type A/B not allowed.
- Use of option LEFT/RIGHT JUSTIFIED is not allowed.
Actn.
Correct the error.

NAT0063: Error in the argument for a Natural system function.

Text
Error in the argument for a Natural system function.
Expl.
The argument for a system function in a WRITE or DISPLAY statement
following an AT BREAK/END DATA condition was specified incorrectly.
Either a user-defined variable or a database field may be used.
If a user-defined variable is used, it must have been previously
defined.
If a database field is used, it must be available within an active
processing loop.
For a database field which is contained within an array, a single index
(one-dimensional array) or a range of indexes (two-dimensional array)
may be used.
Actn.
Check program and correct error.

NAT0064: Invalid parameter operand.

Text
Invalid parameter operand.
Expl.
- In a CALL or SEND METHOD statement an invalid operand was
  specified as parameter.
- In a PROCESS GUI or PROCESS REPORTER statement the parameter
  operand violates the required parameter description of the
  appropriate action.
- In a OPEN DIALOG or SEND EVENT statement the parameter operand
  does not match the parameter definition of the appropriate dialog.
Actn.
Check parameter operand.

NAT0065: Group or periodic group referenced in VERT mode.

Text
Group or periodic group referenced in VERT mode.
Expl.
Groups and periodic groups may only be referenced in a DISPLAY
statement in HORIZONTAL mode because a group needs a layout of
columns that requires multiple lines.
Make sure that the display mode is set to "HORIZ" before referencing
a group or periodic group.
Actn.
Check program and correct error.

NAT0066: Error in constant specification for LIMIT statement.

Text
Error in constant specification for LIMIT statement.
Expl.
The value for the LIMIT statement may be specified as a numeric
constant only.
Actn.
Check program and correct error.

NAT0067: Error in control value specification of FOR statement.

Text
Error in control value specification of FOR statement.
Expl.
The control value must be numeric and may be specified as a
constant, user-defined variable or database field.
The TO value may be specified as a numeric constant,
user-defined variable, or database field.
Any database field used must be available via an
active processing loop.
Actn.
Check program and correct error.

NAT0068: Parameter error in GLOBALS or COMPOPT command.

Text
Parameter error in GLOBALS or COMPOPT command.
Expl.
Parameters in the GLOBALS or COMPOPT command must be specified with a
parameter identification and a valid argument for the parameter.
See the Natural system commands and session parameters documentation
for further information.
Actn.
Check parameter specified and correct error.

NAT0069: Error in search criteria involving COUPLED clause.

Text
Error in search criteria involving COUPLED clause.
Expl.
The COUPLED clause of a FIND statement may be used to specify
a search which involves the Adabas coupling facility.
A maximum of four COUPLED clauses may be used.
See the Natural FIND statement documentation for further information.
Actn.
Check program and correct error.

NAT0070: GIVE SYSTEM FUNCTIONS allowed only once per report.

Text
GIVE SYSTEM FUNCTIONS allowed only once per report.
Expl.
The GIVE SYSTEM FUNCTIONS clause, which is used to cause the
evaluation of Natural system functions for subsequent use
in an AT END OF PAGE condition, may only be used once
for a given report.
See the Natural DISPLAY statement documentation for further information.
Actn.
Check program and correct error.

NAT0071: Invalid name defined.

Text
Invalid name defined.
Expl.
The name of a subroutine must conform to the same rules which
apply to user-defined variables (as described in the Natural
documentation under "User-Defined Variables").
The name of a class, a prototype or a function must also conform
to these rules, except that it is allowed to use a period in a
class/prototype name.
Actn.
Correct the name definition.

NAT0072: A subroutine with the same name already exists.

Text
A subroutine with the same name already exists.
Expl.
You have used one subroutine name for two subroutines.
However, subroutine names within a program must be unique.
Or, you have tried to pass a parameter to an internal subroutine.
You can only pass parameters to external subroutines.
Actn.
Check names of defined subroutines. Check parameter passing.

NAT0073: Sort field error; field has not previously been defined.

Text
Sort field error; field has not previously been defined.
Expl.
The fields used as sort criteria in a SORT statement must be
user-defined variables which have been previously defined, or
database fields which are available within an active processing loop.
The same field may not be referenced twice in the SORT key fields or
the USING clause.
See the Natural SORT statement documentation for further
information.
Actn.
Check program and correct error.

NAT0074: Incorrect specification of PERFORM SUBROUTINE statement.

Text
Incorrect specification of PERFORM SUBROUTINE statement.
Expl.
1) The name of the subroutine must not be enclosed in apostrophes.
2) If the PERFORM statement is used to invoke an inline subroutine,
   explicit parameters to be passed to the subroutine must not be
   specified with the statement.
Actn.
Check program and correct error.

NAT0075: RETURN or END-SUBROUTINE misplaced.

Text
RETURN or END-SUBROUTINE misplaced.
Expl.
This error occurs under one of the following conditions:
1) A RETURN or END-SUBROUTINE was found, although there is no
   corresponding DEFINE SUBROUTINE.
2) A subroutine is empty, that is, there is no statement
   within the DEFINE SUBROUTINE statement block.
Actn.
Check program and correct error.

NAT0076: The assigned work file is not available or not defined.

Text
The assigned work file is not available or not defined.
Expl.
In a batch environment, work files must be defined by providing
JCL statements which identify the referenced work file.
In an online environment that supports work files, work files
must be defined via the setup parameters when starting the
Natural session.
Actn.
Check program to determine if work file specified correctly.
If so, contact your Natural administrator for further information
on work file assignment/availability.

NAT0077: Error in data field for READ/WRITE WORK FILE statement.

Text
Error in data field for READ/WRITE WORK FILE statement.
Expl.
Data fields may be specified as database fields or as
user-defined variables.
If the RECORD option is used, the variables must not have been
previously defined and dynamic variables (if available) are
not allowed.
If the SELECT option is used, the variables may have been
previously defined.
Numeric constants may also be used with WRITE WORK FILE.
Actn.
Check program and correct error.

NAT0078: Error in "FILLER nX" specification for READ WORK FILE.

Text
Error in "FILLER nX" specification for READ WORK FILE.
Expl.
A filler may be specified in the definition of the data layout by
using the notation "FILLER nX", where n is an integer number.
Actn.
Check program and correct error.

NAT0079: Invalid specification of AT END OF FILE clause.

Text
Invalid specification of AT END OF FILE clause.
Expl.
The specification of the AT END OF FILE clause in a
READ WORK FILE statement is only permitted if the
ONCE option has also been specified. If the ONCE
option is not specified, a normal processing loop is
created with the end-of-file condition being handled as
normal loop termination.
Actn.
Check program and correct error.

NAT0080: Command / program name must start with a letter.

Text
Command / program name must start with a letter.
Expl.
The command - or the name of the program to be executed - you entered
began with an invalid character. The first character of a system command
or program name must be an alphabetical character, not a number or a
special character.
Actn.
Enter a valid command or program name.

NAT0081: Program name missing in READ command.

Text
Program name missing in READ command.
Expl.
The READ command reads a source object from the active Natural library
(or optionally from the library specified with the command)
into the editor work area appropriate for the object type.
The correct syntax of the command is:
READ object-name <library ID>
library ID must not be specified if Natural Security is active.
library ID must not begin with "SYS" (except SYSTEM).
Actn.
Enter READ command with a valid object name.

NAT0082: Invalid command, or :1: :2: does not exist in library.

Text
Invalid command, or ... ... does not exist in library.
Expl.
One of the following has occurred:
- You entered a value in the command line which is neither a
  Natural command nor the name of a Natural program contained
  in the active library or in a library defined as a steplib.
- An object which is required during processing of a Natural
  executable is not contained in the active library or in
  a library defined as a steplib.
- Your Natural session is currently applying system files other
  than those containing the object you specified.
Actn.
Enter a valid Natural command or the name of an existing Natural
object. Use the command SYSPROF to check whether you are using the
correct system file.

NAT0083: SAVE or CATALOG command issued when work area empty.

Text
SAVE or CATALOG command issued when work area empty.
Expl.
An object can only be SAVEd/CATALOGed from the editor work area.
An object can be brought into the work area with a READ or EDIT command.
(The command "RUN program-name" will also read the source of the program
called "program-name" into the editor work area, before compiling and
executing it.)
Actn.
Use READ or EDIT prior to using SAVE/CATALOG.

NAT0084: Object name already exists; SAVE/CATALOG not executed.

Text
Object name already exists; SAVE/CATALOG not executed.
Expl.
Natural requires that object names be unique. An object cannot be
SAVEd or CATALOGed under a name which has already been given to
another object.
Actn.
Either choose a different name for the object to be SAVEd/CATALOGed,
or RENAME/PURGE/UNCATALOG/SCRATCH the existing object of that name
before issuing the SAVE/CATALOG command.

NAT0085: Invalid program name specified in SAVE/CATALOG command.

Text
Invalid program name specified in SAVE/CATALOG command.
Expl.
A program name must begin with an alphabetical character and
must not be longer than 8 characters.
Actn.
Enter a valid program name.

NAT0086: READ WORK FILE ONCE not allowed in AT END OF FILE.

Text
READ WORK FILE ONCE not allowed in AT END OF FILE.
Expl.
A READ WORK FILE ONCE statement is not permitted within
an AT END OF FILE clause.
See the Natural READ WORK FILE statement documentation
for more information.
Actn.
Correct error.

NAT0087: Invalid parameters for USING in DEFINE DATA statement.

Text
Invalid parameters for USING in DEFINE DATA statement.
Expl.
The USING clause of the DEFINE DATA statement contains invalid
parameters.
Actn.
Correct error.

NAT0088: RUN command issued without program in work area.

Text
RUN command issued without program in work area.
Expl.
If there is a program in the editor work area, you can issue the RUN
command without program name so as to compile and execute that program.
If the editor work area is empty, you must specify a program name with
the RUN command, so as to read a program into the work area, from
where it is compiled and executed.
Actn.
Specify a program name with the RUN command, or read the source program
into the work area with a READ or EDIT command before issuing RUN.

NAT0089: CHECK command issued, but no program in work area.

Text
CHECK command issued, but no program in work area.
Expl.
The CHECK command can only be used after a source program has been
read into the source work area with an EDIT, READ, or RUN command.
Actn.
Use EDIT or READ to place program in source work area
before issuing a CHECK command.

NAT0090: Sub-/superdescriptor cannot be used in THRU clause.

Text
Sub-/superdescriptor cannot be used in THRU clause.
Expl.
A subdescriptor or superdescriptor must not be used in a THRU clause.
The REDEFINE statement may be used to create a variable which may be
used in the THRU clause.
A HISTOGRAM statement may be used to read the values of the sub- or
superdescriptor in sequence, followed by a FIND statement using each
value read to retrieve the records.
Actn.
Check program and correct error.

NAT0091: Only "ON" or "OFF" allowed with UPDATE command.

Text
Only "ON" or "OFF" allowed with UPDATE command.
Expl.
The UPDATE command may be used to disable or enable database updating:
- "UPDATE ON"  enables updating of the database.
- "UPDATE OFF" disables updating of the database.
Other command options are not allowed with the UPDATE command.
Actn.
Enter the command "UPDATE ON" or "UPDATE OFF".

NAT0092: Invalid/missing block name in DEFINE DATA statement.

Text
Invalid/missing block name in DEFINE DATA statement.
Expl.
One of the following errors was detected while processing the
block name of a data block contained within a global data area:
- An error in block naming conventions was detected.
- The data block specified was not found in the current
  global data area.
Actn.
Check program and correct error.

NAT0094: Invalid initial value definition. Reason code :1:.

Text
Invalid initial value definition. Reason code ....
Expl.
The initial value definition is invalid. Possible reason codes:
01: Group must not have INIT        12: ")" Index end not found
02: LENGTH only allowed for A/U     13: Keyword LENGTH expected
03: FULL LENGTH not allowed for DYN 14: FULL LENGTH and LENGTH n mixed
04: ALL not allowed for scalar      15: INIT value incompatible to vari
05: "<" character expected          16: INIT value too long for variable
06: Range specification required    17: No INIT value found in <...>
07: Range only allowed for array    18: *LENGTH and *OCC not allowed
08: V only allowed for 1 dimension  19: ">" character expected
09: Index range invalid
10: "," for next index missing
11: Wrong index in array INIT clause
Actn.
Correct the initial value definition.

NAT0095: Only alpha constant/field allowed for text in (RE)INPUT.

Text
Only alpha constant/field allowed for text in (RE)INPUT.
Expl.
The "text" in an INPUT or REINPUT statement can be specified with an
alphanumeric constant, a previously defined alphanumeric variable,
or an alphanumeric database field.
Actn.
Check that the variable used is defined as alphanumeric format
or that the text constant is enclosed in apostrophes.

NAT0096: Invalid use of GLOBAL in DEFINE DATA statement.

Text
Invalid use of GLOBAL in DEFINE DATA statement.
Expl.
"USING gda-name" is required after the keyword "GLOBAL" when
referencing a global data area in a DEFINE DATA statement.
Actn.
Correct error.

NAT0097: Invalid variable definition in REDEFINE statement.

Text
Invalid variable definition in REDEFINE statement.
Expl.
The variable definition is invalid for one or both of the
following reasons:
- invalid format specification;
- invalid field length specification.
Actn.
Correct error.

NAT0098: At least one field required for RESET statement.

Text
At least one field required for RESET statement.
Expl.
The RESET statement requires that at least one variable be
specified after the keyword RESET (or after the keyword
INITIAL, if this is used).
Actn.
Correct error.

NAT0099: Field error in a COMPRESS statement.

Text
Field error in a COMPRESS statement.
Expl.
The COMPRESS statement compresses multiple field/literal values
into another field. At least one value to be compressed must be
specified. The value specified must be either a literal constant
or an alphanumeric field.
Actn.
Correct error.