Member (HLQ).AVMvvvv.JCLLIB(PUSHDATA) contains JCL similar to the following to run the AVMPUSH utility followed by a separate FTP step.
//GENCMDSEXECPGM=AVMPUSH,PARM=’Y,Y’
//STEPLIBDDDSN=(HLQ).AVMvvvv.LOADLIB,DISP=SHR
//SYSPRINTDDSYSOUT=*
//AVMDATADDDSN=AVMDATA.FILE.FROM.ZVM.ACQUIRE,DISP=SHR
//PUSHFTPDD DSN=andandFTP,DISP=(,PASS),
// UNIT=SYSDA,SPACE=(TRK,(1,1))
/*
//* Now run FTP with some commands we’ve supplied and
//* the ones generated by AVMPUSH afterwards
//*
//RUNFTP EXEC PGM=FTP,COND=(0,NE)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
123.231.132.213<== IP address of FTP server
username password<== Credentials on FTP server
cd F:\FTPShare\zVMData <== Set desired directory
/*
// DD DSN=andandFTP,DISP=(OLD,DELETE) <== Output from AVMPUSH
//