title: Is it possible to create a variable in PIG
body: <p>Can i create a variable in PIG and concatenate them where on if the variable is dynamic- like current time?</p>
  
  <p>I need a file name to be created based on the current time.</p>
  
  <blockquote>
    <p>%declare FILE_PREFIX file; </p>
    
    <p>%declare FILE_POSTFIX <code>date +%Y-%m-%d-%s</code>;</p>
  </blockquote>
  
  <p>Can i do something like:</p>
  
  <blockquote>
    <p>file_name = '$FILE_PREFIX$FILE_POSTFIX';</p>
  </blockquote>