My requrirement is all about find DML operations separately like (select,Insert,update and Delete) of table in members of PDS .The PDS dataset have nearly 19150 module out of that only 6850 module use DB2 statement and remaining belongs to either Report or Ims Module.
A = OUTTRAP('VAR.')
"LISTDS '"DSN"' MEMBERS"
B = OUTTRAP('OFF')
I have developed which scan all the members in PDS and store it in stem variable then based on User input for members qualifier it will search from list of modules one by one in stem varible to find whether given DML operation perform for table found.
But it would nearly take 18 mins to get result from list of members 19150. Only 6850 modules are DB2 members.is there way to fliter out remaining members while store in stem variable itself?
Please give all suggestions to get this ??