NULLSCAN|NONULLSCAN
-ns | -nns - Teradata Preprocessor2

Teradata® Preprocessor2 for Embedded SQL Programmer Guide - 17.20

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Preprocessor2
Release Number
17.20
Published
April 2023
ft:locale
en-US
ft:lastEdition
2023-04-21
dita:mapPath
neh1679404006646.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2446
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.