Re: [vcf-midatlantic] clearing the queue in VMS 5.2 (or thereabouts)
Brian Schenkenberger via vcf-midatlantic writes:
Try:
$ QUEUE = 'F$getqui("DISPLAY_QUEUE","QUEUE_NAME","MULTINET_SMTP") $ 100$: ENTRY = 'F$getqui("DISPLAY_ENTRY","ENTRY_NUMBER") $ IF "''F$type(ENTRY)'".NES."STRING" $ THEN $ DELETE/ENTRY='ENTRY' $ GOTO 100$ $ ENDIF
Ooops... $ 100$: ENTRY = F$getqui("DISPLAY_ENTRY","ENTRY_NUMBER") No apostrophe.
<http://www.vintagecomputer.net/readme.cfm> Did not like $ QUEUE = 'F$getqui("DISPLAY_QUEUE","QUEUE_NAME","MULTINET_SMTP") %DCL-W-UNDSYM, undefined symbol - check validity and spelling \MULTINET_SMTP\ $ F$getqui("DISPLAY_QUEUE","QUEUE_NAME","MULTINET_SMTP") %DCL-W-IVVERB, unrecognized command verb - check validity and spelling \F$GETQUI\ I will work on this later. I am sure there is way with my version of VMS, but it may not be F$getgui
DID like (no leading single quote) QUEUE = F$getqui("DISPLAY_QUEUE","QUEUE_NAME","MULTINET_SMTP")
participants (2)
-
VAXman@tmesis.org -
william degnan