This function bind a Service Program to the job.
bool i5_XmlBindSrvPgm (string Service_Program [, resource Connection ])
Parameters
service_program |
Name of service program to bind. |
connection |
Easycom Connection - Result of i5_connect() or i5_pconnect(). |
Return
True / False.
Details
Service Program is bound to the job. All procedure entry points become accessible for calls from i5_XmlCallProgram function calls.
Example
// Bind SRVPTEST1 service program.
$ret = i5_XmlBindSrvPgm ("SRVPTEST1");
if (!$ret)
{
print_r("i5_ XmlBindSrvPgm error : ".i5_errormsg().'<br/>');
}
See also