LISTSPC TSO CommandThe LISTSPC TSO command displays allocation information for specified datasets or free space for selected DASD volumes. Although the DD TSO command displays more useful information for datasets, I had this pulled from the CBT tape so I thought I would include it here. The source for LISTSPC is located in File #49 of the older version #129 CBT tape. It also requires a separate external module - LOCINDEX - which is located in File #50. The help text is located in File #51, combined with the help for another command.
InstallationThe older versions of the CBT tape, including #129 require a bit of pre-processing to get to the point of installing. So, I have completed several steps "behind the scene" which gave me the contents of the CBT tape image extracted into individual files on a 3350 volume. I then "punched" the contents of the three relevant files - 49, 50, and 51 - to get them over to PC manageable files. Then I built a single install jobstream to:
There were no changes required to either source for MVS 3.8j, although I did need to supply an EQUATE macro to define the Register EQUates. If you do not have SYS2.CMDLIB and SYS2.HELP defined on your system, you can edit the jobstream, replacing these names with SYS1.CMDLIB and SYS1.HELP before submitting it. The resulting jobstream - listspc$.jcl - is contained in the archive listspc.tgz [MD5: 9DBA0BACBFDAA439BB6403174BDC65B8]. Download the archive and extract the jobstream (WinZip on Windows/?? or tar on Linux). Submit the jobstream to assemble and link the single load module for LISTSPC into SYS2.CMDLIB and copy the help text into SYS2.HELP. If you don't have SYS2.CMDLIB defined, you will need to modify the jobstream to specify a different target load library. Also if you do not have SYS2.HELP defined, you may modify the jobstream to place the help information into SYS1.HELP.
Utilizing LISTSPCHere is the help text for the LISTSPC command:
I hope that you have found my instructions useful. If you have questions that I can answer to help expand upon my explanations and examples shown here, please don't hesitate to send them to me:
This page was last updated on April 22, 2008 . |