rouil@ada-uts (07/10/86)
psivax.UUC/n|||`!friesen writes: > Oh, *great*:-) How does the DCL parse the arguments for a user >written application program?? (omitted text) >arguments, whay is really needed is a *standard* for this, like >getopts(3) > Sarima (Stanley Friesen) >UUCP: {ttidca|ihnp4|sdcrdcf|quad1|nrcvax|bellcore|logico}!psivax!friesen ---------- The LIB$GetForeign command is used to get the command line for a user written application it is documented in section 8.2.1 of the Run-Time Library Routines Reference Manual Vax/Vms Version 4.0. The way you have to invoke the application is by equating the name with a symbol i.e. APPLIC :== "$user_application" then invoke the application by entering: APPLIC command line arguments . By the way this way of running a program is sometimes known as running a foreign command. If you don't like that idea try writing your own Command line interpreter and then giving it to parse command line (or some such command can't remember) which will do the job. By the way this method is a lot of work. Get to know the library routines (volumes 5a,b,c?) and the system service routines. In VMS you can do much more than with most systems I am familiar with but not necessarily with great ease. :-). John Rouillard UUCP:{ima,cca,ihnp4}!inmet!ada-uts!rouil Intermetrics Inc. 733 Concord Ave. Cambridge, Ma. 02138 I very much doubt that my company would take responsibility for my living, let alone my opinions. By the way Vax/Vms is a trademark of Digital Equipment Corporation, but you already knew that.