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.
The jobs SCP2, SCP2GET, SCP2GET2, and SCP2PUT in SAMPLIB describe file transfers with mainframe scp2 client to a remote host that is running a Secure Shell server (see Appendix SCP2, SCP2GET, SCP2GET2, and SCP2PUT).
User interaction is not available when using JCL. Set up the user for unattended use with a public key (Section Using Public-Key Authentication). If the user has set up public-key authentication to localhost, SCP2GET2 file transfer without a separate staging step can be used.