SSH Tectia  
Previous Next Up [Contents] [Index]

    About This Document >>
    Installing SSH Tectia Server for IBM z/OS >>
    Using SSH Tectia Server for IBM z/OS >>
        Configuration Files>>
        Running the Server >>
        Setting Up a Shell User>>
        Running Client Programs>>
        Handling MVS Datasets and HFS File System Access>>
            Dataset and HFS File System Access
            Dataset Access Using DD Cards
            Controlling the File Transfer
            Staging
        Listing Datasets with SFTP Clients>>
    Configuring the Server >>
    Configuring the Client >>
    Authentication >>
    Troubleshooting SSH Tectia Server for IBM z/OS >>
    Examples of Use >>
    Man Pages >>
    Log Messages >>

Dataset Access Using DD Cards

When running the client programs scp2 and sftp2 in JCL, local datasets can be allocated by using DD cards.

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 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 can be used.

For the local spawn to work, the address space must have enough memory and the environment variable _BPX_SHAREAS must not have the value NO. The value MUST causes BPXBATSL to fail if it cannot do a local spawn.

When using DD cards for defining dataset names, the environment variable _BPX_SHAREAS=MUST must be set in the dataset where the environment variables are defined (STDENV for example) and the region size must be sufficient (REGION=6M, for example).

For correct syntax, see Appendix Examples of Use.

Previous Next Up [Contents] [Index]


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

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