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 Tectia 
PreviousNextUp[Contents] [Index]

    About This Document >>
    Installing SSH Tectia Server (M) >>
    Using SSH Tectia Server (M) >>
    Troubleshooting SSH Tectia Server (M) >>
    Configuration >>
    Authentication >>
    Application Tunneling >>
    Sample Files >>
        ADDSSHD2
        ADDUSER
        CREAHFS
        MOUNHFS
        RACFPC
        SCP2
        SCP2GET
        SCP2GET2
        SCP2PUT
        SSHD2
        SSHENV
        sshsetenv
        STAGE
    Man Pages
    Log Messages >>

SCP2GET2

//SCP2GET2 EXEC PGM=IKJEFT01,
//             DYNAMNBR=75,
//             TIME=100,
//             REGION=6M
//SYSPRINT DD  SYSOUT=*
//SYSTSPRT DD  SYSOUT=*
//SYSTERM  DD  DUMMY
//SYSUADS  DD  DSN=SYS1.UADS,DISP=SHR
//SYSLBC   DD  DSN=SYS1.BRODCAST,DISP=SHR
//STDOUT   DD  PATH='/home/&SYSUID./scp2get2_stdout',
//             PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
//             PATHMODE=SIRWXU
//STDERR   DD  PATH='/home/&SYSUID./scp2get2_stderr',
//             PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
//             PATHMODE=SIRWXU
//STDENV   DD  DSN=&SYSUID..SSZ.SAMPLIB(SSHENV),
//             DISP=SHR
//SYSTSIN  DD  *
  BPXBATCH PGM /usr/lpp/ssh2/bin/scp2 +
    -oallowedauthentications=publickey +
    testuser@remote_host:textfile.txt +
    /ftadv:D=IBM-1047,C=ISO8859-1+
           T=VSAM,R=2000/+
           _/PUBTEST.FILE1
  ALLOCATE FILE(PROUT) DA(*) LRECL(255) RECFM(F) REUSE
  ALLOCATE FILE(PRERR) DA(*) LRECL(255) RECFM(F) REUSE
  OCOPY INDD(STDOUT) OUTDD(PROUT) TEXT PATHOPTS(OVERRIDE)
  OCOPY INDD(STDERR) OUTDD(PRERR) TEXT PATHOPTS(OVERRIDE)
/*                             

PreviousNextUp[Contents] [Index]


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

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

===AUTO_SCHEMA_MARKUP===