我需要找出给定 telnet 会话所在的 DDS 屏幕的名称? (I系列)

发布于 2024-09-24 23:50:50 字数 270 浏览 11 评论 0 原文

我正在寻找一个程序或 API 调用,它可以绝对准确地提供给定作业正在使用的工作站显示文件的名称(及其记录类型)。我有作业信息(例如作业名称、作业用户和作业编号)。这将使我能够快速识别给定作业的显示文件,以协助程序开发。如果我​​可以在 RPGLE 中执行此操作,那么我可以共享它 我已经考虑过使用开放对象 API 的作业列表 (QDMLOPNF) 和作业堆栈 API (QWVRCSTK) 的组合,

但它们也没有提供我所需的准确性。假设我知道程序附加了什么DDS,但如果它是系统程序或非标准程序,则结果不准确。

I am looking for a program or API call that will give me, with absolute accuracy, the name of the Workstation Display File (and Its Record Type) that is being used by a given Job. I have the Job information (such as Job Name, Job User, and Job Number. This will allow me to quickly identify the Display File that a given job to assist in program development. If I can do this in RPGLE then I can share it over a SQL Connection to my interface/telnet program.

I have looked at using the Job List of Open Objects API (QDMLOPNF) and a combination of the Job Stack API (QWVRCSTK) but they do not give me the accuracy I need. They also assume that I know what DDS is attached to program, but if it is a system program or non standard program the results are not accurate.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

私藏温柔 2024-10-01 23:50:50

您可以使用DSPJOB OPTION(*OPNF)命令手动找到它,并查找打开的DSP类型的文件。

有一个作业 API 也可以提供此信息。

You can find this manually with the DSPJOB OPTION(*OPNF) command and look for open files of type DSP.

There is a job API available that may provide this information as well.

停滞 2024-10-01 23:50:50

经过大量研究和谷歌搜索后,我找到了一个完全符合我需要的 API。这是检索输出信息 (QWSRTVOI) API,我通过位于此处的 IBM API 文档找到了它: http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/wss.pdf

希望这对像我一样沮丧的人有所帮助。 IBM 必须这样做,所以我知道必须有一个 API 来让我这样做。

After much research and Google-ing I located an API that does exactly what I need it to. It's the Retriieve Output Information (QWSRTVOI) API and i found through an IBM API Documentation located here: http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/wss.pdf.

Hope this helps anyone that was just as frustrated as me. IBM has to do it, so I knew there had to be an API to let me do it.

叹沉浮 2024-10-01 23:50:50

您是否考虑过研究 IceBreak。应该很容易进行屏幕抓取并呈现在网页上。一度有人讨论免费版本。 http://www.icebreak.dk/

Have you considered looking into IceBreak. Should be very easy to do screen scraping with and present on a web page. At one time there was talk about a free version. http://www.icebreak.dk/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文