SysAPI COM Object Manual

Index / Properties / Methods / Events / Const / AID Key / Error Code

Const

LuType: appointed LU type for making connection. After connection is established, this value is read-only.

const
value
description
TERMINAL 0 (Lu-2)
PRINTER 1 (Lu-1,3)
LUA 2 (Lu-0,6.2)

SOSIMode: 0E/0F process in SendData/ReceiveData for Big5 codes

const
value
description
HAVESOSI 0 (keep all 0E/0F)
NOSOSI 1 (delete all 0E/0F)
REPLACESOSI 2 (replace all 0E/0F)

DataMode: Data mode in SendData/ReceiveData

const
value
description
DONTCARE 0 (No convertion)
STANDARD 1 (PC-Code : BIG5 or GB2312), Default
IBMCODE 2 (IBM 5550 code)
NEWCODE 3 (BIG5, New-UserFont)
FX_BINARY 10 (File Transfer Binary)
FX_TEXT 11 (File Transfer PC-Code)
COMMAND 100 (command)
KEEPSOSI 51 (PC-Code : BIG5 or GB2312),Keep SI/SO to Space
DAANSP1 201 (PC-Code : BIG5 or GB2312), send Last_code not trans and receive skip 3 bytes

LuStatus: Session status. Read-only.

const
value
description
LUDISCONNECT 0 Disconnect
UNKNOW 1 Unknown
SSCP 10 VTAM(SSCP) Mode
SSCP_WAITING 11 VTAM + "Waiting..."| "System Lock"
SSCP_INHIBIT 13 VTAM + "Input Inhibit"
PLU 20 BIND(PLU) Mode
PLU_WAITING 21 BIND + "Waiting... | "System Lock"
PLU_INHIBIT 23 BIND + "Input Inhibit"
SPLU 30 SSCP or BIND(PLU) Mode

LineStatus: LU status of a session. Read-only.

const
value
description
LSREADY 0 Line ready
LS501 501 Modem not ready
LS504 504 Line disconnect by HOST
LS505 505 Line disconnect (wait SNRM)
LS510 510 HOST polling this PU(receive SNRM)
LS532 532 Line disconnect (Wait SNRM over 25 seconds)
LS590 590 Line Linked Error

FlowStatus: The flow status of a session. The value is read-only.

const
value
description
FSDRSP 0x00000001 Definite Response
FSERSP 0x00000002 Exception Response
FSEDBK 0x00000010 End Bracket
FSEDCH 0x00000100 End Chain
FSSDT 0x00001000 SDT

FileTransfer:

const
value
description
APVU 0 APVU FileTransfer
IND 1 IND_$ FileTransfer

const
value
description
UPLOAD 0 File upload
DOWNLOAD 1 File download

ConvertCode: code convertion

const
value
description
ASCtoEBC 1 (ASCII to EBCDIC)
EBCtoASC 2 (EBCDIC to ASCII)
PCtoHOST 3 (PC-Code to NHC)
HOSTtoPC 4 (NHC to PC-Code)
I5550toPC 5 (5550 to PC-Code)
PCtoI5550 6 (PC-Code to 5550)

Please contact us if above technical support can't solve your problem or question.

版權所有 © SystexComm, 2007