PreviousNext
Help > API Functions > Trace (debug purpose) and utility > i5_change_function_name
i5_change_function_name

 

Customize the "function" field displayed in the WRKACTJOB listing for the Easycom sub-system corresponding to the connection.

 

  

bool i5_change_function_name (string newName , resource connection)

 

 

Parameters

 

newName

Name which will be displayed in the WRKACTJOB results on IBMi.

 

connection

Connection resource - result from i5_connect() or i5_pconnect()

 

 

Return

True if OK. False is returned in case of error. For getting the code and error message call i5_error function.

 

 

 

Example

 

 

$retChangeName = i5_change_function_name("TestAura", $Hdlcon);

if (!$retChangeName)

{

                   print_r("i5_change_function_name error : ".i5_errormsg().'<br/>');

}