MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » September 1997

DATE fields in RPG-IV



fixed

We are just beginning to use RPGiv here - and many of you probably know
how this should be done, so ....

We are looking to our Year 2000 changes.  This brings us to the DATE
type field, and some areas of confusion:

I read a file with numeric fields for dates which = 0.   When I try to
convert these to a date field, it results in 01/01/0001.  When I try to
convert this back to a 6,0 numeric field, it gives an error because it
must be in a date range 1940 to 2039 to convert to a 6,0.  We need to be
able to convert back to numeric format for output to display file and
printer file DDS.  How should this be handled?

thx
-saskia
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com
+---






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact