I have written a CL routine to send a file via FTP using the OVFDBF commands for INPUT and OUTPUT.
This works fine, however I need to be able to edit my FTP script file somehow in order to change the name of the file in the PUT command.
Clearly you cannot pass a variable to this but is there anyway to change the file name within a script through a CL program?
The only way I can see you can change the filename in the PUT command is to manually edit beforehand, which is not a working solution for a daily job. Any ideas around this problem would be greatly received.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!