× 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.



Please verify, I think the "row change timestamp" will be set by the db2 to the correct value regardless of what the RPG sends.

rob@xxxxxxxxx wrote:

Gad,

Vern's right, you'll have to use DDL instead of DDS.

Now, on part b; yes you can update it with RPG and it will autofill the row change time stamp providing you do one of a few things:
1 - Use sql to update/add a row and do not specify the column containing the row change timestamp.
2 - Use an index that does not include the row change timestamp. Or if you're just stubborn enough to create a DDS LF over a table defined with DDL you can but just don't include that row change timestamp into that LF.
3 - Internally define the file and only output certain columns omitting the row change timestamp.

Otherwise, once you update/add the row with RLA then the row change timestamp will be in the I/O buffer and will get overridden.

This was the topic of a very recent thread.
http://archive.midrange.com/midrange-l/201305/msg00934.html
You'll have to thread down through it to get the right thread.




Rob Berendt



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.