How to Set Up Examples| Teradata Preprocessor2 for Embedded SQL (PP2) - Procedure Overview - 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
Language
English (United States)
Last Update
2023-11-20
dita:mapPath
nyr1691484085721.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
xfi1470440464166
Product Category
Teradata Tools and Utilities

To set up the SQL examples:

  1. Install the PP2 product libraries on all operating systems that will be used.
  2. Run the LABS control stream to:
    • Create the new EMPLOYEE table.
    • Load the EMPLOYEE table.
    • Create the LAB6 macro.
    • Create the LAB7 macro.
      Execute the create files and load the data only once on any one platform.
  3. Grant the following access privileges for the user ID you want to use with the examples.
    • SELECT
    • UPDATE
    • INSERT
    • DELETE

      Remember to set the LOGON string variable length and modify the code to include these items for the installation:

    • TDPID
    • USERID
    • password