Now, I would like to summarize the scope of Code for IBM i more concretely, focusing on the source code. When making comparisons, consider the coverage of SEU/PDM and RDi together (Chart 3).
Figure 3 Overview of development environment
Now, let’s summarize the source code storage location in the diagram of each tool and the correspondence status for each operation in the table.
(1) Source file
The source files are accessible by all three tools, but there are some differences. △ because Code for IBM i does not provide a prompt function for RPG III and IV. △. Although it is possible to ignore errors and save data, it is not very realistic (Figure 4).
Figure 4 Source file
(2) Source code on IFS
All × because SEU cannot directly modify the source code on IFS. Code for IBM i is △ (Chart 5) for the same reason as for source files.
Figure 5 Source code on IFS
(3) Source code on the development PC
Since SEU is a tool on IBM i, it is of course impossible to access the source code on the development PC, so all ×. Code for IBM i is the same reason as ②, △ (Figure 6).
Figure 6 Source code on development PC
④ Push the source code of development PC to IFS
RDiはIFSプロジェクト機能(リモート・リコンサイラ)を利用して、プッシュ可能。Code for IBM iについては後述(図表7)。
図表7 開発PC上のソースコードをIFSにプッシュ
⑤開発PC のソースコードをソースファイル(メンバー)にプッシュ
RDiは i プロジェクト機能を利用してプッシュ可能。Code for IBM iは不可なので、これだけだとRPG Ⅲのソースコードの保守は不可能との判断になる(図表8)。
図表8 開発PC上のソースコードをソースファイルにプッシュ
⑥コンパイラを実行
RPGの場合、コンパイラは2つ(CRTRPGPGM と CRTRPGMOD)。どの開発環境からも実行することが可能(図表9)。
図表9 コンパイラを実行
⑦IBM iオブジェクトの処理
オブジェクトの一覧表示や、削除などの基本操作はどのツールも利用可能(図表10)。
図表10 IBM iオブジェクトの処理
Gitの利用
Gitについては、前述したようにSEU/PDM環境では利用不可(図表11)。
図表11 Gitの利用
以上の比較を見ると、Code for IBM iはRDiが提供している機能をほぼ網羅している一方、以下が弱いことがわかる。
・プロンプト機能がない
・ローカルのコードを直接ソースファイルのメンバーにプッシュできない
逆を言えば、上記の問題が解決できればRDiの代替案として、Code for IBM iは十分に活用可能ということだ。その可能性も踏まえて、Code for IBM iの使い方を具体的に見ていこう。(Part3へ続く) Read More
Copying Save Files to PUB400.COM RPGPGM Simon Hutchinson
- Copy a save file from my PC to a save file on PUB400.COM.- Restore objects from that save file on PUB400.COM into my library. Read More
Talsco Weekly: Possible Paths for AI on the IBM i patrick staudacher
Welcome to another edition of Talsco Weekly IBM i Brief: IBM: Previews Generative AI tool for converting COBOL to Java. Will IBM bring Code Assist to IBM i? AI: Possible Paths for AI on the IBM i. AI Chip Boom. How will AI and ML be used in the Data Center? What are AI Accelerators?
The post Talsco Weekly: Possible Paths for AI on the IBM i appeared first on IBM i (AS/400, RPG) Recruiting, Staffing & Consulting. Read More
Latest Recording: Designing Dashboards for Different Needs and Users
We often hear from NGS-IQ customers who want to develop dashboards. When we inquire about their needs, we quickly find that not everyone uses the term “dashboard” to mean the same thing. 45 minutes. Read More
IBMi SQL / HTTP to send IFS file to Linux No_Blackberry7493
Today, I use the open systems package cURL on IBMi to send IFS files to a linux environment. I want to do this with SQL so I don’t have to rely on cURL or the open systems pgks in /QOpenSys/pkgs/bin. I’m not even sure this can this be done via native SQL HTTP* functions. So maybe that’s just the way it is but that seems unlikely?! https://www.ibm.com/docs/en/i/7.5?topic=systools-http-function-overview I’m new to IBMi and have successfully been able to utilize the SYSTOOLS functions here for most HTTP functions but sending an IFS file with SQL scalar functions has me stumped. Help?? submitted by /u/No_Blackberry7493[link][comments] Read More