Mike,Quote:>I need to start a job on a UNIX (HP-UX) machine from a job running in batch on
>So far I've managed to send a file using the STRTCPFTP command and by
>over-riding the INPUT to a text fil. Unfortunately the TELNET and STRTCPTELN
>commands will not work within a CL batch job.
>Has anyone any ideas??
If you can find a way of redirecting the TELNET session input /output to source
files as per FTP, then you might try changing the TELNET command (CHGCMD
command) so that it can run in batch program mode (*BPGM).
However, one way which I know will work is to send a message (from OV/400 to
SMTP on the Unix box) which can be monitored for by a Unix program. Just how
the program is written in C I don't know - but presumably your Unix programmers
can take care of this.
Likewise, on completion of the Unix task, an e-mail could be sent back to signal
the AS/400 task that it can continue (that's if it needs to execute the Unix task