From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,cdca3dc8d6167cd4 X-Google-Attributes: gidfdb0e,public X-Google-Thread: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-Thread: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-ArrivalTime: 2001-12-29 16:22:27 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!conan.ids.net!zarlenga From: Michael Zarlenga Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: historical evidence of what went wrong at DEC Date: Sun, 30 Dec 2001 00:22:26 -0000 Message-ID: References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <3C2D48CE.FA4FF25A@fsi.net> User-Agent: tin/pre-1.4-980818 ("Laura") (UNIX) (FreeBSD/3.1-RELEASE (i386)) X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.os.vms:57347 alt.sys.pdp10:8864 comp.sys.dec:10475 In comp.os.vms David J. Dachtera wrote: :> This 15+yr VMS user who also has 2+yrs of Unix finds Unix much :> easier to use for most of the tasks I do. I really hate to say :> that, but its scripting languages are light years beyond DCL. : In what way? Just its ability to do functions which return values is worth a lot. In DCL the next best thing we have is CALL but then you have to set global variable to communicate return values back to the caller. Toss in the ability to include other .ksh code into the current .ksh program as code and you have a much more power- ful scripting language. The ability to trap all signals (except for -9) is another feature that is very useful. set control=(y) and on control frequently don't work as expected in .COM programs - the ^Y may terminate the command running, not the DCL .COM. : How do I get a shell to check/verify command line options and values (if : any) before it invokes the program? I forget, there is an option with ksh, though, that will validate command syntax. How do you do it with DCL? : How do I enable command/option abbreviation? No can do. : How do I get filespec expansion to recurse directories? find : How do I get the shell to perform simple numeric calculations? ...string : manipulation (concatenation, reduction ala DCL)? ...conversion from : binary datatypes to string datatypes (ala F$CVxI())? : How do I get the shell to "export" variables to "outer" levels (ala DCL : global symbols)? I suppose you could write them to a file that is executed by the caller after the ksh finishes. : How do I get the shell to open/process an indexed file (i.e., do C-ISAM : the way DCL does RMS)? ...return information about the system (ala : F$GETSYI())? ...return info. re: the crontab or "atd" (ala F$GETQUI())? : I'm sure there are features of the shells, perl, python, etc. that you : find useful. To me, it's still all stone-age computing (Linux, Solaris, : *BSD). And I'm sure you realize that 99% of the things you pointed out are easier in VMS/DCL than in Unix/ksh are not things people do all that frequently. -- -- Mike Zarlenga