title: How do I search text in a file with DCL
body: <p>How do I search text in a file with DCL? Yes, I have to use DCL.</p>
  
  <p>The file format is straight forward:</p>
  
  <pre><code>&lt;NUMBER OF ENTRIES&gt;
  &lt;ID&gt;  &lt;DIRECTORY&gt;
  &lt;ID&gt;  &lt;DIRECTORY&gt;
  .
  .
  .
  &lt;ID&gt;  &lt;DIRECTORY&gt;
  </code></pre>
  
  <p>They're separated by a few white space characters. I just need to search the file for a given ID and extract the DIRECTORY.</p>
  
  <p>It's a really simple task, but I can't seem to find any decent DCL documentation anywhere.</p>