iCmd
- iCmd(cmd, options)
Note
Deprecated: Replaced by
CommandCalland will be removed in the next major version.Generates a CL command.
- Arguments
cmd (string) – The command to string run.
options (clOptionsDeprecated) – The command options.
- Returns
string – The generated XML for the CL command.
- clOptionsDeprecated()
CL Command Options
- Arguments
exec (string) – How to run the command. Valid options: ‘cmd’, ‘system’, or ‘rexx’. Default is
cmd.error (string) – Determines action when an error is encountered. Valid options are
on,off, orfast. Default isfast. Usingonwill cause the script execution to stop and log a full error report. Usingofforfastcontinues executing the script. The Difference is thatfastwill log a brief error report andoffwill not.hex (string) – Whether to output data in hex format. Valid options are
onoroff. Default isoff.before (string) – The CCSID to convert to before command call.
after (string) – The CCSID to convert to after command call.