Hi,
I have a CLP which is used to control a batch FTP process, using OVRDBF to supply an input FTP command stream, to send a file to a remote (non AS/400) system.
I am using PUT, e.g. PUT library/filename.membername in my FTP command stream.
However, the file member I wish to send varies (the member name is comprised of 'HA' followed by the date it was created e.g. HA1006).
Is there any way of having the FTP command send either the last member from my PF, or derive the member name from the date (the file will be FTP'd the day it was created)?
Many thanks for any advice!
I have a CLP which is used to control a batch FTP process, using OVRDBF to supply an input FTP command stream, to send a file to a remote (non AS/400) system.
I am using PUT, e.g. PUT library/filename.membername in my FTP command stream.
However, the file member I wish to send varies (the member name is comprised of 'HA' followed by the date it was created e.g. HA1006).
Is there any way of having the FTP command send either the last member from my PF, or derive the member name from the date (the file will be FTP'd the day it was created)?
Many thanks for any advice!