Re: FTP from Mainframe to Unix to create a dynamic file name on the Unix



Top post:
Use an 'expect' script after establishing the month to be used.

Michael
Mani wrote:
Hi all experts,

I have a situation where I need to FTP a file name say A.B.C.D to the
unix But however on the unix side, they want the file name to be as
file_created_in_Jan2007.txt if we ftp it in January and the file name
to be File_created_in_Feb2007.txt if the job runs in feb and so on.


The current solution I have is - to put multiple FTP steps with #JI,
bD=07001,ED=07031 and multiple steps like that so that each step
executes in the corresponding date range only. The obvious
disadvantage here is the monthly maintenance.

Does anybody know of a single step that will change the file names
dynamically on the PUT command (utility)., Of course the other obvious
choice is to change the PUT command filename by reading it through a
COBOL or easytrieve program AND changing the put command itself.

Any other interesting thoughts?


Thanks in advance

Mani

.



Relevant Pages

  • Re: FTP from Mainframe to Unix to create a dynamic file name on the Unix
    ... I have a situation where I need to FTP a file name say A.B.C.D to the ... unix But however on the unix side, they want the file name to be as ... The current solution I have is - to put multiple FTP steps with #JI, ... dynamically on the PUT command., ...
    (comp.lang.cobol)
  • Re: Problem about Window Xp SP2 firewall and the buildin FTP command
    ... I copy your example ftp command file to a.txt saved in C:\dell folder. ... I cannot turn off Windows Firewall, since it is controlled by Domain ...
    (microsoft.public.windowsxp.general)
  • [NT] Multiple Vulnerabilities Found in PlatinumFTPserver
    ... A vulnerability in the product allows remote attackers to cause the server ... to traverse into directories that reside outside the bounding FTP root ... delete files and perform a DoS attack on the server. ... 200 PORT command successful ...
    (Securiteam)
  • Re: TCPXLBIN Table
    ... > command stream and he data conversion works properly. ... However the UNIX ... > admin has an FTP script which does FTP's to multiple platforms with the ...
    (bit.listserv.ibm-main)
  • Re: FTP strangeness
    ... Listing an empty existing directory shouldn't return an error code. ... servers cannot issue a 550 reply to a LIST command. ... As demonstrated more than just VMS ftp servers do the latter - for situations ... In any case an FTP client should comply with the robustness principle of RFC ...
    (comp.os.vms)