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

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