HP3000-L Archives

December 1999, Week 5

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:
Lars Appel <[log in to unmask]>
Reply To:
Lars Appel <[log in to unmask]>
Date:
Fri, 31 Dec 1999 09:08:43 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
>We want to connect from a Unix server to an HP3K to start a Job.

Others already suggestes the SITE STREAM command when talking
to the MPE/iX FTP server (which I also was going to suggest).

Another option that *might* be viable is using code based on the
Java Telnet from http://www.first.gmd.de/persons/leo/java/Telnet/
which I have used as "remote control" for MPE applications. You
would send a command and parse the resulting output to see when
the next command can be sent (eg looking for a prompt or the DC1
read trigger character).

I have used it to launch QUERY.PUB.SYS remotely and "drive" it
from the Java side. This example is available on the web. I have
also used it to launch and drive NMMGR (in command line mode)
from the Java side (for a GUI front-end). This prototype example
is only availably by email at present.

A minimalistic solution based on Java Telnet could send a single
line to the HP 3000 and parse (or ignore) the resulting output...

 hello user/pass.acct/pass ;parm=1 ;info="stream myjob.grp.acct"

While the Java Telnet approach provides some flexibility and
potentially interesting features (without needing Java on the
MPE side, by the way)... the SITE STREAM command in FTP should
also be evaluated as it is available "out of the box" (at least
if your 3000 is running the FTP server already).

On a second thought, you might also be successful using the above
"all-in-one" hello command with telnet directly, as it avoids the
issue of sending multiple lines to the 3000 without sending them
"too quickly"...

Lars.

ATOM RSS1 RSS2