On Tue, 10 Jan 2017 09:30:40 -0800, Charles Mills wrote:
>Agree, agree, agree!
>The single TIOT is a limit to "virtualization." ...
>
>To give a practical example, it might be nice to write an executive that would
>ATTACH multiple FTP clients, so one could run a bunch of related file
>transfers in parallel. But the FTP client program does not allow the
>overriding of 'INPUT' and 'OUTPUT' as DD names, so the lack of independent
>TIOTs precludes this idea.
>
Use UNIX System Services, as in (tested):
user@OS/390.25.00: cat ftpdemo
set -x
...
( ftp $Host1 >log1 <<done
ls -alrt
quit
done
) &
( ftp $Host2 >log2 <<done
ls
quit
done
) &
wait
(Relies on passwords in .netrc. sftp could similarly use .ssh credentials.)
Mr. Natural sez, "Use the right tool for the job."
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN