Using NS3000/iX Network Services (36920-90008)

72 Chapter 5
Network File Transfer
DSCOPY
Here are some syntactically correct examples of
HP 3000 source file location specifications:
:ENV1
,NODEA
,NODEA [NSUSER/PASSWD.NSACCT]
:NODEA
,ENV1[NSUSER.NSACCT]
:
:ENV1 []
If delim and location are omitted, then the default is the
global source file location specification or, if there is no
global specification currently in effect, the local node
name. (For an explanation of global specifications, see
“Using Global Specifications” later in this chapter.) If
delim appears without a location, the local node name is
used whether or not there is a global specification.
If you specify an individual or global logon, it will be
used to create a new session even if a session already
exists on the node in question (in the specified remote
environment). If the logon parameter and its
surrounding brackets are omitted, the default is the
global logon sequence. Or, if there is no global logon
currently in effect, and there is no current remote
session, the default is the logon sequence specified in a
prior DSLINE command for this remote environment (in
the LOGON= option). If you include the brackets, but
omit the logon, then a global logon specification is
ignored and the DSLINE logon specification (or existing
session if there is one) is used. The order of priority
(from high to low) is: logon specified here; global logon;
existing session; DSLINE logon.
In short, if you want to use an existing session or a
DSLINE logon, you should not include a logon in the
transfer specification. You should also clear any global
logon in effect or use empty brackets to cause the global
logon to be ignored. If you want a new (temporary)
session to be created for the transfer, regardless of
whether a session already exists, you should include a
valid logon in the transfer specification or in a global
specification.
to Either the word TO or a semicolon (;). If sfileloc ends
with a colon (:, not followed by a node name or
environment ID), you must use the semicolon (;) form.
targetfile The name of the file into which the source file will be
copied. For files being copied to an HP 3000 system,
specify the target file as follows:
filename[/lockword][.groupname.[accountname]]