Page 1 of 1

Create a list of dataset with a HLQ and space used.

Posted: Tue Oct 27, 2015 5:04 pm
by AmigoJack
For an exercise, we need to get a list of all the datsets, with a high level qualifier ABCDE.*, and the amount of space it is using. For example, the final output can be like:

Code: Select all

ABCDE.dataset1 113 tracks 
ABCDE.dataset2 134 tracks 
. 
. 
. 
Any help or pointers in this regard is appreciated.

Thanks.

Re: Create a list of dataset with a HLQ and space used.

Posted: Tue Oct 27, 2015 5:07 pm
by enrico-sorichetti
(1)mainframe contest or (2)homework ?

for case (2) the trainer should have given some hints on how to proceed

Re: Create a list of dataset with a HLQ and space used.

Posted: Tue Oct 27, 2015 8:18 pm
by nicc
Using a utility? Writing a program? Using simple ISPF (option 3.4 with inital view set to SPACE would do this and if you need to a dataset then saving the list or cut'n'paste to a file on the PC)?