title: JCL append date/time to a file?
body: <p>How do I add the current date/time to a file in JCL?</p>
  
  <p>For example, from the JCL:</p>
  
  <pre><code>//INPUT DD *
  CGQ-TEST.ISQCQ.NET
  ASCII
  LOCSITE SBD=SYSP.FTP.RCAMSI
  SENDSITE
  PUT    'TJ.UTJ0IR86.BC814.HDR'  BC814001.TMP
  APPEND 'TJ.UTJ4IR86.BC(0)'      BC814001.TMP
  APPEND 'TJ.UTJ0IR86.BC814.TRL'  BC814001.TMP
  RENAME BC813001.TMP BC814001.TXT
  CLOSE
  QUIT
  </code></pre>
  
  <p>I need the file BC814001.TXT to actually be BC814001.20160930.110900.ent, where 20160930.110900 is current date and time (YYYYMMDD.HHMMSS format).</p>