Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Batch Management

How to use the Sample Code

  • Last UpdatedJun 06, 2017
  • 1 minute read

The two preprocessors #if 0 and #endif need to be either commented or removed for proper working of the sample code. Sample code is written so that it invokes the default behavior in the Batch system, which calls the stored procedure for inserting the data into the respective tables in the database.

The following are the utility functions used in the construction of the SQL statements in devhisthook.c:

void NullToSpace(char* pStr);

void ConstructSQLString(char* pAppendStr, int nControl, short bComma, char* pStr);

void MakeTime(char* szBuff, time_t lDateTime);

void MakeUtcTime(char * szBuff, time_t lDateTime );

TitleResults for “How to create a CRG?”Also Available in