1

How to list history commands on VMS ?

On linx, we can use "history".

I cannot find corresponding commands on VMS .

Any help will be appreciated.

Thanks

Laurent Parenteau
  • 2,516
  • 20
  • 31
dtustudy68
  • 325
  • 1
  • 4
  • 13

2 Answers2

6

The command you're looking for is RECALL /ALL. See this handy-dandy list of OpenVMS commands and their UNIX equivalents.

jornak
  • 478
  • 3
  • 9
  • if you want to see the recall buffer of another process, `$ ana/sys set proc/id=xx` and now `exam ctl$ag_clidata;400` for older versions of OpenVMS, for recent versions, just `$ ana/sys` and then `clue process/recall` – user2915097 Oct 11 '16 at 08:29
3

you can use Recall/all its give you last buffer commands in following format

  • 42 help
  • 43 @mydcl
  • 44 set verify
  • 45 @mydcl
  • 46 create mydcl.com

now you can run again using

recall 42
ie 
help 

and as in unix "!pattern" its run very last command matching with pattern same in OpenVMS RECALL PATTERN example

$ recall s

the result is

$ set verify = procedure
j0k
  • 22,600
  • 28
  • 79
  • 90