|
Which goes to re-enforce that using a time stamp for unique key is not valid. Especially with parallel processing of a multiple processor system. Christopher K. Bipes mailto:ChrisB@Cross-Check.com Sr. Programmer/Analyst mailto:Chris_Bipes@Yahoo.com CrossCheck, Inc. http://www.cross-check.com 6119 State Farm Drive Phone: 707 586-0551 x 1102 Rohnert Park CA 94928 Fax: 707 586-1884 If consistency is the hobgoblin of little minds, only geniuses work here. Karen Herbelin - Readers Digest 3/2000 -----Original Message----- From: D.BALE@handleman.com [mailto:D.BALE@handleman.com] Sent: Wednesday, November 22, 2000 11:25 AM To: RPG400-L@midrange.com Subject: RE: Timestamps > Can an 24 way 850, with a zillion disk arms, write > more than one > record a nano second? Perhaps the next generation will. Jeez, our V3R2 model D60 does that! Well, OK, what it does as it concerns the original question, is that the same timestamp can, in fact, be written out for more than one record. My test: PF $$$AP: A R @@@AP A FIELD1 10A A TIMEST Z LF $$$AL: A R @@@AP PFILE($$$AP) A FIELD1 RPG $$$AR3: F$$$AL O E DISK C DO 1000 X 50 C MOVELX FIELD1 C WRITE@@@AP C ENDDO C SETON LR Results: Record# Field1 Timest 1 00001 2000-11-22-14.11.39.052032 2 00002 2000-11-22-14.11.39.058176 3 00003 2000-11-22-14.11.39.059200 4 00004 2000-11-22-14.11.39.060224 5 00005 2000-11-22-14.11.39.061248 6 00006 2000-11-22-14.11.39.062272 7 00007 2000-11-22-14.11.39.062272 8 00008 2000-11-22-14.11.39.063296 9 00009 2000-11-22-14.11.39.064320 10 00010 2000-11-22-14.11.39.065344 11 00011 2000-11-22-14.11.39.065344 12 00012 2000-11-22-14.11.39.066368 13 00013 2000-11-22-14.11.39.067392 14 00014 2000-11-22-14.11.39.068416 15 00015 2000-11-22-14.11.39.068416 Dan Bale IT - AS/400 Handleman Company 248-362-4400 Ext. 4952 +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-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-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.