//HOSTSAVE EXEC PGM=IKJEFT1A,
// REGION=0M
//SYSTSPRT DD SYSOUT=*
//STDOUT DD PATH='/tmp/&SYSUID.-HOSTSAVE.out',
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
// PATHMODE=(SIRUSR,SIWUSR)
//STDERR DD PATH='/tmp/&SYSUID.-HOSTSAVE.err',
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
// PATHMODE=(SIRUSR,SIWUSR)
//STDENV DD DSN=&SYSUID..SSZ.SRVR551.PARMLIB(SSHENV),
// DISP=SHR
//SYSTSIN DD *
BPXBATCH SH /usr/lpp/ssh2/bin/ssh-keydist2 +
-v -N -F plain -i -A /tmp/newhosts.log +
host1 host2 host3
/*
//*
//PROUT EXEC PGM=IKJEFT1A,
// PARM='OCOPY INDD(STDOUT) OUTDD(STDOUTPR) TEXT'
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DUMMY
//STDOUT DD PATH='/tmp/&SYSUID.-HOSTSAVE.out',
// PATHOPTS=(ORDONLY),
// PATHDISP=(DELETE,KEEP),
// PATHMODE=(SIRUSR,SIWUSR)
//STDOUTPR DD SYSOUT=*,
// DCB=(LRECL=4000,RECFM=VB)
//*
//PRERR EXEC PGM=IKJEFT1A,
// PARM='OCOPY INDD(STDERR) OUTDD(STDERRPR) TEXT'
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DUMMY
//STDERR DD PATH='/tmp/&SYSUID.-HOSTSAVE.err',
// PATHOPTS=(ORDONLY),
// PATHDISP=(DELETE,KEEP),
// PATHMODE=(SIRUSR,SIWUSR)
//STDERRPR DD SYSOUT=*,
// DCB=(LRECL=4000,RECFM=VB)
//*
|