|
You can write an SQLRPGLE program to check objects dates. If the source last change date is greater than the object create date, then attempt to verify the source member record dates. Here is where you process the source member with an SQL statement to find the MAX(SRCDAT). Of course this isn't fool proof but it may give you an idea if the source member was accidentally modified or moved to another source file. There are other faults here,.. here are a couple: a. The source date can be manipulated in SEU and the date may be invalid. b. Some editors may use MDY format vs. YMD. HTH, Regards, -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Jon A. Erickson Viking Industries, Inc. http://www.vikingindustries.com -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > -----Original Message----- > From: owner-midrange-l@midrange.com > [mailto:owner-midrange-l@midrange.com]On Behalf Of Mani > Sent: Wednesday, May 20, 1998 12:46 AM > To: MIDRANGE-L@midrange.com > Subject: Re: Synchronization of Objects and corresponding Source. -Reply > Importance: High > > > Hello, > > I understand that DSPOBJD retrieves the Source File/Member from which the > object was created. But, my concern is that the source could have been > modified after that object was created. Now, how do I ensure that the > current version of the source was the one used for creating that object? > > One way, as I see it, is to compare the 'Create Date' of the > object and the > 'Last Change Date' of the source member to ensure that the source member > was not modified after the object was created. Is there any other reliable > way of doing it? > > Thanks, > ...Mani > > > > > ><snip> > > > >The DSPOBJD command using the *FULL option will show you the > >source file used to create a given object. You can send the output > >of this command to an outfile for querying & reporting. > > > >Scott Cornell > >Mercy Information Systems > >+--- > > > > > _/ _/ _/ _/ _/ _/ > _/ _/ _/ _/ _/ _/ _/_/ _/ > _/ _/ _/ _/ _/ _/ _/ _/ ...Time is what you make of it!! > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To unsubscribe from this list send email to > MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- > begin 666 Jon Erickson.vcf M0D5'24XZ5D-!4D0-"E9%4E-)3TXZ,BXQ#0I..D5R:6-K<V]N.TIO;CL[.PT* M1DXZ2F]N($5R:6-K<V]N#0I/4D<Z5FEK:6YG($EN9'5S=')I97,[26YF;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38P,3(P- T*14U!24P[4%)%1CM)3E1%4DY%5#IJ;VYE<FEC:W-O;D!V M:6MI;F=I;F1U<W1R:65S+F-O;0T*14U!24P[24Y415).150Z97=A<F5 <&-E H>BYC;VT-"E)%5CHQ.3DX,#0P-U0Q-#,X,3E:#0I%3D0Z5D-!4D0-"@`` ` end +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To unsubscribe from this list send email to MIDRANGE-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.