Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?
Answer / nkumar
Well CL is not meant for the database programing. In previous version of AS400 update,insert was not possible through CL. From V5R4 we have the API available or we can use the QMQRY objects and run them through CL. RPG provides the easiest way of playing with the data base with so many OPcodes available.
| Is This Answer Correct ? | 3 Yes | 0 No |
what is the difference between the cpyf command crtdupobj command?
how do u find whether a record is locked or not??/
can we perform CHAIN operation on Subfile record format....?
How to declare the pull button in AS/400..
How do I read records from Subfile? what is the purpose of READC explain with example?
Can we used ovrdbf command after the opnqry file if yes then What will be out put of your program?
How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.
i have 1000 records in pf.what are all the ways to read a particular name records in rpg?? ie.. in pf i have a name called demo appeared around 52 times hw will we read this particular records in rpg/400?.
what is the use of sflnxtchg?
what is batch debug in as400?
How can we receive values from a called procedure in CL?
We have a Physical file, after reading 5 records,it has to read LF of that same Physical file,Will it start reading from Ist record or will start reading from 5th record?