| Deutsch English Français Italiano |
|
<101n4g3$34un$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=C3=B8j?= <arne@vajhoej.dk> Newsgroups: comp.os.vms Subject: Re: Transparent task to task Date: Tue, 3 Jun 2025 11:31:15 -0400 Organization: A noiseless patient Spider Lines: 62 Message-ID: <101n4g3$34un$2@dont-email.me> References: <101lah0$3iet6$2@dont-email.me> <mn.1a847e96e4270777.104627@invalid.skynet.be> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 03 Jun 2025 17:31:15 +0200 (CEST) Injection-Info: dont-email.me; posting-host="d650e24dc87c46446dcf1db1a64a140a"; logging-data="103383"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19vTOLcU+1YVyyujK5zktRpehf3aRAjsdo=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:KIo+Xnc3pYd2E6NuCHHdMykVgv0= In-Reply-To: <mn.1a847e96e4270777.104627@invalid.skynet.be> Content-Language: en-US Bytes: 3048 On 6/3/2025 4:44 AM, Marc Van Dyck wrote: > Arne Vajhøj was thinking very hard : >> Now the topic is up. >> >> Am I the only one wondering why so much documentation use the >> TYPE command to activate? >> >> It bothers me a bit to have the TYPE command execute code. >> >> $ type 0"myusername mypassword"::srv.com >> $ define/nolog sys$output sys$net >> $ show time >> $ write sys$output "Deleting all files" >> $ exit >> >> $ type 0"myusername mypassword"::"task=srv.com" >> 2-JUN-2025 18:56:35 >> Deleting all files >> >> $ type 0"myusername mypassword"::"srv.com" >> $ define/nolog sys$output sys$net >> $ show time >> $ write sys$output "Deleting all files" >> $ exit >> >> $ type 0"myusername mypassword"::"0=srv.com" >> 2-JUN-2025 18:56:35 >> Deleting all files >> >> Inserting two characters and type becomes execute. > > I don't see anything wrong with that. In the first syntax you are > activating the FAL object (implicitely, because it is tightly integrated > with RMS) to display the contents of the file ; in the second syntax > you are activating the TASK object and are asking to display (hence the > TYPE command) the output from the execution of a procedure on the remote > system. It's the equivalent of talking to two different IP ports. For > the first systax you would be talking to FTP (nothing really closer to > FAL than that, sorry) while for the second one you would be talking to, > for example, REXEC... I know the mechanics. And I realize that: * it is not something in TYPE - it is all in RMS and DECNet * TYPE is convenient for task, because it reads until EOF and displays But it still bother me to have TYPE execute. It is syntax in the P1 argument that fundamentally changes behavior of the verb. From a "common" non-modifying verb to a potential modifying verb. But I can count. So far 3 does not see a problem while 0 see a problem. :-) Arne