HP3000-L Archives

April 2005, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Bawden <[log in to unmask]>
Reply To:
John Bawden <[log in to unmask]>
Date:
Wed, 20 Apr 2005 09:35:55 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (42 lines)
Fellow Listers,

I have a job that runs early on Sunday morning and
frequently it cannot connect to one of our Wintel
servers and aborts, holding up my JMS sequence until I
make my system check later in the day. This doesn't
always happen and the network team hasn't been able to
find any reason why the job couldn't connect and the
connection is okay when I rerun it about 6 hours
later. Changing the start time is not a good option.
I've tried to develop a test of the connection at the
start of the job in a while do loop and have the job
pause 5 minutes and exit the loop when the FTP will
finally connect. Here's my test routine:
!
!setvar ftplasterr 1
!while ftplasterr <> 0 do
!ftp.arpa.sys
 exitonerror
 open qc6nt
 user testuser somepass
!pause 300
!endwhile
!
and it works okay for the first iteration but hits the
endwhile after the pause and keeps on going instead of
looping. I think it might have something to do with
the FTPLASTERR variable but can't see it. Anyone done
anything like this or have a way to get this to work?
TIA

John Bawden
QualChoice

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2