Determining the Outcome of a Process

The select statistics command is used to examine Process statistics from the Sterling Connect:Direct statistics file. The type of information in the statistics report includes copy status and execution events.

The search criteria provide flexibility in selecting information you want to display. The parameters used with the select statistics command determine search criteria and the form in which the information is presented. You can specify records to select by condition code, Process name, Process number, identification type, category, secondary node, start time, stop time, and submitter node specification and user ID.

There are no required parameters for this command. If you do not indicate a search requirement with an optional parameter, Sterling Connect:Direct selects all statistics records; however, the volume of records can be excessive. Following are parameters for the select statistics command:

Parameter

Description

Value

 

 

 

ccode

Selects statistics records

operator, nn

 

based on the completion

operator—Specifies the completion code operator.

 

code operator and return

 

code values associated

Following are the valid completion code

 

with Step Termination.

operators:

 

You must specify the

eq or = or == (equal) This is the default.

 

return code.

 

 

 

 

ge or >= or => (greater than or equal)

 

 

gt or > (greater than)

 

 

le or <= or =< (less than or equal)

 

 

lt or < (less than)

 

 

ne or != (not equal)

 

 

The return code is the exit status of the UNIX

 

 

command or the Sterling Connect:Direct Process

 

 

or command.

 

 

nn—Specifies the return code value associated

 

 

with Step Termination.

 

 

 

destfile

Selects statistics based on

dest=/path/file name

 

a destination file name.

For example:

 

This parameter can be

 

abbreviated as dest.

sel stat dest=/sci/payroll/june.payroll;

 

 

 

 

This parameter can be used in combination with

 

 

the srcfile parameter to select statistics based on

 

 

a source file name and a destination file name,

 

 

for example:

 

 

sel stat srcf=/sci/accounting/june.payroll

 

 

dest=/sci/payroll/june.payroll

 

 

 

26Sterling Connect:Direct for UNIX: User Guide

Page 32
Image 32
IBM 4J manual Determining the Outcome of a Process, Dest=/path/file name