📄 pcs_snd_yx1.pc
字号:
/********************************************************************************
* File Name : PCSSndYX1.pc *
* Module ID : MD_P05_01 *
* Module Name : PCSSNDYX1.pc *
* Purpose : Read YX file,write YX DB *
* Auther : lix *
* Date Created : 07/20/1999 *
* Version : Version 1.0 *
* Environment : OSF1 Compaq V4.0 (Alpha) *
* Portability : Unix platform *
* Warnings : *
* References : *
* Calling Syntax : *
* Parameters : *
* Returns : integer *
* 0 success *
* -1 failure *
* Calling Functions : *
* InitPCSSndYX1() *
* OpenYXFileForRead() *
* ReadYXFileForData() *
* getyxfilelen() *
* CreateSndLogAndHZRec() *
* UpdateSndLogStatus() *
* InsertSndYXDBRec() *
* InsertSndTMPDBRec() *
* Called Functions : Forked by PCSFileDepart.xx *
* Data Stores and Usages : *
* (a) Input : *
* (b) Output : T_FSRZ,T_HZ,T_FSYXSJ,T_ZCFSSJ *
* Report : none *
* Screens : none *
* Message Files : none *
* *
* Change Log : *
* Change No. Date Auther Reason for Change *
*******************************************************************************/
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <sqlca.h>
#include <sqlcpr.h>
#include <signal.h>
#include "/usr/bkfx/include/Pcs_Snd_YX1/cmYXStr.h"
#include "/usr/bkfx/include/Pcs_Snd_YX1/cmdef.h"
#include "/usr/bkfx/include/Pcs_Snd_YX1/Pcs_Snd_YX1.h"
#include "/usr/bkfx/include/Pcs_Snd_YX1/yx1api.h"
/* Usage : PCSSndYX1.x filename */
main(int argc,char *argv[])
{ char sjbh[3];
int flag,flag2;
printf("ddddd");
flag=InitPCSSndYX1();
printf("eeeee\n");
EXEC SQL SELECT count(*) INTO :flag2 FROM T_SJBH ;
printf("sjbh is %d\nflag is %d\n",flag2,flag);
EXEC SQL COMMIT WORK RELEASE;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -