COMMAND TYPE : UTILITY
When an user wants a copy of a catalogue, he can copy the data file with the 'copy' command supplied by the operating system, but he can not duplicate the records that are in the PDB system file. The items of the catalogues can be copied from a public catalogue to a PDB or between PDB by this command. Moreover, in a DECNET environment, this command can copy the catalogue items from a remote node of a network. When this command runs, all the catalogue items will be inserted in the Personal Data Base present in the current directory. After a PDB_COPY operation it is appropriate to use the PDB_MANAG task to verify the coherence of the new catalogue.
PDB_COPY is useful to work on a remote node of the network where exists a DIRA2 database with catalogues that are not available at your local node. The user can open an interactive session and create a remote PDB where collect the data of the queries. Then the data can be copied with network file transfer standard commands, or, when the data files are large, can be convenient to use tapes to transport data.
After a remote session the user will have a PDB structure on the remote node. If the user is working on a DECNET network, using PDB_COPY command it is possible to update a PDB present on the local node with data from remote PDB. Otherwise the user can copy all the PDB system files (DIRA*.DB) in a dummy directory (that does not contains other PDB) of the local node, then he can copy the data of this PDB in the permanent Personal Data Base with PDB_COPY command.
The user must use PDB_COPY starting from the local node, and with actual directory containing a PDB structure.
This command substitutes the command DB_REMOTE of the previous version of DIRA.
Example : ASTBO1"DIRA2 DIRA2"::
Example : DUA2:[ASTRONET]
Example : N
Example : ALFACAT