Want to check each table in the database "db"
whether any table are having missing data or blanks data do not know how many tables are there as they are created while running application.
for that created a table CheckTb with field Tname and Counter
do not know how to run and check for all the tables. I believe either have to use macro
want to insert checking all tables and store final value in one table if the value exist
below is the code for same
proc sql;
create table db.CheckTb(tName char(20), counter char(20));
quit;
proc sql;
insert into test
select count(date) as TCnt from MtrlTransac where date is missing or date =.;
libname tmp "&lib";
quit;
whether any table are having missing data or blanks data do not know how many tables are there as they are created while running application.
for that created a table CheckTb with field Tname and Counter
do not know how to run and check for all the tables. I believe either have to use macro
want to insert checking all tables and store final value in one table if the value exist
below is the code for same
proc sql;
create table db.CheckTb(tName char(20), counter char(20));
quit;
proc sql;
insert into test
select count(date) as TCnt from MtrlTransac where date is missing or date =.;
libname tmp "&lib";
quit;