title: Find the line number of particular record using JCL
body: <p>I have a <strong>input PS file</strong> like<br>
  aaa1111zzzz<br>
  bbb2222bbbb<br>
  ccc3333bbbb<br>
  ddd3333cccc<br>
  eee7777yyyy<br></p>
  
  <p>I want to know the line number in this input PS file where the word '3333' is present.. <strong>output should be something like</strong><br>
  3<br>
  4<br>
  in this scenario<br></p>
  
  <p>I am looking for a JCL that can do this, I have searched in net, but no luck.</p>