C Collection of code snippets by Arne Vajhøj 
C (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
      program rdump
      implicit none
      integer*4 MAX_CMD
      parameter (MAX_CMD=200)
      character*256 cmd(MAX_CMD)
      integer*4 lcmd(MAX_CMD), ncmd, i
      call sys2_recall(cmd, lcmd, ncmd)
      do 100 i = 1,ncmd
        write(*,*) '|'//cmd(i)(1:lcmd(i))//'|'
100   continue
      end
