Skip to end of metadata
Go to start of metadata

This command is used to execute an IBM i CL command. 

Parameters

  1. Command - A string containing a CL command to execute.

Exception Handling

An Error instance will be thrown with the following properties:

  • message - The IBM i message text.
  • error - The message id.
  • help - The message help text.

RPG Equivalent 

QCMDEXC System API

Examples

Check for existence of an object
Create a duplicate file in QTEMP

 

Requirements

This API requires the Profound.js Connector module.

 

Labels
  • No labels