SUSPEND, FLUSH, and DELETE Command Examples

Examples of the SUSPEND, DELETE, and FLUSH commands are shown in the following:

SUSPEND Process

The following command suspends any executing Process with a submitter node ID of DALLAS and a submitter user ID of SMITH:

SUSPEND PROC  WHERE (SUB=(DALLAS, SMITH))

The following command suspends the Process named PAYROLL, which is Process number 514 and the Process named COPY100, which is Process number 575.

SUS PROC	WHERE ( -
	PNAME=(PAYROLL,COPY100), -
	PNUM=(514,575))

FLUSH Process

The following command flushes executing Processes submitted by SMITH at the node DALLAS:

FLUSH PROC  WHERE (SUB=(DALLAS, SMITH))

The following command flushes the Process named PAYROLL which has Process number of 514 and the Process named COPY100 which has the Process number of 575:

FLUSH PROC  WHERE ( -
	PNAME=(PAYROLL,COPY100), -
	PNUM=(514,575))

DELETE Process

The following command deletes Processes with the number 60584:

DEL PROC  WHERE (PNUM=60584)

The following command deletes all Processes submitted by CHUCK at the node DALLAS.MVS:

DEL PROC  WHERE (SUB=(DALLAS.MVS, CHUCK))

The following command deletes all Processes in the PR queue. When specifying QUEUE= PR, no other selection criteria are allowed.

DELETE PROCESS WHERE (QUEUE=PR)