|
(Posting to RPG list due to RPGLE web service program to pass timestamp as
parm)
I have a requirement to pass timestamp in a format where I don't see RPGLE
has an option other than generating a text field.
This is the sample provided and through SOAPUI it works
<uws:StartDate>2015-12-08T14:26:46</uws:StartDate>
Every variation I try fails, and I have verified on the target system it
is a "TIMESTAMP".
2015-12-08-14.26.46 fails - (nothing selected)
2015-12-08-14.26.46.000 and .000000 both fail
Am I missing some understanding of timestamps between DB2 for i and DB2
LUW (and this is either Linux or unix running Websphere with DB2 9.7.x)
or is there some edit possible in a timestamp?
ILE RPG Reference V7R1 says a Timestamp Data Type is always length of 26
and format is
yyyy-mm-dd-hh.mm.ss.mmmmmm
Jim
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.