Path: utzoo!mnetor!uunet!yale!cmcl2!arizona!robert From: robert@arizona.edu (Robert J. Drabek) Newsgroups: comp.os.vms Subject: Re: VMS global symbols (really foreign commands) Message-ID: <4738@megaron.arizona.edu> Date: 7 Apr 88 15:24:33 GMT References: <1181@csun.UUCP> Organization: U of Arizona CS Dept, Tucson Lines: 21 Keywords: passing parameters Summary: solution In article <1181@csun.UUCP>, mst@csun.UUCP (Mike Temkin) writes: > I have a few programs that need command line parameters passed to them. > > I see no difference between typing 'RUN PROGRAM' and setting a global > symbol like 'PRG :== RUN PROGRAM 'P1 'P2' then typing 'PRG param1 param2'. > > Can anyone tell me what I am doing wrong? You need to create "foreign commands" with PRG :== $MYDISK:[MYDIR]MYPRG Then you can execute MYPRG as you desired. (MYDISK and MYDIR are where your executable is located. SHOW DEFAULT will give you a hint about the correct names really are.) -- Robert J. Drabek Department of Computer Science University of Arizona Tucson, AZ 85721