NetBase for MPE Reference Guide
NetBase Utilities
13-15
NBCOPY
NBCOPY enables you to copy files easily, making exact duplicates on the same or remote systems
without the need for remote sessions. Since NBCOPY has been optimized to perform this one
function, it copies files many times faster than HP’s FCOPY or DSCOPY. The NBCOPY utility is
flexible in the types of files it handles, and it offers several options for modifying the new copy
during the copying process.
Note. NBCOPY is COPYN with extensions to allow copying between systems using the
NetBase NFA facility. NBCOPY is used to copy files between systems when you do not
have HP’s NS product (:DSCOPY).
NBCOPY Features
• Making exact copies of disk files (with or without the user labels). KSAM files can be
duplicated.
• Extracting data from a KSAM file at very high speed while removing deleted records (similar
to the NOKSAM parameter of FCOPY).
• Reloading KSAM files at anywhere from 30-100% faster than FCOPY.
• Copying files, data sets, or databases across a network using NetBase. This function does not
require remote logons and is much faster than DSCOPY.
• Converting EBCDIC to ASCII (and vice versa) with high speed and low overhead during any
copy operation.
• Reblocking files. You can change wasteful blocking factors for files in a fraction of the time. In
fact, NBCOPY will even reblock records. For example, you can copy one large record into two
records half as big, or many little records into one large one.
• Changing the limit of an MPE or KSAM file with one command. The program handles
duplicating, copying, purging and renaming.
• Copying to and from tape. When writing to tape, you can reblock the data to records of up to
8,192 words.
• Extracting entries from an IMAGE data set at a rate equivalent of up to 4,000 DBGETs per
second. The extraction is always at least 5 times faster than serial DBGETs.
• Loading entries from a file or a data set into another data set. This allows copying a data set in
one base to the same set in another database.
• Changing the blocking factor for a file with one command. If desired, the optimal blocking
factor will be calculated.
• Loading records into a KSAM file or IMAGE master set and ignoring any duplicate key errors.
• A REDO feature to allow syntax errors to be easily corrected.