NULLSCAN|NONULLSCAN
-ns | -nns - Teradata Preprocessor2

Teradata® Preprocessor2 for Embedded SQL Programmer Guide

Product
Teradata Preprocessor2
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2020-06-19
dita:mapPath
whb1544831946911.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2446
lifecycle
previous
Product Category
Teradata Tools and Utilities

Purpose

Specifies that PP2 scan for the null character (x‘00') during precompilation.

Usage Notes

Default Mutually Exclusive
NONULLSCAN NULLSCAN and NONULLSCAN

Specify NULLSCAN if using null characters in a COBOL or PL/I program.

NONULLSCAN causes the precompiler to bypass null character scanning.

Specify NULLSCAN if the application program contains null characters. If the program has null characters (x'00'), but the NONULLSCAN option is specified or used as the default, PP2 will fail with errors. Depending on whether the null storage location is interpreted as an op code (S0C1) or a memory address (S0C4), an abend error might be generated during the preprocess step. There may or may not be error messages indicating the cause of the abend.