124 IBM Sterling Connect:Direct for i5/OS User’s Guide
The Process Management Queue handles all processes:
Local Synchronous (Examples: CDSND, CDRCV, CDRUNTASK)
Local Asynchronous (CDSUBPROC)
Remote
Submitting Processes for Asynchronous Execution
The CDSUBPROC command allows you to submit a Sterling Connect:Direct Process to the Process queue for
asynchronous execution. This command also allows you to determine:
When the Process starts
Whether the Process is retained in the queue after execution
Whether the Process is placed in the HOLD queue initially

CDSUBPROC Command Example

The following command example shows the CDSUBPROC command used to submit an asynchronous
Process.

CDSUBPROC Command Format

The following format is for the CDSUBPROC command. Required parameters are shown in bold print.
Note: For TDSN and FDSN, the values of *LIBL, *CURLIB, QTEMP cannot be used when sending to or
from an i5/OS system using Sterling Connect:Direct for i5/OS. A specific library name must be used
for copying from or to a data set on the i5/OS.
CDSUBPROC CMD(CDSND SNODE(remote.node) SNODENVIRON(Windows)
FDSN(‘library/file(mbr)’) TDSN(‘\\system\drive\directory\file’)
FMSYSOPTS(‘TYPE(mbr)‘)) STARTT(‘11/22/96’ *NOON *WEEK) RETAIN(*YES)
Command Parameters
CDSUBPROC CMD(command string)
HOLD(*YES|*NO)
PRIORITY(n)
RETAIN(*YES|*NO|*INITIAL)
STARTT(day,time,freq)
TRACEOPT
Trace Instructions:
(L,S,F,C,X,K,D,H,V,W,P|*NONE|*ALL|*EXT|
*COMMON|*INITPARMS|*CURRENT
Command Trace Options:
L,S,F,C,X,K,D,H,V,P|*ALL|*EXT|*COMMON|
*NONE)