title: Assigning an SQL result to a Job Parameter in DataStage
body: <p>I just started using Datastage (version 11.5) and I am trying to assign the value of a simple SQL query (select max(date_col) from Table) into a Job Parameter so that I can use it as a part of a file produced from the job.</p>
  
  <p>Can anyone point out a simple approach to this, since I am rather lost on how to include SQL queries in parameter values. </p>
  
  <p>Thanks in advance. </p>