We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 7 months ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
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.
这是 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.