|
Maybe you need to initialise EightDigits before the Move. It looks as if the Move is populating only the right 6 positions of the field, overwriting an ISO date which was already in there. Unless, of course, the Move changes the format after populating the field but does not clear the right 2 positions, which would seem unlikely. HTH Martin -----Original Message----- From: rob@dekko.com [mailto:rob@dekko.com] D WorkDate S D Datfmt(*ISO) INZ(*JOB) D EightDigits S like(Digit8Date) D Digit8Date 8S 0 CONST C *MDY Move WorkDate EightDigits Shouldn't the contents of EightDigits be 011702 and not 20011702? [snip] ******************************************************************************************** " This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst & Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message ". ********************************************************************************************
As an Amazon Associate we earn from qualifying purchases.
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.