对于 RPG36 代码转换,您会推荐哪些资源?

发布于 2024-07-09 21:23:55 字数 1561 浏览 5 评论 0原文

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

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

发布评论

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

评论(2

薄荷港 2024-07-16 21:23:55

RPG II 和 RPG III 之间没有语法差异。 其实只要把属性从RPG36改成RPG,它就会“升级”。 然后,您可以通过 CVTRPGSRC 运行这个新成员,并从中获取(通常)可用的 RPGLE 程序。

另一方面,S/36 程序的转换并不那么简单。

There is no syntactic difference between RPG II and RPG III. You can actually just change the attribute from RPG36 to RPG and it will be "upgraded." You can then run this new member through CVTRPGSRC and get a (usually) useable RPGLE program out of it.

S/36 Procedures, on the other hand, are not as simple to convert.

我乃一代侩神 2024-07-16 21:23:55

这是 AS400 上 RPG II 的手册,因此你可以理解旧的代码。

您可以尝试使用 CRTRPGPGM 将代码编译为 RPGIII。 修复清单上的编译错误,将代码转换为 RPG III。

获得 RPG III 源代码后,您可以使用 CVTRPGSRC 命令继续将其转换为 RPG ILE。

也可以将 RPG36 代码直接放入 CVTRPGSRC,将源代码转换为 RPG ILE。

Here's a manual for RPG II on the AS400 so you can understand the old code.

You could just trying to compile the code as RPGIII using CRTRPGPGM. Fix the compile errors on the listing to convert the code to RPG III.

Once you have RPG III source you can continue further to convert it to RPG ILE with the CVTRPGSRC command.

It's might also be possible to take the RPG36 code directly into CVTRPGSRC to convert the source to RPG ILE.

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