The answer to this question is a resounding "NO!!".
DCL provides all the information you need to determine what qualifiers and parameters were present on the command line used to invoke your program, the values of those parameters and/or qualifiers, even the verb that was used (some programs - like COPY - accept more than one verb (APPEND, COPY)).
Need some examples?
CREMBX.BAS illustrates how to get the value portion of a "/qualifier=value" expression as stated on the command line (CLI$GET_VALUE).
CREATE55.CLD shows how the VMS V5.5 CREATE.CLD was modified for the /MAILBOX qualifier and the related additional qualifiers. Look for "define verb create", then scan down to where you find "qualifier mailbox, syntax=mbx". Then go back to the top of the file and look for "define syntax MBX".
The "image" keyword indicates which image will be invoked for each variant of the command. Unless an alternate syntax modifies the "image", CREATE will be run. CREATE/MAILBOX invokes the CREMBX image.
To "install" a new (or modified) command, use the SET COMMAND statement in DCL:
$ SET COMMAND filespec
The command will become part of your process's command table. To write the resulting command table to a file, use the /OUTPUT qualifier with an appropriate filespec.:
$ SET COMMAND filespec/OUTPUT=filespec
You can even use this form of the command to modify the system-wide DCLTABLES.EXE. However, it is more advisable to prepare your own command table image, and set that in the UAF records for those users who need the modified command table. Remember that DCLTABLES.EXE, if modified, must be /REPLACEd by the System Manager using the INSTALL command.
DJE Systems
P.O. Box 87856
Carol Stream, IL 60188-7856
Voice: 630-832-7527
FAX/BBS: 630-832-7528
E-Mail us at djesys@earthlink.net
,
Or, dial up our bulletin board system, The SYS$COMMAND BBS
at 630-832-7528
(8-N-1, <=9600 baud. See the BBS
page for status and a list of files).
Tradenames, trademarks, service marks, etc. appearing on this page are the property of their registered owners.
"DJE Systems" is a service mark of David J. Dachtera,
doing business as DJE Systems.
This page Copyright ©1998 by David J. Dachtera, All Rights Reserved.