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.