The syntax used for submitting an IBM i command is:
UDF(‘MGEAC32.RMTCMD’, A,B)
Where:
A represents the IBM i System Name; character variable
B represents a the Full CL command
The function returns numeric 1 and 0, indicating Normal or Abnormal completion respectively.