ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Can FTP log be timestamped

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can FTP log be timestamped

    Hi All,

    Is there a way to timestamp the OUTPUT log of an FTP session?

    We have batch FTP running and there doesn't seem to be a way to see the time or date in the FTP log.

    I've googled this and it appears FTP is time oblivious?

    Thanks for your time and help,
    Gary B

  • #2
    Re: Can FTP log be timestamped

    Try this (modify as needed):
    Code:
        RTVJOBA    JOB(&JOBNME) USER(&JOBUSR) NBR(&JOBNBR)        
        CHGVAR     VAR(&DSQLSTMT) VALUE('insert into dacbesp4 +   
                     values(''***** ' *CAT &JOBNME *TCAT '/' +    
                     *TCAT &JOBUSR *TCAT '/' *TCAT &JOBNBR +      
                     *CAT ' Abgleich started at ''' *CAT +        
                     'concat char(current timestamp) ' +          
       *CAT ' concat  '' ****** '')  ')                           
        ECORUNSQL  SQLSTMT(&DSQLSTMT)
    ** edit **You can use IBM's RUNSQL instead of EcofIT's ECORUNSQL.
    Last edited by kitvb1; May 22, 2014, 08:41 AM. Reason: ECORUNSQL
    Regards

    Kit
    http://www.ecofitonline.com
    DeskfIT - ChangefIT - XrefIT
    ___________________________________
    There are only 3 kinds of people -
    Those that can count and those that can't.

    Comment


    • #3
      Re: Can FTP log be timestamped

      Good solution, thank you Kit.

      Comment

      Working...
      X