PUNCH[(filespec)]|NOPUNCH -o [filespec] | -no | PP2 - PUNCH[(filespec)]|NOPUNCH
-o [filespec] | -no - 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

PUNCH specifies the file that contains the source code generated by PP2.

NOPUNCH specifies that PP2 suppress source code generation.

Usage Notes

Default Abbreviation for PUNCH Abbreviation for NOPUNCH Mutually Exclusive
PUNCH PU NOPU PUNCH and NOPUNCH

If PUNCH is specified but no file is specified, the print file defaults to different types of files, depending on the environment. The following table lists the file types.

Environment Type of File
z/OS File with a ddname of SYSPUNCH
Workstation-attached An output file with the source input file name and a file extension appropriate to the source language.

If a file name is specified without an extension, PP2 uses the defaults explained in the next table.

If a file name is specified with no extension, the default extensions are:

Language Default Extension
COBOL .cob
C .c
PL/I .pli