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 mix
      integer*4 cmdlen
      character*80 cmd
      integer*4 p1len,p2len,p3len,p4len
      character*80 p1,p2,p3,p4
      external mixcld
      call lib$get_foreign(cmd,,cmdlen)
      call cli$dcl_parse('cli '//cmd(1:cmdlen),mixcld,,,)
      call cli$get_value('p1',p1,p1len)
      call cli$get_value('p2',p2,p2len)
      call cli$get_value('p3',p3,p3len)
      call cli$get_value('p4',p4,p4len)
      write(*,*) 'Mix : '//p1(1:p1len)//' '//p2(1:p2len)//' '
     +                   //p3(1:p3len)//' '//p4(1:p4len)
      end
