You are absolutely guaranteed that a UB will immediately proceed a UP.

Al

Al Barsa, Jr.
Barsa Consulting Group, LLC

400>390

914-251-1234
914-251-9406 fax

http://www.barsaconsulting.com
http://www.taatool.com



                                                                           
             G Armour                                                      
             <garmour400m@yaho                                             
             o.com>                                                     To 
             Sent by:                  Midrange Systems Technical          
             midrange-l-bounce         Discussion                          
             s@xxxxxxxxxxxx            <midrange-l@xxxxxxxxxxxx>           
                                                                        cc 
                                                                           
             09/04/2003 02:32                                      Subject 
             PM                        Are journal's UB & UP entries       
                                       guaranteed to be in 1-2 sequence?   
                                                                           
             Please respond to                                             
             Midrange Systems                                              
                 Technical                                                 
                Discussion                                                 
             <midrange-l@midra                                             
                 nge.com>                                                  
                                                                           
                                                                           




Are an update record's UB (Update Before) & UP (Update After) entries
guaranteed (no quibble, rock-solid, cross-my-heart) to be in 1-2 sequence,
with NO possibility of another entry being written between them?  I could
not find any reference to this in the manuals, and so I must now presume
the possibility exists and must store the UB entries in an array, waiting
for the UP entry to arrive and match to the UB entry by JOCTRR (the RRN)?
Since the program is RETURNed without setting LR on after each entry is
processed, the UB entries will still remain in the array on subsequent
calls to the program, correct?

I am writing an exit program to a RCVJRNE command.  I need to compare
before & after images on an update to a record to determine if I need to
take a specific action.  The files being journaled are getting both the
before & after images journaled.

Also, as I now see that the exit program is RETURNed without LR on after
*each* journal entry, doesn't that have the potential to be a resource
drain?

TIA, GA

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.