Using NS3000/iX Network Services (36920-90008)

86 Chapter 5
Network File Transfer
Using DSCOPY
For example, to have NFT read file transfer requests from the file
FILE1, at the MPE/iX prompt, enter:
FILE DSCOPYI=FILE1
followed by
DSCOPY
Transfer requests are normally read from the file DSCOPYI, which by
default is set to $STDIN(X)— the user’s terminal in an interactive
session.
NOTE If any global specification is specified in the DSCOPY command line,
DSCOPY will ignore the file equation for DSCOPYI and subsequently
enter the DSCOPY subsystem.
Variable Length Records. If a file containing variable length records
is copied to an HP 3000 using Interchange Format, the space allocated
for the file will be 4 bytes less than the length of the source file rounded
up to the nearest multiple of 256 bytes. On an HP 3000, direct access of
variable length record files is not allowed. As a result, DSCOPY will
return an error if you specify the DIR and VAR options in the same
command or if the source file has variable length records and the DIR
option is specified but the FIX option is not in effect.
RIO (Relative I/O) Files. DSCOPY will copy RIO files as direct files
automatically; you do not need to specify the DIR option to enable direct
access to the resulting target file. However, an RIO file will retain its
RIO characteristic only if copied to another HP 3000.
Entering MPE/iX Commands. You can enter MPE/iX commands
after the DSCOPY prompt by typing a colon (:) followed by the command
and
[Return].
Job Streams. If the DSCOPY command is used in a job stream (batch
job), other MPE/iX commands must not be inserted in the job stream
between the DSCOPY command and the // that terminates the DSCOPY
subsystem.
Multiple Transfer
Using special “wildcard” characters, you can tell NFT to transfer a
generic set of HP 3000 files to another HP 3000. For MPE files (on the
HP 3000) these wildcard characters are the same ones used within the
MPE/iX file system:
@ — stands for zero or more alphanumeric characters;
# — stands for one numeric character;
? — stands for one alphanumeric character.