IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

pinging server through jcl


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Amit Banerjee

New User


Joined: 12 Jan 2008
Posts: 14
Location: india

PostPosted: Fri Feb 15, 2008 4:18 am
Reply with quote

Hi all,
I've a job where there are 2 consecutive steps FTPing data to 2 different servers.Now recently the second server goes down for maintainance during this FTP time itself.Considering that this jobflow has been running for a long time and there are many complicacies in breaking down the job.
Is there a way that after the first FTP we can wait and check the connection and only when the 2nd server is up do we send the data?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Feb 15, 2008 4:23 am
Reply with quote

Hello,

Not really. This has come up before and as i recall, none of the alternatives were attractive - they lead to other problems.

Is there some reason the "second server" has to come down at this new time?

Might the sequence of the ftp steps be reversed and get the transmission done before the second server drops?

Might the second server "pull" the data after it is re-cycled (rather than the mainframe "pushing" the data?
Back to top
View user's profile Send private message
Amit Banerjee

New User


Joined: 12 Jan 2008
Posts: 14
Location: india

PostPosted: Fri Feb 15, 2008 4:30 am
Reply with quote

Actually this second server goes through some maintenance for a few hours during that time.What we're currently doing is let the job fail at the second step once.Then again when the second server is up we restart from that step but this is not a healthy way.Thanks for your advise,maybe we'll have to think of some other way..
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Feb 15, 2008 6:24 am
Reply with quote

Forget about FTP and use Connect:Direct. It automatically handles restarts when a link is down or unavailable.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Z Monitoring server fails to start IBM Tools 1
No new posts FTP datasets to server CLIST & REXX 13
No new posts Anyone using the HTTP server, web app... All Other Mainframe Topics 0
No new posts Using Virtual Tape Server TS7700 as c... All Other Mainframe Topics 0
No new posts SMF logging in RDT server - Steps inv... PL/I & Assembler 1
Search our Forums:

Back to Top