NULLSCAN|NONULLSCAN -ns | -nns] |Preprocessor2 for Embedded SQL (PP2) - NULLSCAN|NONULLSCAN
-ns | -nns - Teradata Preprocessor2

Teradata® Preprocessor2 for Embedded SQL Programmer Guide - 20.00

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Preprocessor2
Release Number
20.00
Published
October 2023
ft:locale
en-US
ft:lastEdition
2023-11-20
dita:mapPath
nyr1691484085721.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
xfi1470440464166
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.