Welcome to the Teradata Developer Exchange discussion forums.
For a general introduction and guidelines on posting, please see
this forum topic.
RSS feeds are available for each forum, as well as a combined
all forums feed.
I'm new to Teradata. I have a code which was written using Preprocessor2 long time back (may be using older version of Teradata 8 years back). Now I want to reuse the code and compile the same on windows. When I go through with "Teradata Preprocessor2 for Embedded SQL Programmer Guide Release 09.01.00 B035-2446-115A November 2005" I do get a section how to use pp2win.exe. But when Teradata express edition is installed I dont get pp2win.exe in "Teradata client\bin" folder.
Could anyone please let me know how to compile the *.pp2c file. What all the options I need to set in under visual studio.
I check the sample code for CLIv2 and using the sample code I'm able to connect to Teradata database. Actually I dont want to rewrite the Preprocessor2 code to CLIv2, because this will take long time. And I have to deliver a PoC in 2 weeks of time. Hence this is high priority for me.
Thanks for the reply, I did go through with docs and it says use "ppcmain option option /I ". I already have a file *.pp2c. I include the setting for this file as ppcmain.exe tera.pp2c tera.c in visual studio pre-complier. When I compile this file it shows error message wincli32.dll not found. Eventhough this dll exists in the system32 folder. When I try ppcmain.exe tera.pp2c tera.c on command line nothing happens. Please educate me how to solve this problem.
Hi,
I'm new to Teradata. I have a code which was written using Preprocessor2 long time back (may be using older version of Teradata 8 years back). Now I want to reuse the code and compile the same on windows. When I go through with "Teradata Preprocessor2 for Embedded SQL Programmer Guide Release 09.01.00 B035-2446-115A November 2005" I do get a section how to use pp2win.exe. But when Teradata express edition is installed I dont get pp2win.exe in "Teradata client\bin" folder.
Could anyone please let me know how to compile the *.pp2c file. What all the options I need to set in under visual studio.
I check the sample code for CLIv2 and using the sample code I'm able to connect to Teradata database. Actually I dont want to rewrite the Preprocessor2 code to CLIv2, because this will take long time. And I have to deliver a PoC in 2 weeks of time. Hence this is high priority for me.
Advance thanks for your help