More recent versions of OpenVMS include a UNIX style PIPE command. PIPE allows you to perform multiple commands, command pipelining, and other functions.
You may perform multiple commands by separating them using semicolons:
$ PIPE command ; command
Command pipelining allows you to use the output of one command as the input for another. You specify PIPE command elements by separating then using vertical bars (pipe symbols). This example performs a SHOW SYSTEM command and then searches the output for the word server:
$ PIPE SHOW SYSTEM | SEARCH SYS$INPUT "SERVER" 0000008A AUDIT_SERVER HIB 9 120421 0 00:26:08.43 1642266 174 0000008D SECURITY_SERVER HIB 10 18124 0 00:28:48.99 5434137 110 0000008E TP_SERVER HIB 9 535733 0 01:34:08.81 1818106 158 00000098 NAMED_SERVER HIB 6 918580 0 00:40:35.06 1292097 659 0000009C WWW server 80 HIB 6 914949 0 01:30:22.63 765716 722 N 0001ED9D WEBSERVER_1 LEF 6 41 0 00:00:01.27 54170 43 S 000268AC SERVER_001A LEF 6 4583 0 00:00:52.33 36800 43 N 00028633 SERVER_0013 LEF 6 803 0 00:00:06.49 3960 154 N 00027F36 SERVER_0010 LEF 6 303 0 00:00:02.58 1886 126 N 0001E3B8 SERVER_000E LEF 6 321 0 00:00:02.51 1943 115 N 000001BC SERVER_000A LEF 6 192107 0 00:39:33.46 1216898 43 N
Use HELP PIPE for further information about the capabilities of PIPE.