Sorry, I should have included this code snippet. Apologies
!SETVAR BK_FTP_FROM "FILE.GROUP.ACCOUNT"
!SETVAR BK_FTP_TO "FileName.txt"
!SETVAR BK_FTP_DTS "!HPYYYY!HPMONTH!HPDATE!HPHOUR!HPMINUTE"
!SETVAR BK_FTP_SAVE "FileName" + "!BK_FTP_DTS" + ".txt"
!PURGE FTPCMD00.TEMP
!FILE FTPCMD00=FTPCMD00.TEMP;DEV=DISC;SAVE
!ECHO open 999.999.999.999>FTPCMD00
!ECHO user usr pwd>>FTPCMD00
!ECHO rename !BK_FTP_TO !BK_FTP_SAVE>>FTPCMD00
!ECHO ExitOnError>>FTPCMD00
!ECHO put !BK_FTP_FROM !BK_FTP_TO>>FTPCMD00
!ECHO close>>FTPCMD00
!ECHO exit>>FTPCMD00
!CONTINUE
!RUN FTP.ARPA.SYS<FTPCMD00
>>> Boris Kortiak <[log in to unmask]> 12/16/99 04:41PM >>>
Still having problems with the suggested methods for using a VAR in an FTP command.
Apparently we are using a product called STREAMX to stream jobs from a menu. This doesn't seem to create the temporary file properly. Therefore I get an error:
"NONEXISTENT PERMANENT FILE (FSERR 52)"
"Couldn't open input redirection file, command failed. (CIERR 9427)"
I am at a loss for what to do next. Any suggestions?
TIA