filmov
tv
Coding in RPG (IBM i/AS400). Using SQL Objects with Native RPG file operations.

Показать описание
Maybe you haven't made the leap to using SQL in your programming yet, but you should already be creating your tables and other objects using SQL, for many reasons. They are better. It is a fact.
Sometimes we don't want to take the leap because we think our old RPG programs can't use SQL objects, and that's not the case.
I show you an example of a program that reads objects created in SQL, using native RPG disk operations.
Additionally, I show you how easy it is to convert old DDS logical files to indexes with the Where clause (in case they can be converted), instead of converting them to views.
Hope you like!
Enjoy!
#ibmi #ibm #rpg #rpgle #rpgfree #newvideo #ibmtraining #ibmcoding #rpgtraining #sqlrpgle #sqltraining #as400 #common #modernize #IBMChampion
0:00 Introduction
0:44 Let's start with the DDS of the physical and the first logical file
1:30 Checking the data stores in those files using SQL
2:01 The second logical file, with a selection
3:20 Converting the selection logical file into an INDEX with a WHERE clause
7:46 An RPG program using SQL tables and indexes, using native disk operations
9:26 Checking how it works on the green screen
11:11 Final comments and ending
Sometimes we don't want to take the leap because we think our old RPG programs can't use SQL objects, and that's not the case.
I show you an example of a program that reads objects created in SQL, using native RPG disk operations.
Additionally, I show you how easy it is to convert old DDS logical files to indexes with the Where clause (in case they can be converted), instead of converting them to views.
Hope you like!
Enjoy!
#ibmi #ibm #rpg #rpgle #rpgfree #newvideo #ibmtraining #ibmcoding #rpgtraining #sqlrpgle #sqltraining #as400 #common #modernize #IBMChampion
0:00 Introduction
0:44 Let's start with the DDS of the physical and the first logical file
1:30 Checking the data stores in those files using SQL
2:01 The second logical file, with a selection
3:20 Converting the selection logical file into an INDEX with a WHERE clause
7:46 An RPG program using SQL tables and indexes, using native disk operations
9:26 Checking how it works on the green screen
11:11 Final comments and ending
Комментарии