|
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
This mailing list archive is Copyright 1997-2026 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.