title: Creating a file with dynamic name in cobol
body: <p>We want to create a file with a date embedded in it which is derived from another file.
  Consider a file A contains processing date '04/18/2015'. Now we want to create  a file with name 'XXXX.YYYY.04182015'.</p>
  
  <p>Can it be accomplished using COBOL and JCL?</p>