Re: Transparent task to task

Liste des GroupesRevenir à co vms 
Sujet : Re: Transparent task to task
De : marc.gr.vandyck (at) *nospam* invalid.skynet.be (Marc Van Dyck)
Groupes : comp.os.vms
Date : 03. Jun 2025, 09:44:01
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <mn.1a847e96e4270777.104627@invalid.skynet.be>
References : 1
User-Agent : MesNews/1.08.06.00-gb
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

Date Sujet#  Auteur
3 Jun 25 * Transparent task to task10Arne Vajhøj
3 Jun 25 +- Re: Transparent task to task1Chris Townley
3 Jun 25 +- Re: Transparent task to task1Lawrence D'Oliveiro
3 Jun 25 +* Re: Transparent task to task2Marc Van Dyck
3 Jun 25 i`- Re: Transparent task to task1Arne Vajhøj
3 Jun 25 `* Re: Transparent task to task5Simon Clubley
3 Jun 25  `* Re: Transparent task to task4Arne Vajhøj
4 Jun 25   `* Re: Transparent task to task3Lawrence D'Oliveiro
4 Jun 25    `* Re: Transparent task to task2Arne Vajhøj
4 Jun 25     `- Re: Transparent task to task1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal