Loading...
Select Version
NULL is a predefined address of the “pointer” data class.
Format
NULL
Syntax rules
This format can only be used in the following cases:
as a parameter in a CALL statement with a program prototype
as a parameter in a method call
as the sending item in a SET statement or INITIALIZE statement
in a relation condition with a data pointer or program pointer
General rules
When used together with a data pointer, the predefined address NULL indicates a data item of the class “pointer”, which does not contain a valid address for data in COBOL.
When used together with a program pointer, the predefined address NULL indicates a data item of the data class “pointer”, which does not contain a valid address for programs in COBOL.