INPUT(filespec) -i filespec Syntax |Preprocessor2 for Embedded SQL (PP2) - INPUT(filespec)
-i filespec - 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 the source file containing embedded SQL statements that PP2 uses as input.

Usage Notes

When INPUT is not specified, the input file defaults to the type of file shown in the table.

Environment Type of File
z/OS The file has a ddname name of SYSIN.
UNIX OS Stdin
Windows Stdin

If a file name is provided with no extension in workstation-attached environments, these default extensions are appended:

Language Default Extension
COBOL .pb
C .pc
PL/I .pi