FREEALL is a TSO command that has been around for a long time, and there are many different versions out there. It was on my "want to install" list when I started digging around in the old 249 version of the CBT tape, so when I saw a couple of different versions there, I pulled them off to examine. The notes on each version said that they occasionally experienced unresolved ABENDs, Not what I wanted to have first-hand experience with, nor did I particularly want to search for the problem and resolve it. So, I looked at the current version of the CBT tape and found several versions there, as well.
I chose the one located in File #300, which is part of a collection of TSO commands contributed by Jim Marshall, formerly of the U.S. Air Force and now with U.S. Treasury Department. You will find some of his batch utilities in my CBT ware collection, also. He does wonderful work! I was delighted to find that his FREEALL assembles and functions perfectly under MVS 3.8j.
Jim has included the single assembler source and a concise help text file, along with the JCL to assemble and link-edit the source. I combined the source inline in the JCL and added a step to copy the help text into the TSO help library, making a single jobstream. The jobstream - freeall$.jcl - is contained in the archive freeall.tgz [MD5: A23E4B0429842E04E9C442510E0AB545]. 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 FREEALL 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.
FREEALL is simple to use. It has no operands. When issued it simply releases all datasets allocated to the TSO session which
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 January 17, 2015 .