Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the use of sflnxtchg?

797


how do I declare a table or array in rpg iv?

730


Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?

1446


What is the purpose of record level identifier?

722


can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

2272






what is the rpg system?

660


What is difference between bind by copy and bind by reference?

1720


How Chain operation copies the record's data to the input buffer for the program?

1076


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

1959


When it is desirable to describe files Internally?

1182


what are the key words you must use when using a subfile?

684


how does the rpg element work?

711


what is *place and *auto keyword in prtf ?plz explain

2720


Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

511


1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

2366