× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: duplicate record Id's in multi user environment
  • From: jpcarr@xxxxxxxxxxxx
  • Date: Mon, 16 Oct 2000 11:22:54 -0400


Buck said;
>I have already been bit by this in the past.  If two machines are writing
>data to a single distributed database you can indeed have the exact same
>User, Job, Job number and timestamp.  Let me tell you - it's rare, but it
>hurts when it happens.



I have had the same thing with a trigger program writing to a data queue,
Same Timestamp.  10's of them.  In my trigger program,  I created a
"Unique" number by adding to the 6 position MS portion of the time stamp,
Like the following

C                   TIME                    RVMTMSP
C                   ADD       1             U
C                   ADDDUR    U:*MS         RVMTMSP

In this case "U" is just a 6 position numeric field.  I now have Unique
timestamps

John Carr



+---
| 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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.