> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Paul Gilmartin
> Sent: Wednesday, June 13, 2007 2:03 PM
> To: [email protected]
> Subject: Re: Multiple TSO logons (was: Patents, ...)
> 

<snip>

> Somehow this all works for batch EXEC PGM=IKJEFT01, which I am told
> is the same TMP.  Seems like a solved problem.  I suspect it only
> works because there's no VTAM in the way.
> 
> -- gil

You can execute "line mode" TSO commands from a UNIX shell using a very
simple REXX program, which I call "tso_cmd":

/* REXX */
parse arg incmd
address tso incmd


Anything you can do in "batch TSO" can be run this way. But you need to
watch out that the UNIX shell doesn't do anything funny with your
command. You can usually avoid this by enclose the command in "double
ticks"

tso_cmd "listc lvl('sys1')"

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to