Re: Purpose of uppercasing a RUN command ?



In article <OF7A40D9CD.6262BD35-ON85257229.004B367E-85257229.004B9753@xxxxxxxxx>, norm.raphael@xxxxxxxxx writes:
I have no particular insights, but ISTM that since it is possible to
SET PROCESS/PARSE=EXTENDED with ODS5, then this may guarantee a match.


SET PROCESS/PARSE=EXTENDED on it's own will preserve case but will access
files in a case insensitive manner.

SET PROCESS/CASE_LOOKUP=SENSITIVE

would be needed to do case sensitive file accesses.

But then they could have just written the commands in
uppercase

ie

RUN SYS$SYSTEM:TCPIP$SMTP_RECEIVER.EXE



David Webb
Security team leader
CCSS
Middlesex University



JF Mezei <jfmezei.spamnot@xxxxxxxxxxxx> wrote on 11/17/2006 06:12:44 AM:

Found this jewel in the SYS$SYSTEM directory:

$ run:
$ run 'f$edit("sys$system:tcpip$smtp_receiver.exe","upcase")'


Since this is written supposedly by people part of VMS engineering (or
perhaps "formerly part of" due to downsizing), I have to ask if there is
any justification for the above from a DCL/VMS engineering point of view.

Also found
$ set :=

Is this a strict equivalent to DELETE/SYMBOL/LOCAL SET ?


Another qestion: the same command procedure that has the fancy run
command,
also has this:

$ serv_id = f$edit("tcpip$smtp","upcase")
$ serv_home = f$edit("sys$specific:[''serv_id']","upcase")


(these constructs are used in the TCPIP$*.COM files throughout
SYS$SYSTEM:)

Were these files generated using some DCL generation tool that perhaps
converts the Tru64 scripts ?

I keep wondering why the TCPIP engineers wrote those procedures in those
ways.

.



Relevant Pages

  • Re: Mathematics and science
    ... Try St Pauls cathedral as a work of structural engineering. ... leading the expedition) was placed in command of the ... the mundane task of handling the ship. ... It was the 'Master' who did that. ...
    (soc.history.medieval)
  • Re: Mathematics and science
    ... Edmond Halley a sea captain and astronomer. ... Try St Pauls cathedral as a work of structural engineering. ... It was the 'Master' who did that. ... was placed in command of the ship. ...
    (soc.history.medieval)
  • Re: Enhancing DCL, was: Re: How do I add 2 letters to a long
    ... This way I could use my FILTER command ... procedure search for strings in the recall buffer. ... recall history buffer of my interactive session from a command ... the RECALL command from within a *DCL* command procedure. ...
    (comp.os.vms)
  • Re: Enhancing DCL, was: Re: How do I add 2 letters to a long
    ... within a command procedure so that I could use FILTER with it. ... You raised the issue of wanting to use recall/out within a command ... Please don't repeat "security"; ...
    (comp.os.vms)
  • TIP #196: Tcl Commands as Values
    ... This TIP proposes making command procedures first-class values in Tcl. ... A Tcl script is a string containing one or more commands separated by ... Thus it can reference any command procedure and any ...
    (comp.lang.tcl)