IBM 4J manual Srcf=/path/file name, Date day , hhmmss ampm

Page 37

Parameter

Description

Value

 

 

 

snode

Locate the statistics file

remote node specification generic (list)

 

record by the secondary

remote node specification—Identifies a specific

 

node name. This

 

parameter can be used to

remote node name.

 

specify a specific remote

generic—Specifies a nonspecific value for the

 

node, a generic value for

 

remote node name. This generic value,

 

matching remote node

 

containing pattern-matching characters, evaluates

 

names (using pattern

 

to a list of zero or more remote node names.

 

matching), or a list of

 

 

 

multiple remote node

list—Specifies a list of remote node specifications.

 

names.

 

Enclose the list in parentheses, and separate each

 

 

 

The secondary node name

value with a comma.

 

typically contains the

 

 

1–16 character remote

 

 

Sterling Connect:Direct

 

 

node name, but can be

 

 

any string up to 256

 

 

alphanumeric characters

 

 

long. You can also specify

 

 

a remote node name as

 

 

an IP address or

 

 

hostname and a port

 

 

number.

 

 

 

 

srcfile

Selects statistics based on

srcf=/path/file name

 

a source file name. This

For example:

 

parameter can be

 

abbreviated as srcf.

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

 

 

 

 

This parameter can be used in combination with

 

 

the destfile 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

 

 

 

startt

Selects records produced

[date day] [, hh:mm:ss [ampm]]

 

both at and since the

date—Specifies the day (dd), month (mm), and

 

specified time. The date

 

or day and time are

year (yy), which you can code as mm/dd/yyyy

 

positional. If you do not

or mm-dd-yyyy. If you only specify date, the

 

specify date or day, a

time defaults to 00:00:00. The current date is the

 

comma must precede

default.

 

time.

day—Specifies the day of the week. Values are

 

 

 

 

today, monday, tuesday, wednesday, thursday,

 

 

friday, saturday, and sunday.

 

 

hh:mm:ss [am pm]—Specifies the time of day

 

 

in hours (hh), minutes (mm), and seconds (ss).

 

 

You can specify the hour in either 12- or 24-hour

 

 

format. If you use 12-hour format, then you must

 

 

specify am or pm. The default is the 24-hour

 

 

format. The default value is 00:00:00, which

 

 

indicates midnight. If you specify only the day

 

 

value, the time defaults to 00:00:00.

 

 

 

Chapter 1. Controlling and Monitoring Processes 31

Image 37
Contents User Guide Page User Guide Copyright IBM Corporation 1999 Contents Iv Sterling ConnectDirect for Unix User Guide CLI Commands Overview of the Command Line InterfaceStarting the CLI Stopping the CLIOption Description Value Entry Sample CommandCdpnum CLI Job ControlOverview of Sterling ConnectDirect Commands CLI History CommandsCommand Command Abbreviation DescriptionParameter Abbreviation Abbreviations for Common Sterling ConnectDirect CommandsPname = A?PROD5 Submitting a ProcessParameter Description Values Parameter Description Values Id , pswd Username@hostname or user@localhostName nnnnn Name host name nnn.nnn.nnn.nnn orSnodeid field Id ,pswd ,newpswdSpecify retain=initial Following command submits the Process named copyfil Following command submits the Process named payrollChanging Process Parameters Following command submits the Process named copy.cdpParameter Description Value Name generic listNode specification, userid generic list Remote node specification generic listDeleting a Process from the TCQ Number list Removing a Process from the Execution Queue Stopping Sterling ConnectDirect Flush process command has the following optional parametersParameter Description Viewing a Process in the TCQPname Locate the Process to view EX HC HE HI HO HR HS PE Monitoring Process Status in the TCQ Following command displays the specified Process numberAll EX HC HE HI HO HR HS PE Output from the command is displayed in the following table Dest=/path/file name Determining the Outcome of a ProcessRecord id list Caev Capr CAEV, CaprParameter Description Value Parameter Description Value Parameter Description Value Date day , hhmmss ampm Srcf=/path/file nameGenerating a Detailed Output Report for a Process Generating a Summary Report for a Process Running System DiagnosticsSelect Statistics Recid LOG Timepname Pnumber Stepname Ccod Fdbk MsgidCOMM.TRC Smgr Trace smgr pnode tnode=ath3500ry level=2 file=Smgp.trc Overview of the Transmission Control Queue Command DefinitionScheduling Sterling ConnectDirect Activity Scheduling Parameter Queue CommentsProgression of a Process Through the TCQ Execution Queue Element Comment Wait QueueStatus Comment Hold Queue Timer QueueHeld for Call indicates that the Process was Creating a Translation Table Introduction to Translation TablesExample-Creating a Translation Table Compiling a Translation Table Using the ndmxlt UtilityExample-Modifying a Model Translation Table Using Translation During File Transfer OperationsAccessing Sterling ConnectDirect Messages Translation Table Error MessagesMessage File Content Diagnostic Number DescriptionMessage File Record Format Following is a sample ndmmsg commandDisplaying Message Text Following are the parameters for the message file recordSterling ConnectDirect for Unix User Guide Following are the parameters for the cdsacomp utility Using the Standalone Batch Compression UtilityLevel-Compression level Memory-The amountCodepage Source codepage, destinationNnnnn Example-Precompress a Text File With Codepage Conversion Example-Precompress a Text FileExample-Precompress a Binary File Example-Decompress a Text FileExamples-csdacomp Command Help Configuration Reports Validate Configuration FilesCfgcheck command has the following arguments Argument DescriptionType the following command at a Unix prompt Generating a Configuration Report on the Base InstallationSterling ConnectDirect Utilities Following example shows an excerpt from a sample report Sterling ConnectDirect Utilities Sterling ConnectDirect for Unix User Guide Introduction to Writing Custom Programs Program using the C++ API callsCompiling Custom Programs Compiler version to use for each platformYou want to create such as apicheck Platform Compile Command++ Function Description Writing Custom C ProgramsNdmerrenth Ndmerror NdmnoerrorNdmapirecvresp or Receiving Responses Using ndmapirecvresp or ndmapirecvrespcNdmapirecvrespc Parameter Description Value PNOD-PNODE SNOD-SNODE Following is a sample ndmapirecvresp functionReturn Code Description TruncatedNdmapirecvresp or ndmapirecvrespc to retrieve Ndmapisendcmdc function call has the following return codes Writing Custom C++ ProgramsFollowing is a sample ndmapisendcmd function Selectstatistics or Selectprocess , the CLISterling ConnectDirect for Unix User Guide Cdfailure Method Description Parameter Return ValuesCdsuccess = 0, Cdfailure = Following is the ConnectDirectSession class headerWriting Custom Programs Sterling ConnectDirect for Unix User Guide User Exit Functions User Exit ProgramsProgram Description Chown root exitskeletonReturn Code Goodrc ErrorrcExitprogram Waiting for a Message Using recvexitmsg or recvexitmsgcHeader Following are the parameters for sendexitmsg or sendexitmsgcStatistics Exit Message Overview of User Exit MessagesFile Open Exit Messages Fileopenoutputreplymsg Security Exit MessagesValidatemsg Validatereplymsg GeneratemsgCopy Control Block User Exit Stop MessageExit Log Files Copyright IBM Corp IBM Corporation J46A/G4 Bailey Avenue San Jose, CA Trademarks Sterling ConnectDirect for Unix User Guide Index Special characters Generatemsg Generatereplymsg Validatemsg Validatereplymsg Page Sterling ConnectDirect for Unix User Guide Page Product Number 5725-C99