I think you are asking about this: $ DIR/DATE=ACCESSED MYFILE.DAT I sometimes do things like this, too... $ PIPE DIR/FULL MYFILE.DAT | SEARCH SYS$INPUT ACCESSED or $ PIPE DIR/FULL MYFILE.DAT | AWK "/Accessed/ {print $2,$3}" | [other things] Depending on circumstances.