How to get the number of members in a PDS without opening it?
I was asked this question in an interview, How to count the number of members in a PDS,
I did not have a clue, but I said, it can be viewed by using information, i.e. by issuing line command "I" against the dataset name.
I was not sure if the answer was correct. But later I realized that it works.
See below the info screen, showing number of memebrs