Your browser does not support HTML5 local storage or you have disabled it. Some functionality on this site, including saving your privacy settings and offering you special discounts, uses local storage and may not work with local storage disabled. We recommend allowing the use of local storage in your browser. In some browsers, it is the same setting used for disabling cookies.

SSH

Data Set Access Using DD Cards

When running the client programs scpg3 and sftpg3 in JCL, the _BPX_SHAREAS environment variable must be set to no. Local data sets 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 scpg3 and sftpg3 to run in the original address space where the DD information is available.

The following sftpg3 commands cannot be used with DD names:

  • rm (remove file)

  • rename

  • mkdir

  • rmdir

Empty data sets cannot be read when referred to by DD names.

For correct syntax, see the SCPPUT and SCPGET2 examples in Unattended File Transfers.

===AUTO_SCHEMA_MARKUP===