Your browser does not allow storing cookies. We recommend enabling them.


SFTP and Tape Data Sets

When working with tape data sets, there are two alternative ways to specify the device unit on which the tape is to be mounted. Normally this can be done through the use of the FTADV/site parameter UNIT, but in some situations it is not practical to do so. The environment variable SSH_SFTP_VOL_UNIT_MAP can be defined to provide a mapping between a volume serial number pattern and a device unit, allowing the unit to be deduced from the volume.

SSH_SFTP_VOL_UNIT_MAP may be set to a picture-clause type pattern matching a six character volume serial number, and followed by the unit to be used, in the form SSH_SFTP_VOL_UNIT_MAP=volume_pattern:unit_specification.

For example, SSH_SFTP_VOL_UNIT_MAP=AA9999:CART, where A is an alphabetic character and 9 is a decimal digit, means that volumes with a serial number consisting of two letters followed by four digits are to be allocated with UNIT=CART.

More specifically, SSH_SFTP_VOL_UNIT_MAP=TP00001:CART generates an allocation request for a tape with volume serial number TP0001 with unit CART.




What to read next:

  • Reduce Secure Shell risk. Get to know the NIST 7966.

    The NISTIR 7966 guideline from the Computer Security Division of NIST is a direct call to action for organizations regardless of industry and is a mandate for the US Federal government.
    Download now
  • ISACA Practitioner Guide for SSH

    With contributions from practitioners, specialists and SSH.COM experts, the ISACA “SSH: Practitioner Considerations” guide is vital best practice from the compliance and audit community.
    Download now