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



Simon,


Upon further review of the IBM site:

If the explicit value is a time (T) value, you must use the format that the
TIMFMT keyword specifies. If the TIMFMT keyword is not specified, you must
use the *ISO format. Also, you must use the separator that the TIMSEP
keyword specifies. If the TIMSEP keyword is not specified or if TIMSEP
specifies the *JOB separator, you must use a colon (:) for the separator.


Thanks for the update. I shall change the fields to `T` time fields.



Robert Munday
On assignment in Jacksonville, FL


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Simon Coulter
Sent: Wednesday, May 13, 2009 10:56 PM
To: RPG programming on the IBM i / System i
Subject: Re: MAPVAL For Time


On 14/05/2009, at 11:45 AM, RWMunday wrote:

The compile error I get
on my screen indicates that the keyboard value on my time field is
invalid.
I have tried:

6Y 0 O

6S 0 O

6 0 O


From the DDS Reference:

This keyword is only valid with the date (L), time (T), or timestamp
(Z) data types.

None of your field examples satisfy that requirement.


Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists

http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------


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.