简体   繁体   English

IBM iSeries前端开发

[英]IBM iSeries Frontend Development

I'm sure many of you are familiar with the IBM i5 series emulator (looks like this poop ) 我确定你们中的许多人都熟悉IBM i5系列仿真器(看起来像这个便便

My company uses this religiously and there is no Biz logic in it so anytime somone in our finance dpt makes a human error it accepts it and adds it to the database. 我的公司虔诚地使用此代码,并且其中没有Biz逻辑,因此我们财务dpt中的任何时候都会因人为错误而接受它并将其添加到数据库中。 Not to mention its ugly, hard to use, not intuitive, etc.... 更不用说它的丑陋,难以使用,不直观等。

I would like to create a frontend for this interface so that we can control the logic before its submitted to the system (we dont control the system itself) so in effect I need to make my own emulator app. 我想为此接口创建一个前端,以便我们可以在逻辑提交到系统之前对其进行控制(我们不控制系统本身),因此实际上我需要制作自己的仿真器应用程序。

However I cant seem to find any information on how to interface with the i series, namely login, send commands, and view or gather data from the screens it would normally send back. 但是,我似乎找不到任何有关如何与i系列进行交互的信息,即登录,发送命令以及从通常会发回的屏幕中查看或收集数据。

Any suggestions? 有什么建议么?

The problem is not the iSeries but the software package your company is running on it. 问题不是iSeries,而是您公司正在其上运行的软件包。

There ARE advantages to use green screens: it's fast and it's almost unbeatable at data entry, provided you get used to it. 使用绿屏有一些优点:快速,并且只要您习惯了,它在数据输入方面几乎是无与伦比的。

But to answer your question, the iSeries is a J2EE enabled machine: a HTTP server comes installed and depending of the version of the iSeries, WebSphere might be already installed, or are entitled to install it. 但是要回答您的问题,iSeries是启用了J2EE的计算机:已安装HTTP服务器,并且根据iSeries的版本,可能已经安装WebSphere或有权安装它。 Then you can use JT400, which is the java toolkit for the os400 containing the jdbc drivers to connect the database and the necessary classes for calling programs. 然后,您可以使用JT400,这是os400的java工具包,其中包含用于连接数据库的jdbc驱动程序以及调用程序所需的类。

If you prefer php, there is a flavor of the Zend framework made to work on the iSeries but I never tried it. 如果您更喜欢php,则可以在iSeries上使用Zend框架,但是我从未尝试过。

I'd recommend that you take a look at both the Attachmate Verastream Host Integrator (VHI) and IBM's Host Access Transformation Services (HATS) products. 我建议您同时查看Attachmate Verastream主机集成器 (VHI)和IBM的主机访问转换服务 (HATS)产品。 They effectively just screen scrape the green screen terminals to allow you to pull and push data and provide macro recording and editing tools to automate the process. 他们实际上只是在屏幕上刮擦绿屏终端,以允许您拉入和推送数据,并提供宏录制和编辑工具来自动执行该过程。 App integration can be achieved via web services or html/jsp/servlet programming (plus .Net for VHI and EJB's for HATS). 可通过Web服务或html / jsp / servlet编程(对于VHI加上.Net,对于HATS则使用EJB)来实现应用程序集成。 They do come with enterprise pricing however which may be an obstacle for some. 它们确实带有企业定价,但是这可能会成为某些障碍。 They do have free trial offerings for evaluation purposes to help determine if they are an appropriate solution to your problem. 他们确实提供免费试用产品以进行评估,以帮助确定它们是否适合解决您的问题。

What software packages are they using? 他们使用什么软件包? Most programs that I use in the 5250 emulator has some business logic that error checks the data before adding it to the database. 我在5250仿真器中使用的大多数程序都有一些业务逻辑,这些逻辑会在将数据添加到数据库之前对其进行错误检查。 Can you get us some more information so we can direct you in a better direction. 您能否获得更多信息,以便我们为您提供更好的指导。

There are vendors that sell products that screen-scrape the 5250 data stream and produces a web front-end. 有一些供应商出售可以筛选5250数据流并生成Web前端的产品。 Or you can write your own front-end in the language of your choice and just do SQL calls to the database. 或者,您可以使用自己选择的语言编写自己的前端,然后对数据库进行SQL调用。

THere's got to be some source code. 这一定是一些源代码。 Start by looking at the menu and menu option your users are accessing and figure that's running behind them. 首先查看用户正在访问的菜单和菜单选项,然后查看运行在它们后面的菜单。

Use command STRPDM to look for source code - look in different libraries (they are like folders) 使用命令STRPDM查找源代码-查找不同的库(它们类似于文件夹)

You might have source code in a "member" called something like xxxMNUSRC xxxRPGSRC (rpg program source) or xxxCLSRC (cl programs), xxxDDSSRC (display/screen source, physical/logical file source) 您可能在“成员”中拥有源代码,其名称类似于xxxMNUSRC xxxRPGSRC(rpg程序源)或xxxCLSRC(cl程序),xxxDDSSRC(显示/屏幕源,物理/逻辑文件源)

Objects a "compiled" objects such as files (tables), screens, priter files (reports) 对象是“已编译”对象,例如文件(表),屏幕,绘图文件(报告)

Stay away from Qxxx and #xxx libraries - those are system libraries. 远离Qxxx和#xxx库-这些是系统库。

http://systeminetwork.com/ is a good resource for iSeries related questions. http://systeminetwork.com/是有关iSeries相关问题的好资源。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM