Automic Workload Automation

  • 1.  JOBF : Rename the source file after transfer

    Posted Jul 04, 2018 11:09 AM

    Hi All,

     

    I'm facing a matter.

     

    On a JOBF (job file transfert) i would like to rename the source file after the transfert is completed.

     

    Any one have an idea on how can i perform it ?

     

    Many thanks in advance,

     

    Regards,

    Reda



  • 2.  Re: JOBF : Rename the source file after transfer

    Posted Jul 04, 2018 01:44 PM

    Hi

    depending on the amoun&size of files you could do:

     

    * do 2 JOBFs one after each other (ServerA|fileA.txt => ServerB|fileA.txt then ServerB|fileA.txt => ServerA|fileA_bak.txt

    * run an os job that renames the source file after the JOBF

    * run PREP_PROCESS + OS (rename)command from Post process of the JOBF

     

    cheers, Wolfgang