请教牛人一个编译问题
http://www.itl.nist.gov/div897/ctg/sql_form.htm
这个页面上的Module Language C (v6_mc),如何编译成功?不限制平台,有会的请不吝赐教
文件下载下来解压后,有mc、sc、all、ted四种后缀的文件
-------------------------------------
all后缀文件的部分代码如下
……
NOTE ------------- Dataload Programs -------------
RUNMC basetab HU
RUNMC cugtab CUGINI
RUNMC flattab FLATER
RUNMC suntab0 SUN
RUNMC suntab1 SUN
……
-------------------------------------
sc后缀文件用c语言编写,部分代码如:
……
#include <stdio.h>
#include <time.h>
#include <string.h>
#include <stdlib.h>
void
NOSUBCLASS();
void
CHCKOK();
/* EXEC SQL BEGIN DECLARE SECTION; */
long SQLCODE;
char SQLSTATE[6];
char colnam[26];
……
-------------------------------------
mc后缀文件是sql代码
部分代码如:
……
PROCEDURE SUB4 SQLCODE;
ROLLBACK WORK;
PROCEDURE SUB5 SQLCODE;
INSERT INTO TESTREPORT
VALUES('0360','pass','MC');
PROCEDURE SUB6 SQLCODE;
INSERT INTO TESTREPORT
VALUES('0360','fail','MC');
……
-------------------------------------
ted后缀文件的部分代码如:
……
! Install vendor-supplied extensions to demonstrate FIPS Flagging:
! (Replace the underscores with vendor-supplied extensions.)
sub *flg005.*c //
/SUBSTR(EMPNAME,1,3) = 'Ali'/____________________/
/ABS(GRADE) = 12/_________________/
!
……
[解决办法]
Please click on the "ISQL/Embedded C" button below and then click on the "Process Request" button to select the basic download unit.
If you want additional interfaces, repeat this process, selecting a different file before you click on the "Process Request" button.
这里说了啊,要先下载ISQL/Embedded C
[解决办法]
//mark
[解决办法]
我来晚了