can we use cl programming to update or delete physical files

Answers were Sorted based on User's Feedback



can we use cl programming to update or delete physical files..

Answer / uday bagadi

yes we can update data-base file through cl400 simply we write upddta command in cl pgm and give the data -base file name lib name and member name it directly give the update mode of this file.and same as we write deletf command in cl pgm

Is This Answer Correct ?    3 Yes 4 No

can we use cl programming to update or delete physical files..

Answer / manish verma

Updation of any file is not possible through CL but if you
want to delete a file u can definately do it by using the
command remove member RMVM

Is This Answer Correct ?    5 Yes 11 No

Post New Answer

More RPG400 Interview Questions

Difference between creating a report using Printer file and WRKQRY(Query Report) ?

3 Answers  


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

0 Answers  


HI,1: What is the function of 'SETON LR' AND '*INLR=*ON ? 2:Can we used "seton lr" OR "*INLR = *ON" in between the program code ? 3:if yes then according to there function the code which is written acter seton lr/ *inlr should not be execute . Can any one tell me why those code get executed ?

2 Answers  


How can i check the object existance in RPG program without using QCMDEXC command.

7 Answers   IBM, JDA,


how do u find whether a record is locked or not??

4 Answers   CTS,






I have 1000 records in a file. I would like to generate 10 identical reports from this record with same format (structure of records) how do I do this?

1 Answers   IBM,


if i have three programs progA,progB and progC .now i call progB from progA. but the progB does not exist . now i want to call progC instead of starting dump. how can we achieve this.

10 Answers   Four soft,


how can you display specific subfile page on the screen in unequal subfile?

0 Answers   IBM,


what is ment by "MDT"

2 Answers   TCS,


what procedure should we use to find whether the following operations are successful or not setll setgt chain read reade readp pls tell with example i'm not lazy to read the manual or not lazy to do anything.but sometimes i cannot understand the things given in manual in high level english its little bit complicated for me,i can't understand their way of writing thats why i ask these questions here and find the solution in simple words that i can understand thats the real reason sir.sorry if i had hurt you or disturbed you.please understand my situation.

5 Answers   iGate,


What is the difference Return and InLr?

3 Answers  


what do you mean by an input subfile, what are the keywords required?

0 Answers   IBM,


Categories