QA testing mainframe code

5 pts.
Tags:
JCL
QA testing
Quality assurance
Quality assurance testing
SMF
SYSIN
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.
ASKED: July 7, 2009  12:33 PM
UPDATED: October 2, 2009  3:39 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

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.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following