|
Nope, that's not the issue. The program writes 232 records properly (timestamp = "2001-10-23-10.16.42.927000"), then during a CHECKR, the timestamp gets trashed. Date formats are *ISO; this is a batch production program and nobody uses it except me. -----Original Message----- From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]On Behalf Of Booth Martin Sent: Tuesday, October 23, 2001 11:54 AM To: rpg400-l@midrange.com Subject: Re: Corrupted timestamps? Garbage? It looks like *MDY to me? What is the QSYSVAL for the date format? --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@MartinVT.com --------------------------------------------------------- -------Original Message------- From: rpg400-l@midrange.com Date: Tuesday, October 23, 2001 11:43:09 AM To: Rpg400-L@Midrange. Com Subject: Corrupted timestamps? This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] I'm using a timestamp (type "Z") field with INZ(*SYS) to stamp added records. Somewhere in the program (my debug Watch says it happens when I CHECKR on a completely different field) the timestamp becomes garbage and ends up looking like this: '01-10- 23-10.16.42.927000' instead of '2001-10-23-10.16.42.927000' This is a production program. Has anybody else experienced this problem? Thanks, rf -- _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
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.