First of all, Auditing requires a license. It may be it's already included in your license, but a license is required for the tool nonetheless.
That being said, and IMHO, you are approaching this all wrong. Not all data replication are created equal. You first need to evaluate what you want to...
I've no idea if it's the most efficient, in fact it almost certainly isn't, but it definitely plays to my geeky side...
https://abldojo.services.progress.com/?shareId=619bbe4ac552423dc846eb6a
Can't beat a bit of recursion on a Monday morning.
Definitely heading the right way. As Patrice said, the chances of there being an update elsewhere are very slim but if you have to account for it then you're ok.
One note though - FIND FIRST should almost never be used. If there really are multiple records that satisfy the FIND then you want...
DEFINE VARIABLE cChanges AS CHARACTER NO-UNDO.
DEFINE TEMP-TABLE ttRechnung LIKE Rechnung.
FIND FIRST Rechnung NO-LOCK.
CREATE ttRechnung.
BUFFER-COPY Rechnung EXCEPT Rechnung.RG-DAT TO ttRechnung.
BUFFER-COMPARE Rechnung TO ttRechnung SAVE RESULT IN cChanges.
MESSAGE cChanges
VIEW-AS...
Just to make sure I understand - you want to ensure at the point of locking the record in the new buffer that it hasn't been changed by another process?
If so, then you can use the BUFFER-COMPARE keyword to compare the find-customer to the upd-customer and at that point make a decision as to...
It's superbly good for little snippets of code. I'm with Stefan - if it has meaning it goes into SCM. I use it in 12.2.6 without any issues like you mention. It's still dysfunctional as Stefan says but I never lose code.
I don't remember it being a problem in 11.6 either but that was a very...
It would help if you would give us the errors you receive rather than just saying it doesn't work.
In this case I guess it doesn't work because you need to define the output location:
output to value (vCSVFileName) [append].
And you'll need to close the output as well once done.
I've worked under numerous folks over the years, all with different approaches, but the one that caused the most food for thought was the policy that all schema change requests had to also come with sample data in a .d file. This had a number of purposes.
1) The developer has actually tested...
It does indeed work. Although I agree with @Stefan that the complication is bad..
FUNCTION MyFunc RETURNS INTEGER ():
MESSAGE 111
VIEW-AS ALERT-BOX.
RETURN 10.
END FUNCTION.
DEFINE VARIABLE i AS INTEGER NO-UNDO.
DO i = myfunc () TO 1 BY -1:
END.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.