One solution might be to add one more parm to all commands.  *char 10. 
and in the command source itself type it's own name, so that all of your
commands in the series carry their own name right with them:

     CMD Prompt('This is Command ABC1')
     PARM('ABC1')
     PARM(&so_on)

In <Pine.A32.3.93.980524212216.22986B-100000@srv1.calcna.ab.ca>, on
05/24/98 
   at 09:38 PM, jovic@calcna.ab.ca said:


>       I'd like to. There are a few similar commands with the same set of
>parameters, and I would like to perform checking and (application) loging
>from one spot.  That's why I need command name. 

>Vanya

-- 
-----------------------------------------------------------
boothm@ibm.net
-----------------------------------------------------------

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact [javascript protected email address].