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