08 Jul 2009
I've got the same problem when I was creating a stored procedure in Teradata SQL Assistant.
What can I do to solve this problem?
Thanks,
Anderson
08 Jul 2009
Thank you so much for the answer!
Could solve my some doubts I got?
- Could you tell me which path Teradata enviroment variables do you have?
- Which *.EXE should I run? CL.EXE or PCL.EXE?
- Could write a sheet of a script example using "Diagnostic SPLDEBUG on for session;
.compile file"?
One more time, Thank you so much for the attention!
Kind Regards,
Anderson
You must sign in to leave a comment.

Hi,
When I compiled my stored procedure I am getting following error
5863: Problem encountered during compilation phase of C code.
I have installed visual studio 2008 in my box with all the options.
Here is the result of cufconfig -0. Let me know what I am missing in my box.
I have teradata 12.00 in my box in WS2003. Thanks in advance.
Version: 5
ModTime: 1246900985
SWDistNodeID: 33
SourceDirectoryPath: D:\Program Files\NCR\Tdat\tdconfig\Teradata\tdbs_udf\usr\
CompilerTempDirectory: D:\Program Files\NCR\Tdat\TdTemp\UDFTemp\
UDFLibraryPath: D:\Program Files\NCR\Tdat\tdconfig\udflib\
CompilerPath: d:\Program Files\Microsoft Visual Studio 9.0\VC\bin\CL.EXE
LinkerPath: d:\Program Files\Microsoft Visual Studio 9.0\VC\bin\LINK.EXE
UDFServerMemPath: D:\Program Files\NCR\Tdat\TdTemp\udfsrv\
MaximumCompilations: 10
UDFServerTasks: 2
SecureServerAMPs: 20
ParallelUserServerAMPs: 2
SecureServerPEs: 20
ParallelUserServerPEs: 2
TDSPLibBase: D:\Program Files\NCR\Tdat\tdconfig\tdsplib\
SecureGroupMembership: tdatudf
UDFLibPath:
UDFIncPath:
UDFEnvFile:
CLILibPath: D:\Program Files\NCR\Teradata Client\cliv2\lib
CLIIncPath: D:\Program Files\NCR\Teradata Client\cliv2\inc
CLIEnvFile: