All I want is to some how get the VTOC information so that I can develope a REXX logic to send email if %used falls below a given %.
I believe there is a typo c " %used" " %free"
also there are better tools/alternatives to achieve what You are looking for ...
the best approch would be to use IDCAMS DCOLLECT and process the V
very simple, You would just need to read a sequential dataset with no concern for strange variables
anyway if the SMS and HSM environment have been properly setup there issue should not arise,
the volume information could be simply be used for statitical and trend evaluation purposes, without the need of sending any email...
the lack of free space on <critical> volumes must be acted upon very quickly, emails are not likely to provide fast respones times
and the issue should be solved by the storage management support group