PROTO Procedure

MAPMISS Statement

Specifies alternative values, by type, to pass to functions if values are missing.

Syntax

Optional Arguments

POINTER=pointer-value
specifies the pointer value to pass to functions for pointer values that are missing. The default value is NULL.
INT=integer-value
specifies an integer value to pass to functions for integer values that are missing.
DOUBLE=double-value
specifies a double value to pass to functions for double values that are missing.
LONG=long-value
specifies a long value to pass to functions for long values that are missing.
SHORT=short-value
specifies a short value to pass to functions for short values that are missing.

Details

The MAPMISS statement is used to specify alternative values, by data type or pointer value. These values are passed to functions if values are missing. The values are specified as arguments in the MAPMISS statement.
If you set POINTER=NULL, a NULL value pointer is passed to the functions for pointer variables that are missing. If you do not specify a mapping for a type that is used as an argument to a function, the function is not called when an argument of that type is missing.
MAPMISS values have no affect on arrays because array elements are not checked for missing values when they are passed as parameters to C functions.