ExecuteClCommandXmlSvc Method

<< Click to Display Table of Contents >>

Navigation:  SshNetIbmi Class > SshNetIbmi Methods >

ExecuteClCommandXmlSvc Method

Summary

Execute IBM i CL System command by building system CL specific command string and running via the Qsh/Pase xmlservice-cli command.

 

It's recommended to use ExecuteClCommandSsh whenever possible since this directly executes the CL command whereas XMLSERVICE does it through an additional layer of calls.

 

Parameters

 

command - CL command to execute.

 

Returns

last exit status or 99 on general .Net error. 0=usually means success