从 Win32 应用程序和 IBM RDZ/Eclipse 对大型机文件的一致访问?
我有一套用于处理 IBM COBOL 源代码的工具;这些工具构建为 Win32 应用程序,并使用传统的 Windows 文件系统调用(打开、关闭、读取、写入)与 Windows(包括网络)文件通信,并且工作得很好,谢谢。
我想将这些与 Eclipse 集成;我们知道如何让 Eclipse 为我们做 UI。问题在于 Eclipse/RDZ 用户通过某种 IBM 魔法访问大型机文件。在 RDZ 如何访问大型机files 我试图了解 Eclipse 如何访问大型机上的文件。显然 Eclipse/RDZ 有一个普通人无法使用的秘密文件系统访问后门。
问题是我们的工具如何读取一些 Windows 可访问的文件(本地磁盘文件、NFS 到大型机……),将这些文件与 Eclipse 可以访问或正在使用的文件关联起来? 理想情况下,我们希望我们的工具的 UI 集成版本采用大型机文件的 Eclipse 文件名字符串,将其传递给我们的 Windows 应用程序进行处理,让 Windows 应用程序打开/读取/处理该文件,并返回与将该文件发送到 Eclipse UI。
是否存在与大型机 NFS 一起使用的规范文件名路径,该路径相当于 Eclipse RDZ 用于访问同一文件的名称或访问对象? 所有操作都可以通过 Eclipse 内部完成,可以通过大型机 NFS 完成 [例如,NFS 可以读取/更新分区数据集中的元素吗? Eclipse RDZ 可以吗? 这重要吗?]
大型机文件访问是否可用于在 Eclipse RDZ 下运行的自定义 Java 代码(例如,基于文件名/路径/某事的打开/关闭/读/写的等效项?)如果是这样,有人可以引导我查看描述的文档吗访问方法?
其他人已经解决了这个问题或者有好的建议吗?
I have a suite of tools for processing IBM COBOL source code; these tools are built as Win32 applications and talk to Windows (including network) files using traditional Windows file system calls (open, close, read, write) and work just fine, thank you.
I'd like to integrate these with Eclipse; we understand how to get Eclipse to do UI for us we think. The problem is that Eclipse/RDZ users access mainframe files through some IBM magic. In How does RDZ access mainframe files I tried to understand how Eclipse accessed files on a mainframe. Apparantly Eclipse/RDZ has a secret filesystem access backdoor not available to normal mortals.
At issue is how our tools, reading some Windows-accessible file (local disk file, NFS to mainframe, ...) can associate such files with the files that Eclipse can access or is using?
Ideally we'd like UI-integrated versions of our tools take an Eclipse file-name string for a mainframe file, pass it to our Windows application to process, have the Windows application open/read/process the file, and return results associated with that file to the Eclipse UI.
Is there a canonical file name path that would be used with mainframe NFS that would be equivalent to the name or access object the Eclipse RDZ used to access the same file?
Are all operations doable internally by Eclipse, doable by the mainframe NFS
[for instance, can NFS read/update an element in a partitioned data set? Can Eclipse RDZ?
Does it matter?]
Is the mainframe file access available to custom Java code running under Eclipse RDZ (e.g., equivalents of open/close/read/write based on filename/path/something?) If so, can somebody steer me towards documentation describing the access methods?
Anybody else already solve this problem or have a good suggestion?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
IBM 不会以可用的方式公开任何 WDZ 大型机特定功能,因此您无法将程序与 WDZ 集成。
IBM doesn't expose any of there WDZ mainframe specific functionality in a usable way so you can't integrate your program with WDZ.
您可以使用 FTP 将 Cobol 源代码从大型机获取到 PC,以及从 PC 获取到大型机。
您必须向用户询问连接信息(URL、登录名、密码)以及 Cobol 源代码所在的分区数据集的名称。
You could use FTP to get the Cobol source code from the mainframe to the PC, and from the PC to the mainframe.
You'd have to ask your users for the connection information (URL, logon, password), as well as the name of the partitioned data set where the Cobol source code resides.