home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!portal!cup.portal.com!Chris_F_Chiesa
- From: Chris_F_Chiesa@cup.portal.com
- Newsgroups: comp.os.vms
- Subject: re: Re: Running LOGINOUT [SYS$CLI]
- Message-ID: <73406@cup.portal.com>
- Date: Mon, 11 Jan 93 21:59:19 PST
- Organization: The Portal System (TM)
- References: <9301071240.AA03083@uu3.psi.com>
- Lines: 42
-
- Whew... it's been a whole five days since I read-and-posted here... and it's
- 1AM even so...
-
- In response to an earlier posting of mine, Jerry Leichter writes:
-
- > Is it possible that the "running LOGINOUT" issue, [...] might be
- > related to the thoroughly undocumented nature of [...] SYS$CLI?
- >
- >Nope; not connection at all.
- >
- > [...more drivel from me...]
- >
- >SYS$CLI is a catch-all; essentially all it means is "CLI, please perform some
- >service for me". A parameter specifies which service, and all the rest of the
- >parameters vary depending on the service to be provided.
-
- That much I know. It's just that the data structure isn't documented
- anywhere. A disconcerting proportion of the "regulars" on this group
- seem to have access to VMS source code; I'd give my left eyetooth to
- come within spitting distance of it, myself, as that seems to be not
- only the "definitive" reference but in some cases the ONLY source of
- information, on some topics, SYS$CLI being one of them. I suppose, though,
- that if I ever DID encounter VMS source code I'd be disappointed: I
- imagine it being heavily and clearly commented and easy to follow, and
- I'd be awfully teed off if it turned out to be obscure and obfuscated...
-
- But I digress.
-
- >The last time I checked, all the SYS$CLI services were accessible through
- >library procedures; you'd gain nothing by using SYS$CLI directly.
-
- Ah... now that's where you're mistaken! From the few feeble bits of
- information I -was- able to dig up on SYS$CLI, from Pat Rankin and
- Joe Meadows and the like, I've found a couple of things I can do via
- SYS$CLI that I CAN'T do through library procedures. One, "chain" to
- another executable program after the one I'm running completes. Two,
- do that AND issue another independent DCL command, both after the
- program I'm running completes. Heaven only knows what else I'd find
- if I could follow the scanty docs any better...
-
- Chris Chiesa
- Chris_F_Chiesa@cup.portal.com
-