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, or fast. Default is fast. Using on will cause the script execution to stop and log a full error report. Using off or fast continues executing the script. The Difference is that fast will log a brief error report and off will not.

  • hex (string) – Whether to output data in hex format. Valid options are on or off. Default is off.

  • before (string) – The CCSID to convert to before command call.

  • after (string) – The CCSID to convert to after command call.