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 Interface
Starting the CLI
Stopping the CLI
Option Description Value Entry
Sample Command
Cdpnum
CLI Job Control
Overview of Sterling ConnectDirect Commands
CLI History Commands
Command
Command Abbreviation Description
Parameter Abbreviation
Abbreviations for Common Sterling ConnectDirect Commands
Submitting a Process
Pname = A?PROD5
Parameter Description Values
Parameter Description Values
Id , pswd
Username@hostname or user@localhost
Name nnnnn
Name host name nnn.nnn.nnn.nnn or
Snodeid field
Id ,pswd ,newpswd
Specify retain=initial
Following command submits the Process named copyfil
Following command submits the Process named payroll
Changing Process Parameters
Following command submits the Process named copy.cdp
Parameter Description Value
Name generic list
Node specification, userid generic list
Remote node specification generic list
Deleting a Process from the TCQ
Number list
Removing a Process from the Execution Queue
Stopping Sterling ConnectDirect
Flush process command has the following optional parameters
Parameter Description
Viewing a Process in the TCQ
Pname 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 number
All
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 Process
Record id list
Caev Capr CAEV, Capr
Parameter Description Value
Parameter Description Value
Parameter Description Value
Date day , hhmmss ampm
Srcf=/path/file name
Generating a Detailed Output Report for a Process
Generating a Summary Report for a Process
Running System Diagnostics
Select Statistics
Recid LOG Timepname Pnumber Stepname Ccod Fdbk Msgid
COMM.TRC
Smgr
Trace smgr pnode tnode=ath3500ry level=2 file=Smgp.trc
Overview of the Transmission Control Queue
Command Definition
Scheduling Sterling ConnectDirect Activity
Scheduling Parameter Queue Comments
Progression of a Process Through the TCQ
Execution Queue
Wait Queue
Element Comment
Status Comment
Hold Queue
Timer Queue
Held for Call indicates that the Process was
Creating a Translation Table
Introduction to Translation Tables
Example-Creating a Translation Table
Compiling a Translation Table Using the ndmxlt Utility
Example-Modifying a Model Translation Table
Using Translation During File Transfer Operations
Accessing Sterling ConnectDirect Messages
Translation Table Error Messages
Message File Content
Diagnostic Number Description
Message File Record Format
Following is a sample ndmmsg command
Displaying Message Text
Following are the parameters for the message file record
Sterling ConnectDirect for Unix User Guide
Following are the parameters for the cdsacomp utility
Using the Standalone Batch Compression Utility
Level-Compression level
Memory-The amount
Source codepage, destination
Codepage
Nnnnn
Example-Precompress a Text File With Codepage Conversion
Example-Precompress a Text File
Example-Precompress a Binary File
Example-Decompress a Text File
Examples-csdacomp Command Help
Configuration Reports
Validate Configuration Files
Cfgcheck command has the following arguments
Argument Description
Type the following command at a Unix prompt
Generating a Configuration Report on the Base Installation
Sterling 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 calls
Compiling Custom Programs
Compiler version to use for each platform
You want to create such as apicheck
Platform Compile Command
++ Function Description
Writing Custom C Programs
Ndmerrenth
Ndmerror
Ndmnoerror
Receiving Responses Using ndmapirecvresp or ndmapirecvrespc
Ndmapirecvresp or
Ndmapirecvrespc
Parameter Description Value
PNOD-PNODE
SNOD-SNODE
Following is a sample ndmapirecvresp function
Return Code Description
Truncated
Ndmapirecvresp or ndmapirecvrespc to retrieve
Ndmapisendcmdc function call has the following return codes
Writing Custom C++ Programs
Following is a sample ndmapisendcmd function
Selectstatistics or Selectprocess , the CLI
Sterling ConnectDirect for Unix User Guide
Cdfailure
Method Description Parameter Return Values
Cdsuccess = 0, Cdfailure =
Following is the ConnectDirectSession class header
Writing Custom Programs
Sterling ConnectDirect for Unix User Guide
User Exit Functions
User Exit Programs
Program Description
Chown root exitskeleton
Return Code
Goodrc Errorrc
Exitprogram
Waiting for a Message Using recvexitmsg or recvexitmsgc
Header
Following are the parameters for sendexitmsg or sendexitmsgc
Overview of User Exit Messages
Statistics Exit Message
File Open Exit Messages
Fileopenoutputreplymsg
Security Exit Messages
Validatemsg Validatereplymsg
Generatemsg
User Exit Stop Message
Copy Control Block
Exit 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