The table definition LOGMODE entry controls the session types and operation parameters and is vital to the HCON session during the invocation time. These entries are used in the Host Definition examples. LOGMODE entries differ between SNA connections and non-SNA connections.
The following LOGMODE entries are supported by HCON using SNA connections.
Note: The first bit of the second byte of the PSERVIC parameter field must be on to indicate support of the 3270 data stream write structured field. This is mandatory for HCON's data stream communication.
***************************************************** * Mode table for SNA display session (LU type 2) * * Model 2,3,4,5 * ***************************************************** MOD23270 MODEENT LOGMODE=MOD23270,FMPROF=X'03', C TSPROF=X'03',PRIPROT=X'B1', C SECPROT=X'90',COMPROT=X'3080', C RUSIZES=X'8587', C PSERVIC=X'028000000000185018507F00' MOD33270 MODEENT LOGMODE=MOD33270,FMPROF=X'03', C TSPROF=X'03',PRIPROT=X'B1', C SECPROT=X'90',COMPROT=X'3080', C RUSIZES=X'8587', C PSERVIC=X'028000000000185020507F00' MOD43270 MODEENT LOGMODE=MOD43270,FMPROF=X'03', C TSPROF=X'03',PRIPROT=X'B1', C SECPROT=X'90',COMPROT=X'3080', C RUSIZES=X'8587', C PSERVIC=X'02800000000018502B507F00' MOD53270 MODEENT LOGMODE=MOD53270,FMPROF=X'03', C TSPROF=X'03',PRIPROT=X'B1', C SECPROT=X'90',COMPROT=X'3080', C RUSIZES=X'8587', C PSERVIC=X'02800000000018501B847F00' ***************************************************** * Mode table for SNA printer session (LU type 1) * ***************************************************** LU13270 MODEENT LOGMODE=LU13270,FMPROF=X'03', C TSPROF=X'03',PRIPROT=X'B1', C SECPROT=X'90',COMPROT=X'3080', C RUSIZES=X'8587',PSNDPAC=X'01', C SRCVPAC=X'01', C PSERVIC=X'018000000000000000000000' ***************************************************** * Mode table for SNA printer session (LU type 1) * * FMH-1 used in a DBCS environment * ***************************************************** LU1F3270 MODEENT LOGMODE=LU1F3270,FMPROF=X'03', C TSPROF=X'03',PRIPROT=X'B1' C SECPROT=X'90',COMPROT=X'7080' C RUSIZES=X'8587',PSNDPAC=X'01', C SRCVPAC=X'01', C PSERVIC=X'018000000000000000000000' ***************************************************** ***************************************************** * Mode table for SNA printer session (LU type 3) * ***************************************************** LU33270 MODEENT LOGMODE=LU33270,FMPROF=X'03', C TSPROF=X'03',PRIPROT=X'B1', C SECPROT=X'90',COMPROT=X'3080', C RUSIZES=X'8587',PSNDPAC=X'01', C SRCVPAC=X'01', C PSERVIC=X'038000000000185018507F00' . . .
The following LOGMODE entries are supported for non-SNA sessions.
Note: The PSERVIC field's second byte must be set to either X'80' or X'C0' .
******************************************************* * Mode table for non-SNA display session, Model 2-5 * ******************************************************* DS23279 MODEENT LOGMODE=DS23279,FMPROF=X'02', C TSPROF=X'02',PRIPROT=X'71', C SECPROT=X'40',COMPROT=X'2000', C PSERVIC=X'00C000000000185018507F00' * DS33279 MODEENT LOGMODE=DS33279,FMPROF=X'02', C TSPROF=X'02',PRIPROT=X'71', C SECPROT=X'40',COMPROT=X'2000', C PSERVIC=X'00C000000000185020507F00' * DS43279 MODEENT LOGMODE=DS43279,FMPROF=X'02', C TSPROF=X'02',PRIPROT=X'71', C SECPROT=X'40',COMPROT=X'2000', C PSERVIC=X'00C00000000018502B507F00' * DS53279 MODEENT LOGMODE=DS53279,FMPROF=X'02', C TSPROF=X'02',PRIPROT=X'71', C SECPROT=X'40',COMPROT=X'2000', C PSERVIC=X'00C00000000018501B847F00' * ******************************************************* * Mode table for non-SNA printer session * ******************************************************* NSNAPRT MODEENT LOGMODE=NSNAPRT,FMPROF=X'02' C TSPROF=X'02',PRIPROT=X'71', C SECPROT=X'40',COMPROT=X'2000', C PSERVIC=X'008000000000185018507F00' . . .