title: JCL for running COBOL program calling subprogram
body: <p>I have one COBOL pgm A which is calling another COBOL pgm B.
  In pgm B I need one file.How can I write JCL so that I would be able to access this file in pgm B? I have written select clause and FD entry for this file in B.</p>