Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The COZZI - Transmit a SPOOL File (SENDSPLF) command simplifies sending a SPOOL file to another IBM i (AS/400) system over TCP/IP. It is only intended to be used when the remote system is also an IBM i (AS/400) system. Up to 64 remote systems may be specified at a time. The output queue specified on the OUTQ parameter must exist on the remote system(s). A copy of the SPOOL file is sent to each remote system(s) and placed on that OUTQ. If RMTSYS(*LOCAL) is specified, the SENDSPLF command routes the request to the COZTOOLS CPYPRTF command to create a duplicate SPOOL file on the local OUTQ.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
SPLFNAME | Spooled file name | Name, *LAST | Required, Positional 1 |
JOB | Job name | Single values: *, *CURRENT Other values: Qualified job name |
Optional, Positional 2 |
Qualifier 1: Job name | Name | ||
Qualifier 2: User | Name | ||
Qualifier 3: Number | 000000-999999 | ||
SPLNBR | Spooled file number | 000000-999999, *ONLY, *LAST, *ANY | Optional, Positional 3 |
OUTQ | Send to OUTQ | Qualified object name | Optional, Positional 4 |
Qualifier 1: Send to OUTQ | Name | ||
Qualifier 2: OUTQ Library | Name, *LIBL | ||
RMTSYS | Send to remote system(s) | Values (up to 64 repetitions): Character value, *LOCAL | Optional, Positional 5 |
Top |
Specifies the name of the SPOOL file being sent to the remote system.
This is a required parameter.
Top |
Specifies the qualified job name for the job that created the SPOOL file.
Single values
Top |
Specifies the SPOOL file number of the SPOOL file.
Top |
Specifies the target output queue on the remote system(s) where the SPOOL file is placed.
Send to OUTQ
Top |
Specifies the systems receiving the copy of the SPOOL file.
You can specify upto 64 values for this parameter.
Top |
Example 1:
SENDSPLF SPLFNAME(REPORT) OUTQ(BOB) RMTSYS(CHICAGO NASSAU)
This command copies the SPOOL file named REPORT to the output queue named BOB on remote systems CHICAGO and NASSAU. The original SPOOL file stays where it is.
Top |
Top |