01 - Programming (EN)01a - RPG (EN)

Writing ILE RPG code with ChatGPT? Let's try!

Last Updated on 8 January 2023 by Roberto De Pedrini

There is talk everywhere about this ChatGPT, OpenAI’s new system that allows interaction with Artificial Intelligence systems to be more natural and intuitive.

In this video I asked ChatGPT to write for me a simple ILE RPG program that reads a customer table and generates a list: fantastic … with an absolutely natural language exchange (in the video I use English but I could have also done it directly in Italian) I got what I wanted: a Full Free ILE RGP code with access to the table in Embedded SQL. Then I asked for the same program in Node.js and he proposed it with DB2 access … awesome!

Something to be said about the pasta carbonara that made me make it with cream, too bad!

Here is the link to the video, with subtitles in Italian or English

If you want to try ChatGPT, search for it on Google or go to this link:

https://openai.com/blog/chatgpt/

Enjoy your viewing!

Related Posts
DB2 for i SQL – String Manipulation – POSSTR-LOCATE-LOCATE_IN_STRING (EN)

Introduction Often, in our applications, we need to work with text strings, and DB2 SQL can come in very useful Read more

DB2 for i – FAQ & Howtos (EN)

DB2 Database and SQL ... maybe the most important things on IBM i platform: here's a collection of FAQs, tips Read more

IBM i 7.4 Announcement (En)

Comes directly with the Easter egg this IBM announcement for the news of the IBM i 7.4 version, iNext version Read more

Generated Always Columns (EN)

Introduction "Generated Always Column": are columns, table fields, filled by DB2 engine: something like columns with a default value but Read more

--- Roberto De Pedrini Faq400.com
About author

Founder of Faq400 Srl, IBM Champion, creator of Faq400.com and blog.faq400.com web sites. RPG developer since I was wearing shorts, strong IBM i supporter, I have always tried to share my knowledge with others through forums, events and courses. Now, with my company Faq400 Srl, I help companies to make the most of this great platform IBM i.

3 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *