Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

copymode - Enable/disable 1:1 transfer of BS2000 disk files

&pagelevel(4)&pagelevel

With the copymode command you can enable and disable 1:1 transfer of BS2000 disk files. Further details on 1:1 transfer can be found in the section “1:1 transfer of BS2000 disk files”.

copymode

[ on | same | off ]


on

Enables 1:1 transfer (without retaining the file protection attributes). Attributes that retain content and structure, such as FCB type, block length, record length, record format, are taken over from the source file.
If no operand is specified, this corresponds to the specification copymode on.

same

Enables 1:1 transfer (while retaining the file protection attributes). Attributes that retain content and structure, such as FCB type, block length, record length, record format, are taken over from the source file.
With the exception of passwords and GUARDS rules, the file protection attributes (USER-ACCESS, ACCESS, BASIC-ACL, AUDIT, RETENTION-PERIOD), are also transferred to the target file.

off

Disables 1:1 transfer.
off is the default if no copymode statement is specified.

If you want to select copymode on the FTP server, specify quote site cmod. The parameters correspond to those of copymode. However, with quote site cmod one of the parameters on, same or off must always be specified.

Example

  1. Transfer between two BS2000 systems, retaining the file protection attributes:

    >

    >

    >

    Enter copymode same on the FTP client

    Send quote site cmod same to the FTP server

    Start transfer of the required file

  2. FTP client is on a Unix system.
    Transfer of a BS2000 file to a Unix system with subsequent transfer of the file to a BS2000 system.

    >

    >

    >

    >

    Send quote site cmod ... to the BS2000 system

    Transfer BS2000 file to the Unix system

    Send quote site cmod ... to the BS2000 target system

    Send BS2000 file to the BS2000 target system

    type binary must be selected so that the target system does not modify the received files.