CA Endevor

Expand all | Collapse all

CA Endevor Eclipse Plugin - Where is the UPDT DATE/TIME field sourced?

Jump to Best Answer
  • 1.  CA Endevor Eclipse Plugin - Where is the UPDT DATE/TIME field sourced?

    Posted 04-20-2018 06:26 AM

    I've just generated an element using the CA Endevor Eclipse Plugin, when checking the element in the Element View Tab I noticed that the UPDTE DATE/TIME field is displaying 2018-04-20 18:13. 

     

    When checking the element in Endevor I've got a Last Element Action time of 20APR18 11:13 (which ties up with the time of the action). 

     

    Any idea what the 18:13 value refers to? 



  • 2.  Re: CA Endevor Eclipse Plugin - Where is the UPDT DATE/TIME field sourced?
    Best Answer

    Posted 04-23-2018 01:39 PM

    This  UPDTE DATE/TIME is the response time from Endevor Web Services, by default, the data source file named Endevor.cfg is using the TimeZone="GMT-6.0",  so this is the Endevor Web Services response time based on timeZone defined in the data source.  

     

    You can update the TimeZone value in the data source to match the PC TimeZone you are using. You need to restart Tomcat after the value change.



  • 3.  Re: CA Endevor Eclipse Plugin - Where is the UPDT DATE/TIME field sourced?

    Posted 04-24-2018 03:23 AM

    Thanks, I don't remember seeing this documented anywhere? Could this be added to the documentation?



  • 4.  Re: CA Endevor Eclipse Plugin - Where is the UPDT DATE/TIME field sourced?

    Posted 04-24-2018 09:54 AM

    On V18 document, TimeZone is explained in the SOAP Client section:

    • wsParameters
      (Optional.) Specifies parameters and values to override wsParameters specified in the configuration file. These parameters are Lang, TimeZone, CodePage, LSF.Encoding, Encoding, CharacterSet, ContentType, Trace, and Tracer. For more information, see Configuration File Parameters.

    Timezone
    Specifies the timezone where the client application is located. Web Services uses this value to determine the correct time, on the client side, for use in messages.

     

    V18 document data source configuration file template:

    <?xml version="1.0"?>

    <DataSource xmlns="http://scm.ca.com/endevor/CFG"

                xmlns:cfg="http://scm.ca.endevor"

                Name="ENDEVOR"            

                Status="Available"

                Message="Welcome to ENDEVOR"

                Description="Endevor demo"> 

      <STC HostName="CCIHOST"

           JobName="CCISTC"

           ProgramName="BC1PAPI0"

           Comments="ENDEVOR STC"

           PoolInitSize="0"

           PoolIncrSize="1"

           PoolMaxSize="0"

           PoolreapTime="180">

           UnusedTimeout=”600”

           AgeTimeout=”1200”>

        <wsParameters Lang="EN"

                      TimeZone="GMT-6.0"                   << this is the default value of the TimeZone

                      CodePage="cp1040"

                      Encoding="cp1040"

                      CharacterSet="ISO8859-1"

                      LFSEncoding="ISO8859-1"

                      ContentType="Text"

                      Trace="1"

                      Traced="USERID"/>

      </STC>

    </DataSource

     

    You can check your TimeZone Setting in your data source file located at $Tomcat/webapps/endevor  directory.