I have n no of PDS.I want to write a REXX code to find out those datasets which have crossed more than 95% used .could any one help me in giving out this code.The ouput should be when I give TSO PDS i should get
the 3.4 option gives %used but my requirement is to find the datsets which have %used greater than 95%.How to code in rexx.The listdsi command gives information only when it is allocated in tracks.But when comes to cylinder I am not able to get the required calculation.
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
If you are in 3.4 and have produced a dataset list, you can create a file of that list by typing "SAVE my.filelist" in the command line. A file named my.filelist with the high-level node of either your id or your prefix (depending on how your site is set up) will be created. You can use this file as input to other processes to get what you want.
The "my.filelist" may be any valid dsn but make sure it is a new name rather than an existing one.