English 中文(简体)
是否有办法使主机终端窗口中的简单重复工作自动化?
原标题:Is there a way to automate simple repetitive tasks in mainframe terminal window?

我的雇主使用TN3270+2.07版本主机。 它是相当老的版本,不支持一些文字指令/名称,如等待屏幕复读、“如果”状况和简单计算指示,如增量等,可在更新的版本中查阅。 我需要这些特点,因此我不能使用封面文字。

它不支持发展司。

留给我的任何选择,如VBalle、J.或PowerShell(或视窗7企业的其他任何选择,并安装诸如AutoIt等第三方工具)。

我需要的是,我希望能够读到档案中的一些数据,进入主机终端,等到我收到主机的答复(这是很随机的,有时是瞬时的,但其他时间可能为20至30秒),即等待屏幕复读。 然后,我想根据这一信息从终端窗口读到案文,我需要采取一些行动,如继续从档案库读到下行,或者做其他事情。

是否有办法实现这一目标?

注:改写器或租赁3级政党工具不是一种选择;

最佳回答
问题回答

你可以使用一种报废工具,如IBM HATS,或者你可以使用IBM Java TN3270的一些课程与主机交谈。

这两种情况都会使你从你的软件中连接到TN3270。 注

If you can get the mainframe software to a point where you can interact with it on a batch job level -- or you write some simple Rexx commands that interact with it -- you can use ftp protocol to submit jobs to issue commands to the mainframe software. It won t directly do a TN3270 session with it, but Rexx commands and/or other custom written programs could replace that interaction. Then you could just talk to the mainframe software using simple JCL.





相关问题
Mutually exclusive powershell parameters

SCENARIO I m writing a cmdlet for Powershell 2.0 using Visual Studio 2008 and .NET 3.5 the cmdlet requires 3 arguments. my intended grammar of the cmdlet is something like this: cmdletname [foo|...

Run a program from PowerShell with timeout

I ll write a script that runs a program and wait for it finished. But if the program is not finished within a specified time I want that the program is killed.

How to transpose data in powershell

I have a file that looks like this: a,1 b,2 c,3 a,4 b,5 c,6 (...repeat 1,000s of lines) How can I transpose it into this? a,b,c 1,2,3 4,5,6 Thanks

Powershell v2 remoting and delegation

I have installed Powershell V2 on 2 machines and run Enable-PsRemoting on both of them. Both machines are Win 2003 R2 and are joined to the same active directory domain and I can successfully run ...

PowerShell -match operator and multiple groups

I have the following log entry that I am processing in PowerShell I m trying to extract all the activity names and durations using the -match operator but I am only getting one match group back. I m ...

热门标签