SUBMIT Command Examples

Use these examples to help you gain a basic understanding of how you can use the SUBMIT command.

Process Example

The following example shows the syntax for a Process named PAYROLL.

SUBMIT PROC=PAYROLL -
	HOLD=Y  RETAIN=Y -
	PACCT='1959, DEPT 27' -
	SACCT='1962, DEPT 24' -
	CASE=YES

In this example, the SUBMIT command was used to:

  • Place the Process (named PAYROLL) in the HOLD queue.
  • Retain a copy after it is released for execution.
  • Create case sensitivity for fields associated with accounting data, user ID, password, and data set name in the SUBMIT command and in the PAYROLL Process.

Symbolic Substitution Example

In the following example, IBM® Connect:Direct® resolves the symbolic &DSN in the Process COPYSEQ upon submission:

SUBMIT PROC=COPYSEQ  -
	SNODE=CHICAGO, &DSN=MYFILE