FTP 和 FTP 返回响应后在大型机中触发 JOB

发布于 2024-10-09 07:01:53 字数 242 浏览 0 评论 0原文

以下是我的要求。 用户将 csv/文本文件上传到 Web 应用程序。 Web 应用程序将文件通过 FTP 传输到大型机服务器。此操作必须触发 JCL/服务。大型机处理上传的文件并将响应通过 FTP 传输到 Web 应用程序可访问的位置。 响应显示在应用程序中。

  1. 要求是否可行?
  2. 文件传输后,FTP 可以触发大型机中的作业/服务吗?
  3. 大型机作业/服务可以通过 FTP 传输对外部系统的响应吗?

The below is my requirement.
The user uploads a csv/text file to Web Application. The Web Application FTPs the file to a Mainframe server. This action has to trigger a JCL / Service. The Mainframe processes the uploaded file and FTPs the response to a location accessible by the Web Application.
The response is shown in the Application.

  1. Is the requirement feasible ?
  2. Can FTP trigger a JOB / Service in Mainframe after file transfer?
  3. Can a Mainframe JOB / Service FTP the response to an external system ?

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

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

发布评论

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

评论(1

暮年慕年 2024-10-16 07:01:53

您可以使用“QUOTE SITE FILETYPE=JES”将作业提交给大型机上的内部读取器。这使您可以直接编写作业流并启动它运行。

作业完成后,您也可以使用 FTP 读取假脱机输出。输出数据集 IIRC 是使用作业编号创建的,格式为“JOB#####.n”,其中 n 是从 0 开始的数据集编号。

您的要求非常可行,事实上,也很简单只需一些简单的 JCL 和 FTP 命令即可完成。

You can use the "QUOTE SITE FILETYPE=JES" to submit a job to the internal reader on the mainframe. This lets you directly write a job stream and start it running.

Once the job completes, you can read the spooled output, also using FTP. The output datasets, IIRC, are created with the job number in the form "JOB#####.n", where n is the dataset number starting at 0.

Your requirement is very feasible, in fact, it is also very easy to accomplish with just some simple JCL and FTP commands.

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