Path: utzoo!utgpu!water!watmath!clyde!rutgers!ucla-cs!zen!ucbvax!VAKK.UWASA.FI!HANNU
From: HANNU@VAKK.UWASA.FI (Hannu Hirvonen)
Newsgroups: comp.os.vms
Subject: Re: Making qualifiers
Message-ID: <8712180251.AA20054@ucbvax.Berkeley.EDU>
Date: 18 Dec 87 03:15:17 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The ARPA Internet
Lines: 26


I'n not exactly sure what you mean by 'using qualifiers with command
procedures' but if your intention is to define a symbol to invoke
a command procedure and use qualifiers on this foreign command,
here is what I have used on occasion:

    $ my_command :== @disk:[my_dir]my_procedure """

Now when I use 'my_command' the following way:

    $ my_command /qualifier1 /qualifier2 arg1 arg2

the symbols get these values:

    P1 = "/QUALIFIER1"
    P2 = "/QUALIFIER2"
    P3 = "ARG1"
    P4 = "ARG2"

(Note that also the 'qualifiers' count towards the maximum of 8 command
line arguments.)

                                   Hannu Hirvonen
                                   System Manager
                                   Computer Centre, University of Vaasa
                                   Vaasa, Finland