iCmd¶
-
iCmd
(cmd, options)¶ Note
Deprecated: Replaced by
CommandCall
and 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
. Usingon
will cause the script execution to stop and log a full error report. Usingoff
orfast
continues executing the script. The Difference is thatfast
will log a brief error report andoff
will not.hex (string) – Whether to output data in hex format. Valid options are
on
oroff
. Default isoff
.before (string) – The CCSID to convert to before command call.
after (string) – The CCSID to convert to after command call.