can we use cl programming to update or delete physical files

Answer Posted / anish

Although there are no keywords to update or insert or
delete records in a CL program, we can do the same with the
help of a 'RUNSQLSTM' statement. With this command we can
runa query directly from the CL program and do an
insert/update/delete without calling an RPG program.

Plzz let me know if my understanding is corerct.

Is This Answer Correct ?    32 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is data area and how it is used in rpg program ?

1055


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

2199


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

1344


How many program bind in one module....

2389


What is a record lock error?

1522


How to call one program from another program in RPG? please help me with the code

1506


what is an online rpg?

1004


How would display prime numbers using CL program?

5987


what is file information data structure?

1809


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1410


What is the difference between iter and do?

970


are there any useful c runtime apis that I can call from rpg iv?

942


what is a rpg?

949


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

1738


is this a rpg channel?

920