Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Marc Van Dyck Newsgroups: comp.os.vms Subject: Re: Transparent task to task Date: Tue, 03 Jun 2025 10:44:01 +0200 Organization: A noiseless patient Spider Lines: 46 Message-ID: References: <101lah0$3iet6$2@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15"; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 03 Jun 2025 10:44:03 +0200 (CEST) Injection-Info: dont-email.me; posting-host="ff3769e30ef409e311e6b44b6cc34c28"; logging-data="4110440"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/hwPhjdC7WkAwZ9RoRIHoI" Cancel-Lock: sha1:KCBQC7EMu1O8cmZJz0S113RbyuQ= X-Newsreader: MesNews/1.08.06.00-gb X-Face: #0?irvdFiM!(Tpl}/tO%_kuSW_^9G5aeIEnY1uNPcd@N_U.B30\*[%N-cnqSC,rEfeq\m:b oR({RM{x03]Iv}^2xc7\J][^MkbL3DYdLevZ$&h0WbH!i:>O1i#FLy/mO2G~xMF *uQnfN4xre8v9%0fqg;i.!ymm~6w2nEx);Q~Q*8&dUO(fn Bytes: 2594 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. > > Arne 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... -- Marc Van Dyck