Gets a system value.
|
string i5_get_system_value ( |
string Value_Name |
|
name |
Name of a system value. Possible values for name are available with the WRKSYSVAL command on an i5/OS terminal
|
The value of the system value in case of success.
False is returned in case of error. For getting the code and error message call i5_error function.
|
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. |
|
I5_ERR_PHP_VARIABLE |
281 |
You can't use the I5_bind_param function and specify parameters |
|
I5_ERR_PHP_EMPTY_NAME |
314 |
Object name can not be empty |
$ret = i5_get_system_value('QSYSLIBL');
echo 'QSYSLIBL: ' .$ret. '<BR>';
$ret = i5_get_system_value('QSRLNBR');
echo 'Serial number: '.$ret.'<BR>';