add date to ob file

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf add date to ob file

  • Creator
    Topic
  • #51254
    Mason Miller
    Participant

      I am picking up a file via FTP then sending to a location using fileset-local is there an easy way to add the current date and time to the end of the outbound filename?

    Viewing 2 reply threads
    • Author
      Replies
      • #69400
        Charlie Bursell
        Participant

          Look in $HCIROOT/contrib, there is a file named fileset_numfile_out.tcl which is an example of how to this.

          I would be very carefull about using timestamps however since the granularity is in seconds and may process more than record per second

        • #69401
          Mason Miller
          Participant

            where would you put this proc in the TPS Outbound data?

          • #69402
            Mason Miller
            Participant

              got it working thanks I put in the upoc on the raw route.

          Viewing 2 reply threads
          • The forum ‘Cloverleaf’ is closed to new topics and replies.