Using NS3000/iX Network Services (36920-90008)

Chapter 5 93
Network File Transfer
Using Checkpoint and Restart with DSCOPY
Remote to Local
In the next example we assume that a remote session has been
established on REMNODE and that no global tfileloc specification is in
effect. This command, typed at the MPE/iX prompt, requests a local
copy of a remote file:
DSCOPY FILEA:REMNODE TO FILEB
Local to Remote
If a remote session has not already been established, and if there is no
global or DSLINE logon for the remote environment, you must include a
logon sequence in the transfer specification. The following is a
local-to-remote transfer (typed from the MPE/iX prompt):
DSCOPY FILEY TO FILEZ:REMNODE[REMUSER.REMACCT]
Remote to Remote
In the next examples we'll assume that remote sessions have already
been established. From your local system you can copy one remote file
to another on the same remote node. At the MPE/iX prompt, type:
DSCOPY FILE17:REMNODE TO FILE18:REMNODE
You can also copy a file from one remote system to another:
DSCOPY FILE1:REMNODEA TO FILE2:REMNODEB
Multiple Transfer
This example shows how to use the @ character to copy a set of files. All
files in the PUB group of the MKTG account whose last four characters
are BACK are copied to the AAA group of the ENG account. The target
files will have the same file names as the source files. At the MPE/iX
prompt, type:
DSCOPY @BACK.PUB.MKTG TO @.AAA.ENG
Global Specifications
Finally, you can establish global transfer specifications by putting a +
before the specification sequence. If you include the global specifications
in the DSCOPY command line, you will be placed in the subsystem, from
which you can issue further commands. For example, at the MPE/iX
prompt type the command as follows (user input is bold for clarity):
DSCOPY + :REMNODEB TO :REMNODEA; MOVE; COMP
DSCOPY THISFILE TO THATFILE
After the first DSCOPY command establishes global specifications, the
command at the subsystem prompt moves THISFILE on REMNODEB to
THATFILE on REMNODEA, purging the original file. The data are
compressed during the transfer. Assume that remote sessions have
already been established.