SSH Tectia  
Previous Next Up [Contents] [Index]

    About This Document >>
    Installing SSH Tectia Server for IBM z/OS >>
    Getting Started with SSH Tectia Server for IBM z/OS >>
    Configuring the Server >>
    Configuring the Client >>
    Authentication >>
    Transferring Files >>
        Handling MVS Datasets and HFS File System Access>>
            Dataset and HFS File System Access
            Dataset Access Using DD Cards
            Accessing Generation Data Groups (GDG)
        Controlling File Transfer>>
        Staging
        Listing Datasets with SFTP Clients>>
        Secure File Transfer Examples Using the z/OS Client>>
        Secure File Transfer Examples Using Windows and Unix Clients>>
    Tunneling >>
    Troubleshooting SSH Tectia Server for IBM z/OS >>
    Advanced Information >>
    Man Pages >>
    Log Messages >>

Dataset Access Using DD Cards

When running the client programs scp2 and sftp2 in JCL, the _BPX_SHAREAS environment variable must be set to NO. Local datasets can be allocated by using DD cards. For the DD cards to work, BPXBATSL must be used instead of BPXBATCH. BPXBATSL uses local spawn and forces scp2 and sftp2 to run in the original address space where the DD information is available.

The following sftp2 commands cannot be used with DD names:

  • rm (remove file)
  • rename
  • mkdir
  • rmdir

Empty datasets cannot be read when referred to by DD names.

For correct syntax, see the SCP2PUT and SCP2GET2 examples in Section Unattended File Transfers.

Previous Next Up [Contents] [Index]


[ Contact Information | Support | Feedback | SSH Home Page | SSH Products ]

Copyright © 2007 SSH Communications Security Corp.
This software is protected by international copyright laws. All rights reserved.
Copyright Notice