i have a pds in which there are 100 members. say there are 50 members named as 'abcd****'. Now I want to know the no of lines in all the 50 members having name starting with abcd.
For example if each member with name abcd**** contain 100 lines the output should come 5000.
Also I am supposed to count the number of members in pds as well which starts with abcd. that means it should output as 50.
Can you please help me out, how it can be performed in jcl.