无需 ISPF 的文件裁剪

发布于 2024-12-22 08:46:59 字数 312 浏览 3 评论 0原文

我目前正在尝试为大型机 ISPF 面板编写一个更简单的外部接口,但是它利用 ISPF 文件定制在执行前修改 JCL 脚本,并且如果没有运行 ISPF 会话,则 ISPF 服务(包括文件定制)不可用。 我使用了一个名为“batchpdf”的 Rexx 脚本(http://www.sillysot.com/mvs/batchpdf.htm)来设置适当的 DD 语句,然后运行 ​​ISPSTART 和 FTINCL,目前运行良好,但这似乎是一个脆弱的解决方案 - 如果公司更改其 ISPF 数据集串联,JCL 可能会崩溃。是否有任何解决方案可以在 ISPF 之外简单地运行文件裁剪(即在批处理/JES2 中)?

I'm currently attempting to write a simpler external interface to a mainframe ISPF panel, however it makes use of ISPF file tailoring to modify JCL scripts before execution, and ISPF services (including file tailoring) aren't available without a running ISPF session.
I've used a Rexx script called 'batchpdf' (http://www.sillysot.com/mvs/batchpdf.htm) to set up the appropriate DD statements and then run ISPSTART and FTINCL, and at the moment this is working well, however it seems to be a fragile solution - if the company changes their ISPF dataset concatenations the JCL could break. Is there any solution for simply running file tailoring outside ISPF (ie. in batch/JES2)?

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

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

发布评论

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

评论(2

最后的乘客 2024-12-29 08:46:59

简短的回答是否定的。文件裁剪本质上需要 ISPF。

我想要问自己的问题是......

  1. 该公司更改其 ISPF 数据集的可能性有多大
    串联?
  2. 您创建的任何 RYO 解决方案有多脆弱
    模拟文件裁剪?

我不会称你所做的事情是“脆弱的”。根据您商店的标准记录依赖性。

The short answer is no. File tailoring inherently requires ISPF.

I guess the questions to ask yourself are...

  1. How likely is it that the company would change its ISPF dataset
    concatenations?
  2. How fragile is any RYO solution you create that
    emulates file tailoring?

I wouldn't call what you've done "fragile." Document the dependency according to your shop's standards.

樱花细雨 2024-12-29 08:46:59

虽然文件定制仅在 ISPF 下运行,但您可以在批量 TSO 中运行 ISPF(前提是不显示面板)。通常,您会执行类似

ISPF CMD(mycommand) 的

操作,这将输入 spf,运行命令并返回 TSO
其中 mycommand 是相应库中的 clist/rexx 程序。

While file tailoring only runs under ISPF, you can run ISPF in batch TSO (provided there is no panels displayed). Typically you would do something like

ISPF CMD(mycommand)

This will enter spf, run the command and return to TSO
where mycommand is a clist/rexx program in appropriate library.

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