|
hi Andras , Just yesterday I had this problem . Earlier I used to substring the value from YYMD date to YMD as in the display file.And as u rightly said , since the date was decimal field,the value program read was 123 instead of 000123. To correct it I changed the value of the display file date field to 8 length and stopped doing substring on date field.So i got the date in display file as 20000123. I tried to see whether we can stop program from suppressing the leading zeroes , but cd not find one. I think display file too cannot help since the program reads the date as 123 instead of 000123.(i found it in strisdb by watching the variable when it did read on the file) If u get a sensible answer , pl let me know too !!!! other possible soln wd be to declare the date field ni the file as character .this wd stop it from suppressing the leading zeros. daj ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.