× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Sorry about that...
The following two ways both worked from within my RPG free program:

if cdsstadt = %timestamp('0001-01-01-00.00.00.000000') ;

if cdsstadt = *loval ;

Thanks,
Pam
Pam Gutowski | Senior Programmer Analyst | Grand Circle Corporation,
Boston
Phone (617) 346-6538 | *: pgutowski@xxxxxxxxxxxxx



From:
Gary Thompson <gthompson@xxxxxxxxxxx>
To:
"RPG programming on the IBM i (AS/400 and iSeries)"
<rpg400-l@xxxxxxxxxxxx>,
Date:
08/26/2013 01:27 PM
Subject:
RE: How do I edit timestamp = 0
Sent by:
rpg400-l-bounces@xxxxxxxxxxxx



Jerry,

This works for me in STRSQL:

select *
from basloc53/lc098
where donets = '0001-01-01-12.00.00.000000'


I >think< this works from embedded sql ?:


my_Loval_TS = *Loval;

Exec SQL select *
from basloc53/lc098
where donets = :my_Loval_TS;


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Jerry C. Adams
Sent: Monday, August 26, 2013 11:15 AM
To: 'RPG programming on the IBM i (AS/400 and iSeries)'
Subject: RE: How do I edit timestamp = 0

Well, I don't know about the others, but I'm certainly curious: Which one
worked?

Personally, I thought Henrik's solution was the best.

Jerry C. Adams
IBM i Programmer/Analyst
If a program is useful, it will have to be changed. If a program is
useless, it will have to be documented.
--
Home Office: 615-832-2730
email: midrange@xxxxxxxx

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Pam Gutowski
Sent: Monday, August 26, 2013 10:58 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: How do I edit timestamp = 0

That worked. Thank You!

Pam Gutowski | Senior Programmer Analyst | Grand Circle Corporation,
Boston Phone (617) 346-6538 | *: pgutowski@xxxxxxxxxxxxx
--
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.


--
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.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.