Command reference / spool

SNDNETSPLF

Send Network Spooled File

Sends a spooled file to one or more users on other systems of the SNADS network. The file keeps its spooled file attributes; DTAFMT(*ALLDATA) sends the attributes with the data. Delivery needs the QSNADS communications subsystem and a system distribution directory entry for each recipient; this system has no SNADS network, so the command accepts its parameters and refuses with CPF8816.

Allowed environments: *ALL. Positional parameters: 4.

Parameters

FILE Spooled file

Specifies the spooled file to send. This is a required parameter.

Type
*NAME
Required
Yes
Length
10
Case
Uppercase

TOUSRID Send to user ID

Specifies the network user IDs that receive the file: the user ID and, for a user on another system, that system's network address. Up to 50 user IDs may be given. This is a required parameter.

Type
*ELEM
Required
Yes
List limit
50
Case
Uppercase
Elements in order

User ID User ID

Type
*CHAR
Required
No
Length
8
Case
Uppercase

Address Address

Type
*CHAR
Required
No
Length
8
Case
Uppercase

JOB Job name

Specifies the job that created the spooled file.

Type
*QUAL
Required
No
Default
*
Case
Uppercase

Suggested / special values: *

*
The job that issued the command produced the spooled file.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Job name Job name

Type
*NAME
Required
No
Length
10
Case
Uppercase

User User

Type
*NAME
Required
No
Length
10
Case
Uppercase

Number Number

Type
*CHAR
Required
No
Length
6
Case
Uppercase

SPLNBR Spooled file number

Specifies the number of the spooled file that has the specified file name.

Type
*INT4
Required
No
Default
*ONLY
Range
1 to 999999
Case
Uppercase

Suggested / special values: *ONLY, *LAST, *ANY

*ONLY
Only one spooled file in the job has the specified file name.
*LAST
The highest-numbered spooled file with the specified file name is sent.
*ANY
The spooled file number is not used to select the file.

JOBSYSNAME Job system name

Specifies the system where the job that created the spooled file ran.

Type
*NAME
Required
No
Default
*ONLY
Length
10
Case
Uppercase

Suggested / special values: *ONLY, *CURRENT, *ANY

*ONLY
There is one spooled file matching the other identifying values.
*CURRENT
The spooled file created on the current system is sent.
*ANY
The job system name is not used to select the file.

CRTDATE Spooled file created

Specifies the date and time the spooled file was created, after the other identifying values are matched.

Type
*ELEM
Required
No
Default
*ONLY
Case
Uppercase

Suggested / special values: *ONLY, *LAST

*ONLY
There is one spooled file matching the other identifying values.
*LAST
The spooled file with the latest creation date and time is sent.
Elements in order

Creation date Creation date

Type
*DATE
Required
No
Case
Uppercase

Creation time Creation time

Type
*TIME
Required
No
Default
*ONLY
Case
Uppercase

Suggested / special values: *ONLY, *LAST

DTAFMT Data format

Specifies whether the spooled file attributes are sent with the data.

Type
*CHAR
Required
No
Default
*RCDDATA
Length
9
Case
Uppercase

Allowed values: *RCDDATA, *ALLDATA

*RCDDATA
Only the spooled file data records are sent; the receiver supplies its own attributes.
*ALLDATA
The data and all spooled file attributes are sent.

CLASS VM/MVS class

Specifies the class used when the file is sent to a VM or MVS system. One alphanumeric character.

Type
*CHAR
Required
No
Default
A
Length
1
Case
Uppercase

PTY Send priority

Specifies the priority of the send operation on the network.

Type
*CHAR
Required
No
Default
*NORMAL
Length
7
Case
Uppercase

Allowed values: *NORMAL, *HIGH

*NORMAL
The file is sent at normal priority.
*HIGH
The file is sent at high priority.

Examples

SNDNETSPLF FILE(QPRINT) TOUSRID((JDE SYS1))

Sends spooled file QPRINT to network user JDE on system SYS1.

IBM command documentation

Generated from os/cl/catalog/SNDNETSPLF.json and os/cl/help/SNDNETSPLF.json.