INSTREAM TSO CLIST CommandINSTREAM is a TSO command that provides a means to pass embeded statements in a Command List to an invoked program. I retrieved it from File #300 of the #437 version of the CBT tape and is part of a
collection of TSO commands from Jim Marshall of the Air Force. It was
originally written by Bill Godfrey at the Planning Research Corporation in July
of 1976. InstallationThere are no changes required to assemble this command under MVS 3.8j as it exists on the CBT tape. The added value of using the installation jobstream here is that the JCL has been provided that will install the command with minimal effort and the jobstream also installs the HELP text module that will be accessible from TSO. The single jobstream to assemble and link-edit the load module and install the help text - instream.jcl - is contained in the archive instream.tgz [MD5: E1CF63E3CFC7CD361F979C8B12583BD7]. 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 INSTREAM 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 INSTREAMFrom the help text:
An example CLIST (statements in red show INSTREAM use):
Enclosing the lines processed by the INSTREAM command in a DATA-ENDDATA block prevents the leading spaces from being stripped by the command processor. The LISTVTOC statement contains a symbolic variable - &VOL - which will have the value contained in VOL substituted when the statement is interpreted. 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 23, 2008 . |