Share on Facebook Share on Twitter Email
Answers.com

Time Sharing Option

 
Wikipedia: Time Sharing Option

In computing, the Time Sharing Option (TSO) is an interactive time-sharing environment for the lineage of IBM mainframe operating systems running from OS/MVT through MVS and OS/390 to the current z/OS. It fills the same purpose as the login sessions used by users on Unix. "Time-sharing" means that many persons can access MVS concurrently but each is unaware that the operating system is being accessed by others - so it appears to each TSO user that he or she is the only user on the system.

TSO is most commonly used by mainframe system administrators and programmers because it provides: a text editor; the ability to submit batch jobs, be notified of their completion and view the results without waiting for printed reports; debuggers for some of the programming languages used on System/360 and later IBM mainframes; other vendors' end-user applications, for example for querying IMS and DB2 databases.

The name "Time Sharing Option" derives from the fact that, when it was originally introduced in the 1960s, time-sharing was considered an "optional feature", as compared to standard batch processing, and hence TSO was offered as an optional feature of OS/MVT. It became a standard part of IBM's top-end mainframe operating system with the introduction of MVS in 1974. TSO/E (which stands for "Time Sharing Option / Extensions") is a set of extensions to the original TSO. TSO/E is a base element of z/OS. Before z/OS, TSO Extensions (TSO/E) was an element of OS/390 and was a licensed program for the MVS and MVS/ESA System Products[1]. Since all z/OS installations usually have both TSO and TSO/E functions installed, it is normal to refer to both TSO and TSO/E as "TSO".

TSO interacts with users in either a line-by-line mode or in a full screen, menu-driven mode. In the line-by-line mode, the user enters commands by typing them in at the keyboard; in turn, the system interprets the commands, and then displays responses on the terminal screen. But most mainframe interaction is actually via ISPF which allows for customized menu-driven interaction; the combination is referred to as TSO/ISPF. TSO can also be used to provide a Unix-style environment on OS/390 and z/OS via the UNIX System Services command shell, with or without ISPF.

TSO commands can be embedded in REXX execs or CLISTs which can be run either interactively or in batch.

Contents

TSO in batch

It is common to run TSO in batch (as opposed to interactively): all the usual TSO line-mode interactive commands can be also executed via Job Control Language (JCL) by running any of the programs IKJEFT01, IKJEFT1A, or IKJEFT1B and supplying the line commands in a file pointed to by the SYSTSIN DD. The primary difference between the three programs is their handling of return codes from the executed commands.

Batch execution of TSO is one way to allow an IBM mainframe application to access DB2 resources.

See also

Further reading

The books: MVS TSO, Part 1: Concepts and ISPF, Second Edition and, MVS TSO, Part 2: Commands And Procedures, Second Edition both by Doug Lowe, and published by Mike Murach & Associates, Inc., 1991

Notes


Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
 
 

 

Copyrights:

Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Time Sharing Option" Read more