HP3000-L Archives

March 2001, Week 1

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:
Mark Undrill <[log in to unmask]>
Reply To:
Mark Undrill <[log in to unmask]>
Date:
Thu, 1 Mar 2001 13:01:59 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (30 lines)
In article <[log in to unmask]>, Thomas Hoffmann <[log in to unmask]>
writes
>Hi all,
>
>is there a solution to create and control an FTP-client out of a cobol
>program?
>
>We should transfer data from an HP3000 to an AS/400 every 2 minutes.
>Because I do not want to stream a job every 2 minutes I would like to do
>it out of a permanently running Cobol-program, that sleeps for 2
>minutes, then opens an ftp-connection to the AS/400, transfers a file,
>and falls to sleep for the next 2 minutes.
>
>How can I tell ftp what to do? (use-file, info-parameter, etc.)
>How can I check if ftp was running ok?
>
>Any ideas are appreciated
>regards
>Thomas Hoffmann
>
We've done this to an RS/6000. We set up a script file and then call
HPCICOMMAND to run FTP.ARPA.SYS;STDIN=*scriptfile where scriptfile
points to the temporary disc file that contains the FTP commands. This
has been running just about non-stop for about 7 years now.

Regards
--
Mark Undrill
Affirm Limited

ATOM RSS1 RSS2