CA IDMS IUA EIUA

Expand all | Collapse all

Time Difference in ADS

Jump to Best Answer
  • 1.  Time Difference in ADS

    Posted 09-26-2018 10:23 AM

    I have a requirement to determine the time in microseconds that it takes to execute a process. I can get the date time stamp at the beginning and at the end of the process by using DISPDT function. Is there an ADS function that can give me the time difference? Any other suggestion will be appreciated.

     

    Thanks

    Sat Pal 



  • 2.  Re: Time Difference in ADS

     
    Posted 09-26-2018 11:47 AM

    Hi Sat,

     

    There are functions in ADS that will give the time in microseconds that a process takes to execute. Your approach of using DISPDT at the beginning and end of the process is what comes to mind. I can't think of anything else.

     

    Randy



  • 3.  Re: Time Difference in ADS

    Posted 09-26-2018 12:15 PM

    Thanks Randy. Do you know of an easy way to get the time difference between two DISPDT values? Will converting to internal time stamp make the calculation of difference easier?

     

    Thanks

    Sat Pal



  • 4.  Re: Time Difference in ADS
    Best Answer

    Posted 09-27-2018 09:46 AM

    Knowledge article KB000115978 describes a method for doing this.

    Using SET in IDMS/SQL - CA Knowledge 



  • 5.  Re: Time Difference in ADS

    Posted 09-27-2018 05:07 PM

    Thank you Ian.