Chapter 5

Sending a Spool File

This chapter describes the Sterling Connect:Direct Send Spool (CDSNDSPL) command and its function. It shows sample CDSNDSPL screens and describes the required and optional parameters for the CDSNDSPL command.

Using the CDSNDSPL Command

Use the CDSNDSPL command to send a spool file on the local i5/OS node to a remote node. You can also send spool files to a remote printer through the Sterling Connect:Direct for i5/OS Spool Monitor. You can specify a user-exit command (either EXITCMD or FAILCMD) to be executed after the completion of a copy process in either FROMSYSOPTS or TOSYSOPTS. Using EXITCMD, you can specify a command to be executed only if the copy process is successful. You can also specify a command to be executed only if the copy process is not successful by using the FAILCMD command. The EXITCMD and FAILCMD are executable i5/OS commands as well as Sterling Connect:Direct as long as the size of the command does not exceed 127 bytes. Refer to Maintaining Spool Support in the IBM Sterling Connect:Direct for i5/OS Installation and Administration Guide.

CDSNDSPL Command Example

The command that follows is an example of using the CDSNDSPL command.

CDSNDSPL SNODE(CD2200) SNODENVIRN(AS400) SPLF(CDLOG) JOB(CDSMGR

CDADMIN

nnnnnn) SPLFNUM(1) TDSN(’qa/splfout(splfout)’)

TOSYSOPTS(’TYPE(mbr)’)

TDISP(RPL)

 

 

CDSNDSPL Command Format

The following parameters are for the CDSNDSPL command. Required parameters are shown in bold.

Command Parameters

CDSNDSPL SNODE(remote-node-name)

SNODENVIRN(remote-environment-name)

SPLF(name)

Sterling Connect:Direct Secure Plus for i5/OS parameter.

Page 73
Image 73
IBM CDI5UG1107 manual Sending a Spool File, Using the Cdsndspl Command, Cdsndspl Command Example, Cdsndspl Command Format