Hi, how can I use extern keyword
for example.
EXEC SQL BEGIN DECLARE SECTION;
extern int sal;
EXEC SQL END DECLARE SECTION;
User Profile
Collapse
-
Can I Use extern keyword in sqc
-
How can I precomfile .sqc including header file
* environment : Linux UDB V8.2
1. a.h
#define csize 13
struct { short len; char data[csize]; } firstnmest;
2. a.sqc
#include <stdio.h>
EXEC SQL INCLUDE SQLCA;
int main()
{
EXEC SQL BEGIN DECLARE SECTION;
EXEC SQL INCLUDE 'a.h';
EXEC SQL END DECLARE SECTION;
}
3. db2 prep a.sqc bindfile
LINE MESSAGES... -
Using Control Center, find S_SYND_DATA, right click with the mouse and
find size....
No activity results to display
Show More
Leave a comment: