COPY-DEVICE: Difference between revisions

From NDWiki
Jump to navigation Jump to search
(created page for the COPY-DEVICE command)
 
(Updated to reflect specification in ND-86128.6 EN (SINTRAN III Commands))
 
Line 1: Line 1:
  @COPY-DEVICE <destination device name>, [<unit>,] [<'F' or 'R'>,] <source device name>, [<unit>,] [<'F' or 'R'>]
  @COPY-DEVICE <destination device name>, <unit>, [<'F' or 'R'>,] [<subunit>,] <source device name>, <unit>, [<'F' or 'R'>,] [<subunit>]


Copy all pages from the source (mass storage) device to the destination device.
Copy all pages from the source (mass storage) device to the destination device.
; <destination device name> : destination - the name of the mass storage device controller on which the device unit is connected. See {{ND-doc|60.128.01}} Appendix F for legal names.
; <destination device name> : destination - the name of the mass storage device controller on which the device unit is connected. See {{ND-doc|60.128.01}} Appendix F for legal names.
; <unit> : the unit number. Only to be specified if [[SINTRAN III]] is generated with multiple units. Unit number starts at 0 (octal, default = 0).
; <unit> : the unit number. Only to be specified if [[SINTRAN III]] is generated with multiple units. Unit number starts at 0 (octal).
; <'F' or 'R'> : F = a fixed cartridge disk pack. R = a removable cartridge disk pack. Otherwise, the parameter is not used.
; <'F' or 'R'> : F = a fixed cartridge disk pack. R = a removable cartridge disk pack. Otherwise, the parameter is not used.
; <subunit> : subunit number. This parameter only applies to disks which are subdivided into several parts or directories (0-7).
; <source device name> : source - the name of the mass storage device controller on which the device unit is connected. See {{ND-doc|60.128.01}} Appendix F for legal names.
; <source device name> : source - the name of the mass storage device controller on which the device unit is connected. See {{ND-doc|60.128.01}} Appendix F for legal names.
; <unit> : the unit number. Only to be specified if [[SINTRAN III]] is generated with multiple units. Unit number starts at 0 (octal, default = 0).
; <unit> : the unit number. Only to be specified if [[SINTRAN III]] is generated with multiple units. Unit number starts at 0 (octal).
; <'F' or 'R'> : F = a fixed cartridge disk pack. R = a removable cartridge disk pack. Otherwise, the parameter is not used.
; <'F' or 'R'> : F = a fixed cartridge disk pack. R = a removable cartridge disk pack. Otherwise, the parameter is not used.
; <subunit> : subunit number. This parameter only applies to disks which are subdivided into several parts or directories (0-7).


Rules:
Rules:
Line 14: Line 16:
#A directory may exist on the source device.
#A directory may exist on the source device.
#Destination device must not be entered (@[[ENTER-DIRECTORY]]).
#Destination device must not be entered (@[[ENTER-DIRECTORY]]).
#Fixed or removable is specified only for 30MB, 60MB, 90MB cartridge disks.
#Specifying an erroneous disk type as device type the disk will enter fault state and the system will hang.
#The parameters <unit> are always required.
#Copying between 10 MB disks takes approximately 4 minutes.
#Copying between 10 MB disks takes approximately 4 minutes.


Example:
Example:


@COPY-DEVICE DISC-66MB-2, DISC-66MB-1
@COPY-DEVICE DISC-66MB-2,0 DISC-66MB-1,0


Copy all pages from one device to the other.
Copy all pages from one device to the other.
Line 24: Line 29:
@[[COPY-DIRECTORY]]
@[[COPY-DIRECTORY]]
== References ==
== References ==
{{ND-doc|60.128.01}} (printed June 1980), pages 1-4, 1-38, 1-39
{{ND-doc|860128.6}} (October 1988)


{{ND-doc|60.174.Q01}}
{{ND-doc|60.174.Q01}}
[[Category:System Commands]]
[[Category:System Commands]]

Latest revision as of 13:45, 25 September 2012

@COPY-DEVICE <destination device name>, <unit>, [<'F' or 'R'>,] [<subunit>,] <source device name>, <unit>, [<'F' or 'R'>,] [<subunit>]

Copy all pages from the source (mass storage) device to the destination device.

<destination device name>
destination - the name of the mass storage device controller on which the device unit is connected. See Norsk Data Document ND–60.128.01 SINTRAN III REFERENCE MANUAL Appendix F for legal names.
<unit>
the unit number. Only to be specified if SINTRAN III is generated with multiple units. Unit number starts at 0 (octal).
<'F' or 'R'>
F = a fixed cartridge disk pack. R = a removable cartridge disk pack. Otherwise, the parameter is not used.
<subunit>
subunit number. This parameter only applies to disks which are subdivided into several parts or directories (0-7).
<source device name>
source - the name of the mass storage device controller on which the device unit is connected. See Norsk Data Document ND–60.128.01 SINTRAN III REFERENCE MANUAL Appendix F for legal names.
<unit>
the unit number. Only to be specified if SINTRAN III is generated with multiple units. Unit number starts at 0 (octal).
<'F' or 'R'>
F = a fixed cartridge disk pack. R = a removable cartridge disk pack. Otherwise, the parameter is not used.
<subunit>
subunit number. This parameter only applies to disks which are subdivided into several parts or directories (0-7).

Rules:

  1. Permitted only for user SYSTEM.
  2. Valid only for devices which can contain directories
  3. A directory may exist on the source device.
  4. Destination device must not be entered (@ENTER-DIRECTORY).
  5. Fixed or removable is specified only for 30MB, 60MB, 90MB cartridge disks.
  6. Specifying an erroneous disk type as device type the disk will enter fault state and the system will hang.
  7. The parameters <unit> are always required.
  8. Copying between 10 MB disks takes approximately 4 minutes.

Example:

@COPY-DEVICE DISC-66MB-2,0 DISC-66MB-1,0

Copy all pages from one device to the other.

Related commands

@COPY-DIRECTORY

References

Norsk Data Document ND–860128.6 SINTRAN III COMMANDS REFERENCE MANUAL (October 1988)

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