IBM Sterling ConnectDirect for i5/OS
Copyright
Contents
Chapter Sending a Spool File
Chapter Running a Remote Task
Chapter Submitting a Job on a Remote Node
Chapter Compressing Files
Chapter Using Sterling ConnectDirect Statistics
Chapter Controlling Processes
Chapter Decompressing Files
Appendix a CL Program Examples
IBM Sterling ConnectDirect for i5/OS User’s Guide
Issuing Sterling ConnectDirect CL Commands
About Sterling ConnectDirect for i5/OS
Interfacing with Sterling ConnectDirect for i5/OS
Understanding Sterling ConnectDirect for i5/OS Components
IBM Sterling ConnectDirect for i5/OS User’s Guide
Accessing Sterling ConnectDirect Through the Main Menu
Issuing CL Commands Through the Main Menu
Accessing the Administration Menu
Cdselstat
Vrycfg
IBM Sterling ConnectDirect for i5/OS User’s Guide
Using Control Language
Reviewing Sterling ConnectDirect CL Command Functions
Cddspstati
Entering CL Commands
Embedding CL Commands
Entering CL Commands in Free Format
Command Prompting
Using CL Programming and Sterling ConnectDirect CL Commands
Sample CL Program
Accessing Command Level Help
Prompting for a Command
Accessing Parameter Level Help
Using Parameter Level Prompt
IBM Sterling ConnectDirect for i5/OS User’s Guide
Using the File Systems
Sending a File
Native File System
Integrated File System
QSYS.LIB/library-name.LIB/file-name.FILE/member-name.MBR
Using the Cdsnd Command
Cdsnd Command Example
Cdsnd Command Format
CRC*INITPARMS*NETMAP*OFF*ON
Required Parameters
SNODEremote-node-name
TDSN’to data-set-name’
SNODENVIRNremote-environment-name
FDSN‘from data-set-name’
FMSYSOPTS‘
Format Special Considerations
Sending a File
IBM Sterling ConnectDirect for i5/OS User’s Guide
Sending a File
IBM Sterling ConnectDirect for i5/OS User’s Guide
CKPTINVn
Optional Parameters
BLKSIZEn*CALC
ECTUNINGecclevel,ecwinsize,ecmlevel
CLASSn
Compress *NO*YES*EXTX\xx\C\cc\
CRC*INITPARMS*NETMAP*OFF*ON
Exclude genericmember-namestart-range/stop-range‘list’
NOTIFYuserid
Secoptions
Replace *YES*NO
RMTWORK*NO*YES
SELECTmember, new-name, R/NR, ‘list’
Snodeid id, pswd, newpswd
TBUFNDn
Tdbparms dbid, dbsubid
Sending a File
TLINKvmuserid pwd accmode cuu
TIOEXITprogram-name
TIOPARMparameter-names
Command Trace Options
TMSVGPdata-definition-name
TPROTCT*YES*NO
Traceopt
Tsql ‘sql-statement’‘DSN=data-set-name’
Using Block Mode Transfer
Block Mode Transfer Examples
Simulating Blocksizes
Cdrcv Example-Specifying Source File Blocksize
Using the Cdsnd Screens
Sending a File to a Remote Node
Current
Calc
Receiving a File
Using the Cdrcv Command
Cdrcv Command Example
Cdrcv Command Format
FALIAS*YES*NO
Required Parameters
FDSN‘from remote-data-set-name’
Snodenvirn
TDSN‘to data-set-name’
Receiving a File
IBM Sterling ConnectDirect for i5/OS User’s Guide
Receiving a File
IBM Sterling ConnectDirect for i5/OS User’s Guide
Optional Parameters
Ectuning ecclevel,ecwinsize,ecmlevel
COMPRESS*NO *YES *EXT X\xx\ C\cc\
EXCLUDEgeneric, member-name, start-range/stop-range, ‘list’
FALIAS*YES*NO
FBUFNDn
FDBPARMSdbid, dbsubid
DEN
FIOPARMparameter-name
FDISPcurrent, normal end, abnormal end
FIOEXITprogram-name
FLINKvmuserid,pwd,accmode,ccuu
FMSVGPdata-set-name
FPDSDIR*YES*NO
FSQLsql-statementDSN=data-set-name
FUNITname
FVOLprivate, volcount, ser
FVOLREFdata-set-name
FVSAMCATdsn,vmid,pwd,accmode,cuu
REPLACE*YES*NO
RMTWORK*YES*NO
SACCTsnode-accounting-data
SELECTmember, new-name, R/NR,‘list’
SNODEIDid, pswd, newpswd
TDISPcurrent
Traceopt
Using Block Mode Transfer
Cdrcv Examples-Not Specifying Source File Blocksize
Using the Cdrcv Screens
Receiving a File From a Remote Node
ConnectDirect Receive File Cdrcv Screen
None
YES YES, *NO CRC Initparms
T, ET, COMP, Nocomp
IBM Sterling ConnectDirect for i5/OS User’s Guide
Using the Cdsndspl Command
Cdsndspl Command Example
Cdsndspl Command Format
Sending a Spool File
CRC*INITPARMS*NETMAP*OFF*ON CTLCHAR*NONE*FCFC*PRTCTL
SPLFname
JOB*job-name user-name job-number
SPLFNUMn*ONLY*LAST
TDSNspooled-file-namedata-set-name
MSP
IBM Sterling ConnectDirect for i5/OS User’s Guide
Sending a Spool File
IBM Sterling ConnectDirect for i5/OS User’s Guide
CHLVAL*NORMAL channel#1 line#1 . . . channel#12 line#12
Compress *YES*NOX\xx\C\ccEXT
PNAMEname
CTLCHAR*NONE*FCFC*PRTCTL
FDSNLEN*SPLF
PRTYn
TDBPARMSdbid, dbsubid
IBM Sterling ConnectDirect for i5/OS User’s Guide
TIOPARMparameter-name
TLABELseqno,labeltype,pswdread,inout,retpd,expdt
TLINKvmid,pwd,accmode,cuu
TMSVGPn
Command Trace Options
TVOL*YES*NO
Sending a Spooled File to a Remote Node
IBM Sterling ConnectDirect for i5/OS User’s Guide
Running a Remote Task
Using the Cdruntask Command
Cdruntask Command Example
Cdruntask Command Format
Cdruntask Example With New TraceOpt Parameters
CMDcommand
PGMprogram-name
PARMparameters
Trace Instructions
Using the Cdruntask Screens
Initiating a Task on a Remote Node
ConnectDirect Run Task Cdruntask Type choices, press Enter
IBM Sterling ConnectDirect for i5/OS User’s Guide
Cdsubmit Command Format
Using the Cdsubmit Command
Cdsubmit Command Example
CommandParameters PROCFILEfile-name
PROCFILEfile-name
CLASSn*MODED
NEWNAMEfile-name*NONE
NOTIFY*CURRENT*NONEuserid
PCLASSn
PHOLD*YES*NO*CALL
PNOTIFYuserid
Ppacctpnode accounting-data
PREQUEUE*YES*NO
PRETAIN*YES*NO*INITIAL
Sacctsnode accounting-data
SNODEIDid,pswd,newpswd
Using the Cdsubmit Screens
Submitting a Process on a Remote Node
Sterling ConnectDirect Submit Primary Screen
Submitting a Job on a Remote Node
Using the Cdrunjob Command
Cdrunjob Command Example
SNODENVIRNenvironment-name
Cdrunjob Command Format
SNODEnode-name
BATCHIDidname
CRC*INITPARMSI*NETMAPN*OFFF*ONO
JOBFILEfilename
LINKCMS-file-information
SNODEIDuserid, pswd, newpswd
Submitting a Job on a Remote Node 113
Submitting a Job to a Remote Node
Using the Cdrunjob Screens
TSYSOPTSremote-job-command
Primary Cdrunjob screen looks similar to the following
IBM Sterling ConnectDirect for i5/OS User’s Guide
Using the Cdcomp Command
Cdcomp Command Example
Compressing Files
Required Cdcomp Tasks
Outfile library-name/file-name
Cdcomp Command Format
Infile library-name/file-name
SELMBRstart-mbr end-mbr new-mbr
EXCMBRstart-mbr end-mbr
Replace *NO*YES
Using the Cdcomp Screen
Compressing a File Prior to Sending
Compressing Files 121
IBM Sterling ConnectDirect for i5/OS User’s Guide
Understanding Asynchronous and Synchronous Processes
Controlling Processes
Understanding the Process Management Queue
Submitting Processes for Asynchronous Execution
Cdsubproc Command Example
Cdsubproc Command Format
CMDcommand string
HOLD*YES*NO
PRIORITYn
RETAIN*YES*NO*INITIAL
Traceopt
Using the Cdsubproc Screens
Submitting a Process for Asynchronous Execution
Wrkcdproc Command Example
Wrkcdproc Command Format
Working with Sterling ConnectDirect Processes
Selecting Specific Processes
QNAMEACTIVQHOLDQWAITQTIMERQSTARTQ*ALL
PNUMn*ALL
PUSER*ALLnamegeneric
RMTNODE*ALLnamegeneric
Using the Wrkcdproc Screens
Monitoring and Controlling Processes
Changing Process Characteristics
Wrkcdproc Option Descriptions
Releasing a Process in the Hold Queue
Rlscdproc Screen
IBM Sterling ConnectDirect for i5/OS User’s Guide
Using Sterling ConnectDirect Statistics
Cdselstat Command Example
Cdselstat Command Format
Selecting Statistics Information
Cdselstat command has no required parameters
Using the Cdselstat Screens
Trace
Selecting and Displaying Summary Statistics
Active
Using Sterling ConnectDirect Statistics 139
Selecting and Printing Detail Statistics
Detail SUMMARY, *DETAIL
Using Sterling ConnectDirect Statistics 141
Cdsmgr
Using the Cddecomp Command
Cddecomp Command Example
Cddecomp Command Format
Decompressing Files
REPLACE*NO*YES
Using the Cddecomp Screen
Decompressing a File
Decompressing Files 145
IBM Sterling ConnectDirect for i5/OS User’s Guide
Specifying Recipient of Status Messages
Using the Dspcdmsgd Command
Displaying Sterling ConnectDirect Message Descriptions
Using the Dspcdmsgd Screen
Dspcdmsgd Command Example
Dspcdmsgd Command Format
Displaying Sterling ConnectDirect Message Text
Sample Message Description
SCPA000I
IBM Sterling ConnectDirect for i5/OS User’s Guide
I5/OS Compress/Decompress Examples
I5/OS Block Mode Transfer Examples
CL Program Examples
I5/OS Run Task Example
I5/OS Send Example Using Send File Field Description
I5/OS Send and Receive Examples Using Native File System
I5/OS Send and Receive Examples Using Integrated File System
I5/OS-z/OS Send and Receive Examples
I5/OS-NT Send and Receive Examples
CL Program Examples 155
I5/OS-Microsoft Windows Run Job and Run Task Examples
I5/OS-UNIX Send and Receive Examples
I5/OS-UNIX Run Task and Run Job Examples
I5/OS-UTIL Test Examples
IBM Sterling ConnectDirect for i5/OS User’s Guide
IBM Sterling ConnectDirect for i5/OS User’s Guide 159
IBM Sterling ConnectDirect for i5/OS User’s Guide
Trademarks
Copyright License
162
Glossary
Adjacent Node
Node
Process Manager Pmgr
Statistics Facility
Timer Queue Timer
IBM Sterling ConnectDirect for i5/OS User’s Guide
Index
Selmbr
Fsql
Secoptions
CMD
Cdmsgid
CRC
Secoptions SECOPTIONS, Cdsnd
QSYS.LIB
MSP
IBM Sterling ConnectDirect for i5/OS User’s Guide