In some cases, the client or the application does not support full-screen presentation, or the user needs to work in a linemode environment. For these reasons, most emulators support linemode. Linemode supports a go-ahead function to simulate a half-duplex format. With go-ahead negotiated, the partner cannot send data until it receives a go-ahead from the current sender of data. In most cases, sessions are naturally half-duplex and the go-ahead adds unneeded transmissions. Therefore, the Telnet default is to Suppress Go Ahead (SGA). If go-ahead is needed to maintain a half-duplex format, use the NOSGA parameter. SGA or NOSGA can be coded at all three parameter block levels for different levels of granularity.
Telnet supports the following types of Linemode connections:
CODEPAGE ISO8859-1 IBM1047
The possible
results from CODEPAGE processing are: EBCDIC ASCII
x'0D25' -----> x'0D0085' using ISO8859-1/IBM-1047
x'0D25' -----> x'0D0A' using internal tables
x'15' <---- x'0A' using ISO8859-1/IBM-1047
x'25' <---- x'0A' using internal tables
No message is issued to the console if the first conversion succeeds. If there is any conversion failure a message is issued. If one of the later conversions succeeds, a message is issued indicating success.
CodePage TNSTD TNSTD
The internal code pages must be used together. If only one of the two internal tables is specified, then the other internal table will also be used.
CODEPAGE can be coded at all three parameter block levels for different levels of granularity.
Binary Linemode is set using the BINARYLINEMODE parameter. It indicates that Telnet should not do translation. The ASCII data from the client should be passed as-is to the VTAM® application. BINARYLINEMODE or NOBINARYLINEMODE can be coded at all three parameter block levels for different levels of granularity.
DBCSTRANSFORM can be used for either the VT100 single-byte character set (SBCS) or VT282 double-byte character set (DBCS) transform mode. When DBCSTRANSFORM is specified and the TCP/IP procedure JCL has been modified as shown below, ASCII-based terminal emulators (VT100 or VT282) will appear as full-screen 3270 terminals. Telnet receives ASCII data from the client and transforms it into SBCS or DBCS EBCDIC data, depending on the terminal type. Telnet adds appropriate SNA control bytes to give the appearance that the data is coming from a 3270 terminal. Telnet receives EBCDIC data from the host application and transforms the SNA control bytes and data into appropriate ASCII control bytes and data. The data is sent to the ASCII-based terminal where it is displayed in 3270 full-screen emulation. DBCSTRANSFORM requires additional special Data Definition (DD) statements in the TCP/IP procedure.
You must add the following three DD statements to the TCP/IP procedure JCL to support Transform:
//TNDBCSCN DD DSN=TCPIP.SEZAINST(TNDBCSCN),DISP=SHR
//TNDBCSXL DD DSN=TCPIP.SEZAXLD2,DISP=SHR
//TNDBCSER DD SYSOUT=*
IEC130I PASCAL01 DD STATEMENT MISSING
Specifying the DBCSTRACE parameter sends detailed trace output from 3270 Transform to the location specified in the SYSPRINT output DD statement. Additional detailed trace output is also sent to TNDBCSER. Both data sets will contain detailed trace data. DBCSTRACE or NODBCSTRACE can be coded in TELNETPARMS or PARMSGROUP for different levels of granularity. They cannot be coded in TELNETGLOBALS.