Executes I5 command without returned value.
|
bool i5_remotecmd ( |
string command |
Command is sent to I5 and performed according to connected profile. Its syntax is identical to a terminal entered command syntax but can not be interactive ( DSPxxx type).
Use i5_cmd function for commands with returned values.
|
command |
Command to perform on I5 |
|
connection |
Connection ID(optional) |
Returns:
True if OK, false if failed.
|
I5_ERR_DESC_WRONG_DATAOP |
41 |
Wrong operation on a data field of a description |
|
I5_ERR_PARSEXML |
42 |
Internal error; please contact Aura Equipement; error number 42 |
|
I5_ERR_PHP_OPTIONSTYPE |
259 |
The type of " I5_OPTIONS_ALIAS" option must be x and not x |
|
I5_ERR_PHP_OPTIONSNUMBER |
260 |
Option number -1 is unknown. |
|
I5_ERR_PHP_TYPEPARAM |
262 |
Type of element x in parameter -1 must be y. Type z was provided. |
/* Message sending */
$rets = i5_remotecmd("SNDMSG MSG(‘Hello’) TOUSR(QPGMR)") ;
/* Adds a library */
$ret = i5_remotecmd("ADDLIBLE MALIBL") ;