Member (HLQ).AVMvvvv.JCLLIB(PUSHONE) contains JCL similar to the following to run the AVMPUSH utility and invoke FTP internally. The presence of the three AVMFTP, INPUT and OUTPUT files in this JCL triggers one-step mode.
//PUSHFTPEXECPGM=AVMPUSH,PARM=’N,N’
//STEPLIBDDDSN=(HLQ).AVMvvvv.LOADLIB,DISP=SHR
//SYSPRINTDDSYSOUT=*
//AVMDATADDDSN=AVMDATA.FILE.FROM.ZVM.ACQUIRE,DISP=SHR
//AVMFTPDD *
123.231.132.213<== IP address of FTP server
username password<== Credentials for FTP server
cd /Syncsort Capacity Management Core/pushdata <== Your choice of directory
!push <== AVMPUSH commands will replace this
ls –l <== Any commands you like here
bye <== Say goodbye...
/*
//INPUT DD UNIT=SYSDA,SPACE=(CYL,1)
//OUTPUT DD UNIT=SYSDA,SPACE=(CYL,1)
//
Note the use of the !push card to mark the point where the commands generated by AVMPUSH will be inserted.