title: Reading a parameter file and copy filenames to DSN
body: <p>I want to know how you can copy from parameter file to a DSN name;</p>
  
  <pre><code>//S001     EXEC PGM=GL026D00,
  //             PARM='GGGL150505'
  //IPARM    DD  DSN=FCGL.BPYP667.CNTL(GGGLJ),
  //             DISP=SHR               
  //GGGLJ010 DD  DSN=FCGL.BPYP667.CNTL(%%Filename),   
  //             DISP=SHR               
  //SYSPRINT DD  SYSOUT=T 
  //SYSDBOUT DD  SYSOUT=T 
  //SYSABOUT DD  SYSOUT=T 
  </code></pre>
  
  <p>The IPARM will use a dataset with one record only, which will be one of the following names:</p>
  
  <pre><code>GGGLJ010
  
  GGGLJ01I
  
  GGGLJ01H
  </code></pre>
  
  <p>I want to replace <code>%%filename</code> with <code>GGGLJ010</code> or <code>GGGLJ01I</code> or <code>GGGLJ01H</code></p>