From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,183a3a4a68c4fe9c,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-06-22 03:31:06 PST Newsgroups: comp.sys.dec Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!sdd.hp.com!col.hp.com!csn!news.sinet.slb.com!rag.austin.nam.slb.com!aspen!lovell From: lovell@sdr.slb.com (John Lovell) Subject: Foreign commands and CLI$GET_VALUE, etc Message-ID: Sender: news@sdr.slb.com Reply-To: lovell@sdr.slb.com Organization: Schlumberger-Doll Research Date: Tue, 22 Jun 1993 08:26:48 GMT Hi, can an executable image tell whether or not it has been installed in the command table with SET COMMAND ? I would like to have the option of both being able to, say, "run" an program by typing $ run test as well as having TEST.EXE defined as a verb with SET COMMAND. In the latter case, I am using CLI routines to parse, say, $ test/logfile=test.log But if I try to "run" a program which has a CLI$GET_VALUE in it then I get a fatal syntax error parsing "LOGFILE", "entity not found in command table." To avoid this problem I would like TEST.EXE to be able to query the command table to see if it's in there and only then call CLI routines. Can this be done? Any help appreciated, Thanks, John Lovell (lovell@sdr.slb.com) Schlumberger-Doll Research, Ridgefield, CT 06877 203-431-5560