Looks like %Timestamp bif needs an operand of length 26. Worth trying something like this:
D wTimeStampEnd s z Inz
D Temp_Var1 s 26a Inz('2007-06-12-06.00.00')
/Free
wTimeStampEnd =
%timestamp(Temp_Var1);
//
// Or Something like this...
//
wTimeStampEnd =
%timestamp('2007-06-12-06.00.00 ');
*Inlr = *On;
/End-free
----- Original Message ----
From: Booth Martin <booth@xxxxxxxxxxxx>
To: RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
Sent: Monday, October 29, 2007 3:50:35 PM
Subject: %timestamp('2007-06-12 06:00:00') - what is wrong with it?
D wTimeStampEnd s z
C eval wTimeStampEnd =
C %timestamp('2007-06-12 06:00:00')
What is wrong with this? I can work around it, but it seems to me like it should work, according to the manual.
As an Amazon Associate we earn from qualifying purchases.
This thread ...
Re: %timestamp('2007-06-12 06:00:00') - what is wrong with it?, (continued)
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.