Yes, SYSIN and SYSOUT would map to console by default. I don't know
what AcuCOBOL does to change where these go, but I doubt that they
would go to a port - ports aren't like that.
> Any
> idea how can I engage ports for receiving and sending data. I am using
> acucobol under unix environemnt SCO open server release 5.
That OS is nearly 20 years old and hasn't had an update for 10 years.
AcuCOBOL went bust many years ago and was bought by Microfocus.
I doubt that you will get COBOL to do socket programming and would
suggest that you start doing it with Python which has a sockets
module. You can get Python 1.5 for Open Server 5 in the Skunkworks
here:
ftp://ftp2.sco.com/pub/skunkware/osr5/vols/ Unfortunately
sockets requires 2.4 so get a Linux box. A tutorial is here:
http://www.ibm.com/developerworks/linux/tutorials/l-pysocks/
But what are you _actually_ trying to do ? Write a web server in
COBOL ?