With my RPG /Free program, I am attempting to use MAPVAL on a time field
which is output only. The IBM website does not describe its use with time,
only date. I've been using the date version for years. Now I have an
application which will generate the time throughout the day. I don't want
to see ` 5` but would rather see `0:00:05`. 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
It was suggested that I could make the output field character and move an
%EDITW value into it, but I would rather keep the numeric times with
editing.
Do any of you know the secret to overcoming this error?
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.