HP3000-L Archives

February 2000, 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:
Ted Johnson <[log in to unmask]>
Reply To:
Date:
Tue, 29 Feb 2000 11:04:08 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (40 lines)
One of our programmers is trying to create a batch job that as the last
step will open a Telnet session to a NT machine.  Once this telnet
session is open the NT machine will start doing a related process.  The
problem is that we are not able to get telnet to work properly in a
batch job.   We are either getting the following message..

 :TELNET 'xxxxxxxxxxxx.WFU.EDU xxxx'
 Sorry, this program cannot be run from a job.
 :EOJ

If we change the line to

::TELNET xxxxxxxxxx.WFU.EDU xxxx

then the telnet session executes first....before the FTP commands at the
beginning of the batch job.

We tried moving the telnet commands to a different batch job and having
the first batch job stream the second batch job but it again executed
the telnet
command first.

I know there has got to be a simple answer to this but right now it is
escaping me.

TIA,

Ted


--
********************************************************
Ted Johnson                     [log in to unmask]
Information Systems
Wake Forest University          336-758-4374
Winston-Salem, NC 27109         336-758-7127 FAX

Remember when choosing a pet...to a dog you are family,
to a cat you are staff

ATOM RSS1 RSS2