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

 

The description of the RPCSAMPLE program has been imported into the analysis.

 

RPCSAMPLE.OP1=2

RPCSAMPLE.OP2=3

RPCSAMPLE.OP3=0

RPCSAMPLE.STR1="aura"

RPCSAMPLE.STR2=" "

 

SI ASLanceRPC(RPCSAMPLE) ALORS

       Info("OP1=" + RPCSAMPLE.OP1)

       Info("OP2=" + RPCSAMPLE.OP2)

       Info("OP3=" + RPCSAMPLE.OP3)

       Info("STR1=" + RPCSAMPLE.STR1)

       Info("STR2=" + RPCSAMPLE.STR2)

SINON

       Info(HErreurInfo())

FIN