The task is used to run a native command on an IBMi system. It is included in the macrodefs.xml macro for an Enterprise Extensions (EE) language definition when appropriate by the Dependency Build process.

Attributes

The task supports Build Extensions Debugging Attributes and Build Extensions General Attributes, as well as, its own task specific attributes. Click on a link for more information on the common attributes.

The following table describes the task specific attributes for the task:

Task Specific Attributes
Attribute Description Required
commandString The text of the native command to run. Yes

Notes

Examples

Run a command:

<antp:command commandString="CRTCBLMOD MODULE(MYLIB/XMPLE1) SRCFILE(MYLIB/QCBLLESRC)
  SRCMBR(MYLIB/XMPLE1) OUTPUT(*PRINT) TEXT('My ILE COBOL Program') CVTOPT(*FLOAT)"/>