Sujet : Re: Upcoming time boundary events
De : arne (at) *nospam* vajhoej.dk (Arne Vajhøj)
Groupes : comp.os.vmsDate : 02. Jun 2025, 00:27:48
Autres entêtes
Organisation : SunSITE.dk - Supporting Open source
Message-ID : <683ce1f4$0$693$14726298@news.sunsite.dk>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14
User-Agent : Mozilla Thunderbird
On 5/31/2025 3:47 PM, Arne Vajhøj wrote:
The context was:
#### and
#### transparent task to task communication ?
### and task to task->INETD.
So I assume that we are talking about how to rewrite
something like:
$ open/read f 0::"task=something"
$ read f line
$ close f
$ exit
Or to provide a complete example:
$ typ add.com
$ open/read/write f sys$net
$ read f num1
$ num1 = f$integer(num1)
$ read f num2
$ num2 = f$integer(num2)
$ numres = num1 + num2
$ numres = f$string(numres)
$ write f numres
$ close f
$ exit
$ typ tst.com
$ open/read/write f 0"myusername mypassword"::"task=add.com"
$ write f "123"
$ write f "456"
$ read f res
$ close f
$ write sys$output res
$ exit
$ @tst
579
Arne