1. Nilotpal Bera
  2. PowerServer
  3. Tuesday, 3 May 2022 07:11 AM UTC

Hi Team,

 

Greetings!

 

It was observed that when a DateTime type argument is sent to stored procedure call from PowerBuilder, it is getting modified for PowerServer deployed apps.

For example,

actual value=05-02-2022 10:10:10.010, 05-02-2022 10:10:10.075

sent value=05-02-2022 10:10:10.100, 05-02-2022 10:10:10.750

 

The leading zero is getting dropped and instead appended at last.

 

 

Using Sybase ASE ODBC connections for our apps.

 

Maybe related to bug https://www.appeon.com/standardsupport/track/view?id=6353

 

Kindly have a look.

 

Thanks,

Nilotpal

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 3 May 2022 14:10 PM UTC
  2. PowerServer
  3. # Permalink

Hi Nilotpal;

   Please open a Support Ticket for this issue and if possible, also attach a small test case if you can.

Regards ... Chris

Comment
  1. Nilotpal Bera
  2. Wednesday, 4 May 2022 06:33 AM UTC
Hi Chris,

Greetings!

Thanks for looking into.

Will open a ticket for the same.



Thanks,

Nilotpal



  1. Helpful
  1. Nilotpal Bera
  2. Thursday, 26 May 2022 07:41 AM UTC
Hi Chris,

Greetings!

Marking this thread as resolved since a ticket for the same has been opened.

https://www.appeon.com/standardsupport/track/view?id=8325



Workaround: Pass the DateTime value with milliseconds as String converted value(using the String function with display format argument) to the stored procedure.

Applicable for PowerServer 2021 and Sybase ASE 16 ODBC connections.



Thanks,

Nilotpal



  1. Helpful
  1. Armeen Mazda @Appeon
  2. Thursday, 26 May 2022 15:15 PM UTC
Thanks for sharing the workaround!
  1. Helpful
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.