17.00 - Compiling and Linking Routines on a Windows System - Parallel Data Pump

Teradata® Parallel Data Pump Reference

prodname
Parallel Data Pump
vrm_release
17.00
created_date
June 2020
category
Programming Reference
featnum
B035-3021-220K

Use the following syntax example to compile a C INMOD or C Notify Exit routine on an Windows client.

cl.exe /nologo /MTd /W3 /Zp1 /c /O2 -D _WINDOWS -D _MBCS -D _USRDLL -D _CRT_SECURE_NO_DEPRECATE -D WIN64 -D _WIN64 -D WIN32 -D TA_nt_x8664=1 /Fo sourcefilename.obj sourcefilename.c

link.exe -largeaddressaware -incremental:no -nologo /machine:X64 -dll -subsystem:windows,5.02 /out:sourcefilename.dll sourcefilename.obj

where sourcefilename is the name of the INMOD or Notify Exit routine source file. Successful command execution produces a file with the same name as the source file with the .dll file extension, as:

sourcefilename.dll