About 10 years ago I developed a command file that uses DSCOPY to move
spoolfiles to a remote host. We had these huge reports and no high volume
printer attached to our machine.
Below is the help text from said command file. I can make it available to
anyone that needs it.
Regards
Paul Christidis
(PHC) SpoolFile Transfer V98.04.06 FRI, JUN 3, 2005, 12:56 PM
Usage: SPOOLXFR [Jobnum], Rsystem, Rlogon, [Rdevice], [Rpri], [Dflag]
Jobnum The Jnnn/Snnn # that created the spoolfiles to be moved
i.e J1234 or S5678. Defaults to current job/session.
Rsystem Name of remote system that will be used to establish
a DSLINE i.e 'rmthost.domain.com'.
Rlogon Valid 'logon string' that will be used to establish a
session on the remote machine. The logon string should
be enclosed in quotes and it may contain the passwords
i.e. "Bm28xyz,mgr/pass1.groupfin,finhome".
Rdevice The device, on the remote machine, where the transferred
spoolfiles should be printed. Make sure that it is a
valid device. The default is 'LASER'.
Rpri The output priority that should be assigned to the
spoolfile on the remote machine. The default is 8.
Dflag YES/[NO] Indicates whether, after its transfer, the
local spoolfile copy should be purged. Default is 'NO'.
Note: The following 'variables' may be set to further control
the operation of this process. If set, they do NOT need
to be specified as part of the command.
RSYSTEM If set, this will be used as the 'Rsystem' parameter
of the command and will remain set for the duration of
the session i.e. setvar RSYSTEM "rmthost.domain.com".
RLOGIN If set, this will be used as the 'Rlogin' parameter of
the command and will remain set for the duration of the
session i.e. setvar RLOGIN "Bphcy,Mgr/pass.cass,data".
RLOGOFF A setting of 'false' for this variable will cause the
process to remain 'logged on' to the remote system after
the transfer. In this manner distribution changes can be
made, if needed i.e. setvar RLOGOFF false. When executing
in batch this variable is *always* set to 'true'.
RCOPIES If set, will be used to control the number of copies of
the spool file on the remote machine. (In the event that
said number should differ from the local copy). As a
precaution the 'RCOPIES' values must be between 1 & 10.
Can be set using 'setvar RCOPIES 2'.
SPEXCLUDE If set, will be used to exclude from transferring certain
spoolfiles to the remote machine. If used the variable
must contain a list of spoolfile names separated by ';'
(semicolons). i.e. 'setvar SPEXCLUDE "AC504B;AC470QRS;"'
SPINCLUDE If set, will be used to include a subset of spoolfiles
to the remote machine. If used the variable must contain
a list of spoolfile names separated by ';' (semicolons).
i.e. 'setvar SPINCLUDE "AC504B;AC470QRS;"'
**NOTE** SPEXCLUDE and SPINCLUDE *cannot* both be set at the same
time***
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|