[Info-vax] How to tell SET COMMAND where the .EXE file is?

Robert A. Brooks FIRST.LAST at vmssoftware.com
Sat Sep 24 23:20:02 EDT 2022


On 9/24/2022 10:43 PM, alanfe... at gmail.com wrote:
> I'm trying to set up DIRSORT from the freeware site. Having trouble. I am not familiar with it and the manual and web fail me.
> 
> $ DIR .CLD
> 
> Directory SCRFELD:[DECUSERVE_USER.FELDMAN.NEW.LWW-DIRSORT.DIRSORT]
> 
> DIRSORT.CLD;1                                      8/18           2-MAY-2003 18:42:49.42  (RWED,RWED,RE,)
> 
> Total of 1 file, 8/18 blocks.
> $ SET COMMAND DIRSORT
> $ DIRSORT
> %DCL-W-ACTIMAGE, error activating image DIRSORT
> -CLI-E-IMAGEFNF, image file not found DSA0:[SYS0.SYSCOMMON.][SYSEXE]DIRSORT.EXE;
> $
> 
> Well, no big surprise there, as I haven't told it where DIRSORT.EXE is. How do you tell it? What's the best way to do this? I'm working on EISNER, BTW.

This is from EISNER::

$ type sys$update:phone.cld
!
! Version:      'V04-000'
!

define verb PHONE
         image phone
         parameter p1,label=token1,prompt="Command Token 1:"
         parameter p2,label=token2,prompt="Command Token 2:"
         parameter p3,label=token3,prompt="Command Token 3:"
         parameter p4,label=token4,prompt="Command Token 4:"
         qualifier SWITCH_HOOK,default,nonnegatable,value(default="%")
         qualifier VIEWPORT_SIZE,default,nonnegatable,value(default="10")
         qualifier SCROLL,default

I suspect that the DIRSORT utility .CLD is similarly-written.

In the above example, the line

image phone

describes the location of the image, with the default of sys$system:.exe

In your case, you can either define the logical DIRSORT to point to the
location of the image, or change the .CLD to point to the image.

-- 

                    --- Rob



More information about the Info-vax mailing list