Subject: | |
From: | |
Reply To: | James Clark,Florida |
Date: | Tue, 29 Feb 2000 11:16:58 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Dsline to your own machine and log on again as a session from the job. Do
the telnet and then log off the session and then close the dsline.
James
> -----Original Message-----
> From: HP-3000 Systems Discussion [mailto:[log in to unmask]]On
> Behalf Of Ted Johnson
> Sent: Tuesday, February 29, 2000 11:04 AM
> To: [log in to unmask]
> Subject: Telnet from a Batch Job
>
>
> 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
>
|
|
|