Example - Submit a Process and Turn On Tracing

The following command submits the Process named copy.cdp:

submit file=copy.cdp tracel=4 pnode;

Because tracel is specified and the pnode parameter is included, an SMGR and COMM full trace is performed on the Process. Trace information is written to the default file SMGR.TRC.

Changing Process Parameters

The change process command modifies specified parameters for a nonexecuting Process.

You specify the Processes to be changed by Process name, Process number, secondary node name, and submitter.

You can change the class, destination node, and priority. You can place a Process on the Hold queue or release a Process from the Hold queue by issuing a change process command with either the release or hold=no parameter.

If you submit a Process with a startt parameter, Sterling Connect:Direct places the Process on the Timer queue. If a Process fails, you can move it to the Hold queue by specifying the change process command with hold=yes. Sterling Connect:Direct then places the Process in the Hold queue in HO status. You can release the Process for execution at a later time.

You can set tracing for an existing Process by setting the tracel parameter to 1, 2, or 4. You can turn off tracing for a Process by setting trace1 to 0.

Specify at least one of the following search criteria parameters:

Parameter

Description

Value

 

 

 

pname

Locate the Process to be

name generic (list)

 

changed by Process name.

name—Specifies the Process name, up to

 

 

 

The Process name is limited

8 alphanumeric characters.

 

to 8 characters on Sterling

generic—Specifies a nonspecific value

 

Connect:Direct for Microsoft

 

Windows and Sterling

for the Process name. This generic value,

 

Connect:Direct for z/OS®.

containing pattern-matching characters,

 

 

evaluates to a list of zero or more pname

 

 

strings.

 

 

list—Specifies a list of Process names.

 

 

Enclose the list in parentheses, and

 

 

separate each value with a comma.

 

 

 

pnumber

Locate the Process to be

number from 1–99,999 (list)

 

changed by Process number.

number—Specifies the Process number.

 

Sterling Connect:Direct

 

assigns the Process number

list—Specifies a list of Process numbers.

 

when the Process is

 

Enclose the list in parentheses, and

 

submitted.

 

separate each value with a comma.

 

 

 

 

 

Chapter 1. Controlling and Monitoring Processes 13

Page 19
Image 19
IBM 4J Changing Process Parameters, Following command submits the Process named copy.cdp, Parameter Description Value