2005-4-17 17:09
mayxx
<br />我在AIX5上使用External_Call,但是有时候会有问题,调用会中断,我在 Rc = CICS_ExternalCall (&EciParms);<br /> Response("ECI_STATE_SYNC", Rc, EciParms.eci_abend_code);<br /><br />/******************************************** add *****************/<br /> fprintf(stderr,"RC=%d\n",Rc);<br />/***********************************************************************/<br />调用后输出返回值,发现没有运行到那里,怎么回事呢?<br /><br /><br />参数为:<br /><br /> EciParms.eci_version = ECI_VERSION_1;<br /> EciParms.eci_call_type = ECI_SYNC;<br /> memcpy(&EciParms.eci_program_name, cics_prgm, 8);<br /> memcpy(&EciParms.eci_userid, cics_user, 8);<br /> memcpy(&EciParms.eci_password, " ", 8);<br /> memcpy(&EciParms.eci_system_name, cics_srv, 8);<br /> EciParms.eci_commarea = (void *)&CommArea;<br /> EciParms.eci_commarea_length = sizeof(CommArea);<br /> EciParms.eci_extend_mode = ECI_NO_EXTEND;<br /> EciParms.eci_luw_token = ECI_LUW_NEW;<br /> EciParms.eci_timeout = 0;