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