25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A TN3270 server must support these characteristics during initial client/server<br />

session negotiations. Binary transmission <strong>and</strong> end of record options can be sent<br />

in any order during the TN3270 negotiation. Note that TN3270 does not use any<br />

additional options during the TN3270 negotiation; it uses normal Telnet options.<br />

After a TN3270 connection is established, additional options can be used. These<br />

options are TELNET-REGIME, SUPPRESS-GO-AHEAD, ECHO, <strong>and</strong><br />

TIMING-MARK.<br />

Terminal type option is a string that specifies the terminal type for the host, such<br />

as <strong>IBM</strong> 3278-3. The -3 following 3278 indicates the use of an alternate screen<br />

size other than the st<strong>and</strong>ard size of 24x80. The binary transmission Telnet option<br />

states that the connection will be other than the initial NVT mode. If the client or<br />

server want to switch to NVT mode, they send a comm<strong>and</strong> that disables the<br />

binary option. A 3270 data stream consists of a comm<strong>and</strong> <strong>and</strong> related data.<br />

Because the length of the data associated with the comm<strong>and</strong> can vary, every<br />

comm<strong>and</strong> <strong>and</strong> its related data must be separated with the IAC EOR sequence.<br />

For this purpose, the EOR Telnet option is used during the negotiation.<br />

Other important issues for a TN3270 connection are the correct h<strong>and</strong>ling of the<br />

ATTN <strong>and</strong> SYSREQ functions. The 3270 ATTN key is used in SNA environments<br />

to interrupt the current process. The 3270 SYSREQ key is used in SNA<br />

environments to terminate the session without closing the connection. However,<br />

SYSREQ <strong>and</strong> ATTN comm<strong>and</strong>s cannot be sent directly to the TN3270 server<br />

over a Telnet connection. Most of the TN3270 server implementations convert<br />

the BREAK comm<strong>and</strong> to an ATTN request to the host through the SNA network.<br />

On the client side, a key or combination of keys are mapped to BREAK for this<br />

purpose. For the SYSREQ key, either a Telnet Interrupt Process comm<strong>and</strong> can<br />

be sent or a SYSREQ comm<strong>and</strong> can be sent imbedded into a TN3270 data<br />

stream. Similarly, on the client side, a key or combination of keys are mapped for<br />

SYSREQ.<br />

There are some functions that cannot be h<strong>and</strong>led by traditional TN3270. Some of<br />

these issues include:<br />

► TN3270 does not support 328x types of printers.<br />

► TN3270 cannot h<strong>and</strong>le SNA BIND information.<br />

► There is no support for the SNA positive/negative response process.<br />

► TN3270 cannot map Telnet sessions into SNA device names.<br />

13.1.8 TN3270 enhancements (TN3270E)<br />

The 3270 structured field allows non-3270 data to be carried in 3270 data.<br />

Therefore, it is possible to send graphics, <strong>IP</strong>DS printer data streams, <strong>and</strong> so<br />

on. The structured field consists of a structured field comm<strong>and</strong> <strong>and</strong> one or more<br />

Chapter 13. Remote execution <strong>and</strong> distributed computing 493

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!