COPY-DIRECTORY: Difference between revisions

From NDWiki
Jump to navigation Jump to search
(added rules)
(added example)
 
Line 11: Line 11:
#All files must be closed during the copying. Spooling should be turned off.
#All files must be closed during the copying. Spooling should be turned off.


Example:
@CREATE-DIRECTORY PACK-TWO, DI-33MB-2,,
@COPY-DEVICE PACK-TWO, PACK-ONE
== Related commands ==
== Related commands ==
@[[COPY-DEVICE]]
@[[COPY-DEVICE]]

Latest revision as of 18:30, 17 December 2012

@COPY-DIRECTORY <destination directory name>, <source directory name>

Copy all files in the source directory onto the destination directory.

<destination directory name>
destination - name of the directory
<source directory name>
source - name of the directory

Rules:

  1. Permitted only for user SYSTEM.
  2. The destination directory should have no users and no files when the command is given (use @CREATE-DIRECTORY).
  3. The users and the file names will be identical in both directories after the command is executed.
  4. All files must be closed during the copying. Spooling should be turned off.

Example:

@CREATE-DIRECTORY PACK-TWO, DI-33MB-2,,

@COPY-DEVICE PACK-TWO, PACK-ONE

Related commands

@COPY-DEVICE

@COPY-USERS-FILES

References

Norsk Data Document ND–60.128.01 SINTRAN III REFERENCE MANUAL (printed June 1980), pages 1-39, 1-40

Norsk Data Document ND–60.174.Q01 SINTRAN III QUICK REFERENCE CARD