PreviousNext
Help > Development > W-Language Functions for AS/400 > Program and Procedure calls > ASRtvResult > Detail
Detail

 

ASRtvResult retrieves the value of a result variable, after a command call issued with function ASRtvCall.

RC is an internal result variable.
If the command call fails, variable RC contains the CPF error code, otherwise, it contains "0".
So, check RC value before to retrieve any other variable results.