5 pts.
 QA testing mainframe code
I have 3500 members in my loadlib and a set of scripts to test this code. However i do not know what sort of code coverage i am achieving with these scripts. Is there a way to monitor which members from the loadlib are being executed by my test scripts? Note my JCL always executes the same program and the keywords found in the SYSIN define which part of the codes functionality is invoked so its not possible to use SMF.

Software/Hardware used:
ASKED: July 7, 2009  12:33 PM
UPDATED: October 2, 2009  3:39 PM

Answer Wiki:
What you're trying to do is to track every z/OS LOAD of a member from your loadlib. Unfortunately, there's no easy way of doing this. - You could setup a RACF program access rule, but you'd need a rule for 3500 programs - not a viable option. - You could write a 'front-end' to the LOAD macro, but that is very difficult, and requires HLASM and z/OS internal knowledge. - CA-PDSMAN used to have usage statistics for PDSs - but few people now have PDSMAN, and this won't help if your LOADLIB is a PDSE. - SMF doesn't provide statistics for individual members of a PDS. The only other thing I could think of is to provide a program that your test scripts would call just before calling a program. This program could output to a dataset, or produce an SMF record. Unfortunately, I don't think any of this will help you much. Sorry I couldn't help out more ---------------- Perhaps you could extract the sysin 'key words', then compare that data to your load library members. (either manually, or create one or two short programs to do this). Just a quick thought.
Last Wiki Answer Submitted:  October 2, 2009  3:39 pm  by  Dzs   235 pts.
All Answer Wiki Contributors:  Dzs   235 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _