3 calls to
SEQ_IO_DATE2YYYYMMDD
SEQ_HIST_WRITE
SEQ_HIST_WRITEAVG
SEQ_HIST_WRITEAUX