IBM iSeries 前端开发
我相信你们中的许多人都熟悉 IBM i5 系列模拟器(看起来像这样 poop)
我的公司虔诚地使用这个,并且其中没有商业逻辑,因此每当我们的财务部门有人犯下人为错误时,它都会接受它并将其添加到数据库中。更不用说它丑陋、难以使用、不直观等等......
我想为这个界面创建一个前端,以便我们可以在提交到系统之前控制逻辑(我们不控制系统本身),所以实际上我需要制作自己的模拟器应用程序。
然而,我似乎找不到任何有关如何与 i 系列交互的信息,即登录、发送命令以及从通常发回的屏幕上查看或收集数据。
有什么建议吗?
I'm sure many of you are familiar with the IBM i5 series emulator (looks like this poop)
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. 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.
Any suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
问题不在于 iSeries,而在于贵公司在其上运行的软件包。
使用绿屏有很多优点:它速度快,并且在数据输入方面几乎是无与伦比的,只要您习惯了它。
但要回答您的问题,iSeries 是一台支持 J2EE 的机器:安装了 HTTP 服务器,并且根据 iSeries 的版本,WebSphere 可能已经安装,或者有权安装它。然后就可以使用JT400,它是os400的java工具包,包含连接数据库的jdbc驱动程序和调用程序所需的类。
如果您更喜欢 php,可以在 iSeries 上使用 Zend 框架,但我从未尝试过。
The problem is not the iSeries but the software package your company is running on it.
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. 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.
If you prefer php, there is a flavor of the Zend framework made to work on the iSeries but I never tried it.
我建议您查看 Attachmate Verastream Host Integrator (VHI) 和 IBM 的主机访问转换服务 (HATS) 产品。它们实际上只是在绿屏终端上进行屏幕抓取,以便您提取和推送数据,并提供宏记录和编辑工具来自动化该过程。应用程序集成可以通过 Web 服务或 html/jsp/servlet 编程(加上用于 VHI 的 .Net 和用于 HATS 的 EJB)来实现。它们确实提供企业定价,但这对某些人来说可能是一个障碍。他们确实提供用于评估目的的免费试用产品,以帮助确定它们是否适合您的问题。
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. 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). 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.
他们使用什么软件包?我在 5250 模拟器中使用的大多数程序都有一些业务逻辑,可以在将数据添加到数据库之前对数据进行错误检查。您能否向我们提供更多信息,以便我们为您指明更好的方向。
有些供应商销售的产品可以截取 5250 数据流并生成 Web 前端。或者,您可以用您选择的语言编写自己的前端,然后只对数据库进行 SQL 调用。
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. 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. Or you can write your own front-end in the language of your choice and just do SQL calls to the database.
必须有一些源代码。首先查看用户正在访问的菜单和菜单选项,并找出在他们后面运行的菜单和菜单选项。
使用命令 STRPDM 查找源代码 - 在不同的库中查找(它们就像文件夹)
您可能在名为 xxxMNUSRC xxxRPGSRC(rpg 程序源)或 xxxCLSRC(cl 程序)、xxxDDSSRC(显示/屏幕源、物理/逻辑文件源)的“成员”中拥有源代码
对象“编译”对象,例如文件(表)、屏幕、priter 文件(报告)
远离 Qxxx 和 #xxx 库 - 这些是系统库。
http://systeminetwork.com/ 是解决 iSeries 相关问题的良好资源。
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)
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)
Objects a "compiled" objects such as files (tables), screens, priter files (reports)
Stay away from Qxxx and #xxx libraries - those are system libraries.
http://systeminetwork.com/ is a good resource for iSeries related questions.