runCmd (execute CL command)

Syntax:

runCmd( 'command' );

Description:

Uses the QCMDEXC API to execute the CL command specified at parameter command.

Return value:

void

Example:

// Prints a job log.

runCmd( 'DSPJOBLOG JOB(*) OUTPUT(*PRINT)' );