编写一个小 Windows 脚本来与大型机和/或 Endevor 对话
作为一家大型银行的 IT 开发人员,我正在努力优化日常生活中的工作流程。现在,所有开发都是使用 Rational Developer for System Z (RDz) 完成的,处理 Endevor 存储库上的文件,并且该解决方案存在几个问题,我想在业余时间开发一个解决方法。
目前,我对于如何通过 PC 与大型机和 Endevor 进行通信还一无所知。正如我所看到的,这样做是可能的,因为 RDz 正是这样做的。
我真正需要的可能并不那么复杂。我需要了解 RDz 或个人通信等客户端如何与大型机进行通信。或者,我可以尝试生成某种脚本来从主机上的 Endevor 检索文件,因为我能够通过 FTP 传输到 MVS 并以这种方式获取文件。但我无法通过 FTP 访问 Endevor 存储库。
基本上,我想要一种从 Endevor 获取文件并将其保存到我的桌面上的方法,这样我就可以在我最喜欢的文本编辑器中编辑它们,然后再将它们放回去。
关于我应该如何开始做这件事有什么建议吗?
I am trying to optimize my work process in my day to day life as an it developer in a larger bank. Right now, all development is done using Rational Developer for System Z (RDz), working with files on the Endevor reposity, and there are several issues with this solution that I would like to develop a work-around for in my spare time.
Right now I am very much in the blind about how communication with the mainframe and Endevor is done from a PC. As I can see, it is possible to do so, since RDz does exactly that.
What I really need may not be so complex. I need to understand how clients like RDz or Personal Communications are able to communicate with the mainframe. Alternatively, I could try and generate some sort of script to retrieve files from Endevor on the host, since I am able to FTP to an MVS and get files that way. But I have no way of FTP'ing to an Endevor repository.
Basically I would like a way to get files from Endevor and on to my desktop, so I can edit them there in my favorite text editor, and then a way to put them back again.
Any suggestions as to how I should get started on this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
以下是桌面脚本的基本构建块:
参数化 JCL 构建过程以适应不同的源文件名称。
完成后,只需反转该过程即可。
从技术上讲,这并不是一个困难的过程。潜在的故障是你
可能没有权限提交高优先级批处理作业。如果您提交的
批处理作业最终会排队几分钟(几小时),然后这个过程就变成了
行不通的。如果您可以提交高优先级批处理作业,那么
其余的应该不那么困难。我做了一些非常类似的事情
这使用 Open Object Rexx 作为桌面脚本语言 - 并且它非常有效
出色地。
通过使用 Endevor:构建批量 SCL,您可以很好地了解 JCL 需要是什么样子
为提取/签入功能构建示例 JCL 的选项。通过 FTP 与 JES 交互在以下内容中有很好的描述:
与 JES 交互。
玩得开心...
Here are the basic building blocks for your desktop script:
to parameterize the JCL build process to accommodate different source file designations.
When done, just reverse the process.
Technically this is not a difficult process to build. The potential glitch is that you
probably do not have the authority to submit high priority batch jobs. If your submitted
batch job ends up queued for a couple of minutes (hours) then this process becomes
unworkable. If you can submit high priority batch jobs, then
the rest should not be all that difficult. I have done something very similar to
this using Open Object Rexx as the desktop scripting language - and it works very
well.
You can get a pretty good idea as to what the JCL needs to look like by using the Endevor: Build batch SCL
option to construct example JCL for extract/check-in functions. Interacting with JES trough FTP is described pretty well in:
Interfacing with JES.
Have fun...
检查 Endevor 文档,看看它是否有 API 或 Web 服务接口。 Change Man(一种竞争产品)有,我希望 Endevor 也有一个。
您不太可能愿意直接通过 FTP 访问源代码管理系统的存储库。您想要检查并检查它们,使用该产品,而不是试图规避它。
Check the Endevor documentation to see if it has an API, or a web services interface. Change Man (a competing product) does, I would expect Endevor to have one too.
Directly FTPing into a source code management systems's repository is not likely something you'd want to do. You'd want to check things out and check them in, using the product rather than trying to circumvent it.
另一种选择是 C-Cubed,www.c-cubed.net。他们提供的 API 允许各种 Windows PC 语言直接与 Endevor 和其他产品连接。我们在当前的工作场所使用它来访问 50 个不同 LPAR 上的 MVS 资源。
希望有帮助。
Another alternative is C-Cubed, www.c-cubed.net. They offer API's that allow various Windows PC languages to interface directly with Endevor, and other products. We utilize it at my current workplace to access MVS resources on 50 different LPAR's.
Hope it helps.