Hi there,
I have tens of tables, each of them contains some common columns: version, created_time, created_user etc, and all these columns should have the same default value respectively. So my DB looks like:
Table1: column11 column12 version created_time ...
row1 ... 0 2006/01/01
row2 ... 0 2006/01/01
Table2: column21 column22 version created_time ...
row1 ... 0 2006/01/01
row2 ... 0 2006/01/01
...
I want to have a little script to check these common columns in every table, and the script should be able to
1) passing the tablename
2) report if there are any exception
I want to read table name from sysibm.systables, and would like my output looks as follows:
table1: version pass; created_time pass;...
table2: version failed; created_time pass; ...
I wonder if anyone

is kind enough to give me a brief example how to do this in QMF for z/os, or JCL or any other tools available in Mainframe.
Thank you.