title: RPG timestamp validation, is this best practice?
body: <p>For RPG timestamp validation, is this best practice?  It seem that there should be a way to test using TEST opcode?</p>
  
  <pre><code>d DateTimeST      S               Z                                          
  d Value           S             26A                                          
  d*---------------------------------------------------------------------------
  c                   Eval      Value = '2017-11-16-09.54.40.840586'           
  c                   Eval      DateTimeST = %timestamp(Value)                 
  c                   If        %Error                                         
  c                   EXSR      DoSometing                                     
  c                   ENDIF                                                    
  c*-------------------------------------------------------------------        
  c     DoSometing    BEGSR                                                    
  c                   ENDSR                                                    
  c*-------------------------------------------------------------------        
  c                   Eval         *inlr = *on                                 
  c                   return                                                   
  </code></pre>