Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
(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
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 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.