Connect:Direct for Microsoft Windows Run Job Statement

The run job statement calls external programs that run on the same system as Connect:Direct® for Microsoft Windows.

The called program runs as a separate Microsoft Windows process. Process statements that follow the run job statement do not wait for the submitted job to complete.

IBM® Connect:Direct does not verify the validity of the submitted job statements or commands. A IBM Connect:Direct return code indicates the success or failure of the run job statement, not the success or failure of the submitted job.

The following is the Connect:Direct for Microsoft Windows run job statement format. Refer to Connect:Direct for Microsoft Windows Process Parameters for more information.

Label Statement Parameters
step name run job pnode | snode
    dsn=Windows
    sysopts="pgm(filespec)

cmd(command | parms)

args(arguments)

desktop(yes|no)"