test2- gettime.vbs

来自「IBM 开发的easy cics通讯相关的源代码」· VBS 代码 · 共 18 行

VBS
18
字号

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

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

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

	MsgBox oEc.GetValue("TIME")

⌨️ 快捷键说明

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