Basic Telecommunications Access Method (BTAM) is a low-level programming interface specified by
IBM
International Business Machines Corporation (using the trademark IBM), nicknamed Big Blue, is an American Multinational corporation, multinational technology company headquartered in Armonk, New York, and present in over 175 countries. It is ...
for use on the
IBM System/360
The IBM System/360 (S/360) is a family of mainframe computer systems announced by IBM on April 7, 1964, and delivered between 1965 and 1978. System/360 was the first family of computers designed to cover both commercial and scientific applicati ...
for
start-stop and
binary synchronous telecommunications terminals. Later, IBM specified higher-level interfaces
QTAM and
TCAM.
BTAM was superseded by
VTAM Virtual Telecommunications Access Method (VTAM) is the IBM subsystem that implements Systems Network Architecture (SNA) for mainframe environments. VTAM provides an application programming interface (API) for communication applications, and contro ...
for
Systems Network Architecture
Systems Network Architecture (SNA) is IBM's proprietary computer network, networking architecture, created in 1974. It is a complete protocol stack for interconnecting computers and their resources. SNA describes formats and protocols but, in its ...
(SNA) devices. BTAM continued to be supported in later iterations of the system architecture, and IBM finally withdrew support in 2000.
BTAM requires the application program or
transaction processing system
A transaction processing system (TPS) is a computer software, software system, or software/computer hardware, hardware combination, that supports transaction processing.
History
The first transaction processing system was Sabre (computer system), ...
to handle almost every detail of the protocol. This is harder than using a higher-layer protocol, but it permits interfacing to non-standard devices in non-standard ways.
An access method for terminals
BTAM is an access method for interactively communicating with remote terminals, usually connected through a
front end processor
A front-end processor (FEP), or a communications processor, is a small-sized computer which interfaces to the host computer, a number of networks, such as SNA, or a number of peripheral devices, such as terminals, disk units, printers and ...
such as a
270x communications controller, although support for local channel-attached
3270 terminals is included. BTAM dynamically builds
Channel command word
In computing, channel I/O is a high-performance input/output (I/O) architecture that is implemented in various forms on a number of computer architectures, especially on mainframe computers. In the past, channels were generally implemented with cu ...
s (CCWs) for reading, writing and
"polling" terminals and deals with specific responses from those terminals, according to the success or failure of the communication channel.
Key role in transaction processing systems
BTAM was a key component in IBM's early
transaction processing
In computer science, transaction processing is information processing that is divided into individual, indivisible operations called ''transactions''. Each transaction must succeed or fail as a complete unit; it can never be only partially c ...
systems such as
MTCS,
CICS
IBM CICS (Customer Information Control System) is a family of mixed-language application servers that provide online business transaction management, transaction management and connectivity for applications on IBM mainframe systems under z/OS ...
and
IMS Ims is a Norwegian surname. Notable people with the surname include:
* Gry Tofte Ims (born 1986), Norwegian footballer
* Rolf Anker Ims (born 1958), Norwegian ecologist
See also
* IMS (disambiguation) Ims is a Norwegian surname
Heritable famil ...
and underpinned the rise of
online
In computer technology and telecommunications, online indicates a state of connectivity, and offline indicates a disconnected state. In modern terminology, this usually refers to an Internet connection, but (especially when expressed as "on lin ...
transaction processing for many large commercial banks and insurance companies. It was not unusual for BTAM and later developed access methods (such as VTAM) to co-exist, supporting different devices simultaneously under the same transaction processing system.
Programming
''Material in this section taken from IBM System/360 Operating System Basic Telecommunications Access Method; GC30-2004-6''.
BTAM programming requires detailed knowledge of the characteristics of the specific terminals to be used.
THE DCB macro is used to define a communications line group:
dcbname DCB DSORG=CX...
DEVD=BS
can be coded to specify a
Binary Synchronous (Bisync) line. Many other operands specify unique characteristics of the attached terminals.
A ''terminal list'', specified by the
DFTRMLST
macro, identifies the terminals attached to the line. This macro specifies the line characteristics—start-stop, bisync, point-to-point, multipoint, leased line or dial — and the type of ''polling'' required— wrap around or open. The polling characters or telephone number used to identify each specific remote device on the line are coded. The
CHGNTRY
macro can be used to modify information for a specific device in the list during execution. A wrap-around polling list will cause each device in the list to be polled sequentially by the channel until a response was received, This reduces the load on the CPU for continuous polling.
The programmer can specify a ''buffer pool'', a data structure used to hold messages transmitted to or from the terminals. BTAM can construct the pool automatically or the programmer can construct the pool in various ways. The BUILD macro will format the pool in static or dynamic storage previously acquired, or the
GETPOOL
macro will acquire and format storage automatically. For read operations BTAM will automatically obtain one or more buffers from the pool and store the received message. For a write operation the programmer needs to code
REQBUF
to obtain the number of buffers necessary to build the output message. In either case the
RELBUF
is used to free the buffers on completion of the read or write.
Tha
ASMTRTAB
and
TRNSLATE
include translation tables and translate to and from non
EBCDIC
Extended Binary Coded Decimal Interchange Code (EBCDIC; ) is an eight- bit character encoding used mainly on IBM mainframe and IBM midrange computer operating systems. It descended from the code used with punched cards and the corresponding si ...
character codes.
The standard OS/360
OPEN
and
CLOSE
macros are used to initiate and terminate processing of a BTAM line. The
LOPEN
macro can reinitialize a line that, for whatever reason, failed to open successfully.
BTAM provides a large number of options for the
READ
and
WRITE
macros, depending on the line and terminal types and the current status. These are such operations as "read initial with reset", "read conversational", "read repeat", "write initial", "write break", and "write continue transparent". These are specified by codes, such as
READ decbaddr,TI,...
for a "read initial." The read or write operation is executed asynchronously by the channel. Following a read or write, a
WAIT
or
TWAIT
macro is required to wait for completion and retrieve ending status.
The
RESETPL
macro cancels an outstanding read and/or stops polling on a line.
Supported devices
Amongst many other devices supported, BTAM handles:
*
IBM 1050 terminals
*
IBM 2740
The IBM 2741 is a printing computer terminal that was introduced in 1965. Compared to the teletypewriter machines that were commonly used as printing terminals at the time,
the 2741 offers 50% higher speed, much higher quality printing, quieter op ...
terminals
*
IBM 2741 terminals
*
Teletype
A teleprinter (teletypewriter, teletype or TTY) is an electromechanical device that can be used to send and receive typed messages through various communications channels, in both point-to-point and point-to-multipoint configurations.
Init ...
terminals
*
IBM 2260
The text-only Monochrome monitor, monochrome IBM 2260 cathode-ray tube (CRT) video display terminal (Display Station) plus computer keyboard, keyboard was a 1964 predecessor to the more-powerful IBM 3270 terminal line which eventually was extended ...
visual display unit
A computer monitor is an output device that displays information in pictorial or textual form. A discrete monitor comprises a visual display, support electronics, power supply, housing, electrical connectors, and external user controls.
Th ...
terminals
*
IBM 3270
The IBM 3270 is a family of Block-oriented terminal, block oriented display and printer computer terminals introduced by IBM in 1971
and normally used to communicate with IBM mainframes. The 3270 was the successor to the IBM 2260 display ter ...
visual display unit
A computer monitor is an output device that displays information in pictorial or textual form. A discrete monitor comprises a visual display, support electronics, power supply, housing, electrical connectors, and external user controls.
Th ...
terminals
*
IBM 2780 terminals used for
remote job entry
Remote job entry, or Remote Batch, is the procedure for sending requests for non-interactive data processing tasks ( jobs) to mainframe computers from remote workstations, and by extension the process of receiving the output from such jobs at a re ...
References
{{DEFAULTSORT:Basic Telecommunications Access Method
VTAM Virtual Telecommunications Access Method (VTAM) is the IBM subsystem that implements Systems Network Architecture (SNA) for mainframe environments. VTAM provides an application programming interface (API) for communication applications, and contro ...