Michael writes: <I'm an inexperienced MPEix programmer who needs to FTP a file from an HP <to a BACSBOX. The file name is not known until run time when it takes the <form RAddmmXX where ddmm is the day and month. Everything is fine in the <HP under MPE where the file is created correctly, can be referred to as <!RAFILE and written to as required. <However, once I run FTP in my job stream it cannot recognise the file as <!RAFILE. <How do I pass the name of the file to FTP at run time? If you have MPEX from Vesoft, you can pass the name of the file you want to FTP as a variable via MPEX's INPUT= option. !JOB JFTPRAFL,MGR.ANACCT,PUB;OUTCLASS=LP,1 !MPEX %ALTFILE !RAFILE;SQUEEZE %RUN FTP.ARPA.SYS;INPUT='OPEN 206.213.999.9';& INPUT='USER USERNAM USERPAS';INPUT='EXITONERROR';& INPUT='CD D:\GEMS';INPUT='DIR';& INPUT='DELETE !RAFILE';& INPUT='PUT !RAFILE';& INPUT='DIR';& INPUT='QUIT' %EXIT !EOJ