> -----Original Message----- > From: IBM Mainframe Assembler List > [mailto:[email protected]] On Behalf Of Kip > Sent: Thursday, March 10, 2011 12:51 PM > To: [email protected] > Subject: Executing TSO commands from within a Started Task > > I need to execute TSO commands from within a program that > runs as part of > a Started Task. > > I expect to be able to Attach the TMP and pass it my command, > but I cannot > find a reference in the doc set to support this notion. Does > anyone have > experience doing this, and/or can point me to some relevant > documentation? > > thanks, > Kip
The TSO TMP generally runs APF authorized. Is your program/STC authorized? If not, you might have a problem. If you are not going to run APF authorized TSO commands, you can set up a TSO environment in your own task and execute TSO commands "directly" (not using the TMP). If you're interested, read here: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IKJ4B780/3.0 If you need to run TSO APF authorized comands, I can envision a way to use UNIX and REXX with your HLASM program. But it would likely be complicated and I don't know if you'd want to bother. -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * [email protected] * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM
