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.
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.
Elements in order
User ID
User ID
Address
Address
JOB
Job name
Specifies the job that created the spooled file.
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
User
User
Number
Number
SPLNBR
Spooled file number
Specifies the number of the spooled file that has the specified file name.
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.
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.
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
Creation time
Creation time
Suggested / special values:
*ONLY, *LAST
DTAFMT
Data format
Specifies whether the spooled file attributes are sent with the data.
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.
PTY
Send priority
Specifies the priority of the send operation on the network.
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.
Generated from os/cl/catalog/SNDNETSPLF.json and os/cl/help/SNDNETSPLF.json.