HP3000-L Archives

September 1999, 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:
"Paul H. Christidis" <[log in to unmask]>
Reply To:
Date:
Fri, 17 Sep 1999 14:37:00 -0700
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (72 lines)
Fellow listers,

This is not directly related to the HP environment but I'm hopping that someone
in this list may have ran across it.

We are putting in place a process of routinely transferring data from a VAX
machine to our HP3000.  The data are 'pushed' from the VAX and in order to
verify whether the transfer was successful  the
'EXIT-ON-ERROR ON' flag is used.  When the flag is turned on the transfer is
successful (the file is created and transferred on the HP) but the VAX side
detects an error and exits before doing a second transfer.  When the flag is off
both files transfer successfully.

Any Ideas?

Regards
Paul H. Christidis

excerpt of Vax job

$ ! TEST FTP
$ on error then goto exit_rtn
$ FTP /NOVMS MAVJRFTP /USER=xxxxx.xxxx/PASS=yyyyyy
EXIT-ON-ERROR ON
PUT APS$DAT:BKO_375E1.DAT BKO2F5D0;rec=-80,,f,ascii;disc=100
PUT APS$DAT:BKO_375E1.DAT BKO3F5D0;rec=-80,,f,ascii;disc=100
$ !
$ display "ftp complete"
$ !
$ exit_rtn:
$ display f$message($status)
$ !

**** Resulting output ****

EXIT-ON-ERROR ON

[Will exit when an error occurs]
MAVJRFTP>
PUT APS$DAT:BKO_375E1.DAT BKO2F5D0;rec=-80,,f,ascii;disc=100

<File: BKO2F5D0;rec=-80,,f,ascii;disc=100 opened; data connection will be opened
<Transfer complete.
%DCL-W-SKPDAT, image data (records not beginning with "$") ignored
$ exit_rtn:
$ display f$message($status)
%DAP-F-ABORT, abort
$ !
**** Results without 'exit-on-error' ****

<User logged on
MAVJRFTP>
PUT APS$DAT:BKO_375E1.DAT BKO2F5D0;rec=-80,,f,ascii;disc=100

<File: BKO2F5D0;rec=-80,,f,ascii;disc=100 opened; data connection will be opened
<Transfer complete.
MAVJRFTP>
PUT APS$DAT:BKO_375E1.DAT BKO3F5D0;rec=-80,,f,ascii;disc=100

<File: BKO3F5D0;rec=-80,,f,ascii;disc=100 opened; data connection will be opened
<Transfer complete.
MAVJRFTP>
<Server is closing command connection
$ !
$ display "ftp complete"
ftp complete
$ !
$ exit_rtn:
$ display f$message($status)
%RMS-S-NORMAL, normal successful completion
$ !

ATOM RSS1 RSS2