View previous topic :: View next topic
|
Author |
Message |
Munish Singla
New User
Joined: 18 Jul 2007 Posts: 21 Location: kolkata
|
|
|
|
Hi,
I have to FTP a file to server.
File name should be appended with current date.
Coupld you please let me know how we can do that in JCl.
Thanks. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Please post your ftp jcl and transfer control statements.
What should/will happen when 2 transmissions must be run "today" (i.e. the run did not happen yesterday)? What happens when the remote server is down? What happens when the transfer abends?
As a suggestion, you might consider "pull"ing the file from the server instead of "push"ing the file from the mainframe. If the process is initiated from the server, retries and file renaming would all be local to the server and not part of some manframe process.
If the ftp must run on the mainframe, you could create the ftp control statements (one of which would name the destinaton file) in a step before the ftp step. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
|