Using NS3000/iX Network Services (36920-90008)

Chapter 5 87
Network File Transfer
Using DSCOPY
When used with DSCOPY, wildcard characters can be used to specify
HP 3000 file names only; they cannot be used to specify group or
account names. The characters # and ? can be used to specify source file
names only. The character @ can be used to specify both source and
target file names, but can be used only once, with no other characters
surrounding it, to indicate a set of target file names. If wildcards are
used to transfer more than one file, and the destination file group and
account is explicitly specified, the @ character must be used to specify
target file names.
For example, the source file designation E@.PUB.SYS can be used to
copy all files in the PUB group of the SYS account whose names begin
with E. The source files will be copied to corresponding target files
having the same file names as the source files, in the logon group and
account. To transfer the same files to a group or account other than the
logon group and account, use the @ character to specify the destination
file set, as follows: @.group.account. For example, if while logged on to
another account you decided to copy the files designated by
E@.PUB.SYS to the TST group of the IND account, you could specify the
destination file set as @.TST.IND. The resulting target files would have
the same names as their corresponding source files but would be located
in the TST group of the IND account. When a generic file set is copied,
the producer and consumer “negotiate” the transfer of each file.
Intermediate results are reported after each transfer. If an error occurs
during one of these transfers, an error message is reported.
In an individual file transfer, if you name a target file that already
exists, and you do not specify the replace or overwrite option, you will
be prompted for further action. (For information on the replace and
overwrite options, see the parameter explanations for the DSCOPY
command.) In the case of a generic file transfer, however, you will not be
prompted. Instead, the transfer attempt will produce an error, and the
DSCOPY subsystem will attempt to transfer the next file in the set.
Using Global Specifications
Global specifications, indicated by a + preceding the specification, take
effect for all subsequent transfers unless one of the following conditions
occurs:
1. A new global specification that conflicts with the old one is given. For
example, if REP is specified globally, it will override and cancel a
prior OVER global specification currently in effect.
2. An item given in an individual, non-global transfer specification
conflicts with a previous global specification. This item will override
the global specification for this one transfer only.
3. The CLEAR option is used. This will clear all global specifications
currently in effect (not including further specifications on the same
line after the CLEAR).