DD TSO CommandDD is a TSO command that displays the attributes of datasets. It does not require the dataset for which information is to be displayed be catalogued, and it provides more information for Non-VSAM datasets (and Generation Data Groups) than LISTCAT does. It is located in File #163 of the CBT tape and is part of a
collection of batch programs and TSO commands contributed by Dave Phillips of
Ouiedo, FL. InstallationI have extracted the installation jobstream which is a single job to assemble and link-edit DD to a TSO command library and place the TSO Help information into a TSO Help library. My initial changes were those noted as required by the author - specified missing JOB card parameters, changed SOUT PROC parameter from '$' to '*', substituted SYS1.SMPMTS for SYS1.MODGEN library, changed assembler from IEV90 to IEUASM, and changed the target load library to SYS2.CMDLIB, and the target Help library to SYS2.HELP. In order to resolve assembly (really JCL errors) I reordered the MACLIB concatenation order and increased the space allocations for the assembler work datasets. Attempting assembly revealed that a system provided UCBSCAN routine came about later than MVS 3.8j. Fortunately, it appears that a manually coded UCBSCAN routine was left in the program and was simply expunged with conditional assembly directives. I added a couple of my own directives to instead expunge the call to the "built in" routine that we don't have. To see those changes, pull up the jobstream in a text editor and search for the string 'jlm'. The assembly requires the presence of the IHADVCT (device characteristics table) which is available in the MVS 3.8j source distribution. Fortunately I had that readily available from the 3380/3390 modifications, so I added a step to create a temporary macro library containing this macro. It is deleted after the job completes. The resulting jobstream - dd$.jcl - is contained in the archive dd.tgz [MD5: 717E4E3319CA5862D84BF084E6B0E57A]. 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 CATLG 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 DDDD is very easy to use and thoroughly documented in the online help text:
The alias command - DDX - that was documented to clear the screen prior to displaying the output of DD did not function correctly. It positioned the cursor to the first character of the first line of the screen prior to beginning output, but it did not clear the screen. I added a TPUT instruction and a constant to clear the screen if DDX is utilized, so that it functions as documented. According to the comments in the source, the record count computation is not correct. I have not made any attempt, yet, to even verify that a problem exists. 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 November 12, 2010 . |