⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clirs.vbs

📁 IBM 开发的easy cics通讯相关的源代码
💻 VBS
字号:

	set oEc = Wscript.CreateObject("EasyCics.App")

	r = oEc.ConnectServer("CICSNT01", "TEST", "TEST")
if r<>0 then
	MsgBox "can't connect"
	Wscript.Quit r
end if

	'If you want to send large client resultset (>32K) to server, you must set this property before you prepare the data 
	oEc.SetProperty "PrgName", "CLIRS"
	oEc.BeginWrite

	oEc.RsCreate 3
for i=1 to 3200
	oEc.RsAddRow
	oEc.RsSetCol 1, "No." & i
	oEc.RsSetCol 2, "行x列y"
	oEc.RsSetCol 3, "行x列y"
	oEc.RsSaveRow
next

	oEc.CallProgramAndCommit "CLIRS"
	r= oEc.GetErrCode
if r<>0 then
	MsgBox "ECI call failed"
	Wscript.Quit r
end if

	MsgBox oEc.GetValue("RETURN")

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -