How can you delete a record from a file in RPG without using DELETE oppcode?

Answers were Sorted based on User's Feedback



How can you delete a record from a file in RPG without using DELETE oppcode?..

Answer / surya siram

I believe we cant delete a record without using DELETE Opcode. Or we can use SQLRPG "Delete" statement to delete a particular record.

Is This Answer Correct ?    4 Yes 1 No

How can you delete a record from a file in RPG without using DELETE oppcode?..

Answer / as400vaibhav@gmail.com

we can use CLRPFM command in RPG by with API QCMDEXC.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More RPG400 Interview Questions

1. If my rpg program has a date field, What extra care I have to take while compiling that RPG program? 2. If the file is keyed and I have declared the file as well as Key list properly in my program. Still am getting an error message like "Chain/reade operation is not allowed" What may be the case?

6 Answers   Virtusa,


is this a rpg channel?

0 Answers   IBM,


If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

0 Answers  


what is the procedure and explain about real time scenario.

0 Answers   Adhoc Technologies, Hanuman Automation, HSBC, IBM,


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

0 Answers   IBM,






Can anybody tell me the setps to create .csv file in IFS folder on AS/400. I also need to know how I can send this .csv file to PC in xls sheet.....?

2 Answers  


How to find d key field of a pf that doesn’t have source physical file?

2 Answers  


I have some doubts on subfile----------- -----I wrote a prog on subfile to display the records. Every thing is clear but i defined a field called "opt" as input field in subfile record format from that input field i wish to enter into new screen called "EDIT" which i created it as a separate RCD in display file. i gave opt as 2 for edit just like in WRKMBRPDM screen please telll me the code and how can i code for it in RPG.

3 Answers  


What is use of IMPORT and EXPORT in RPGLE ? What is activation Group ? What is Service Program ???? How to call another program in RPGLE ?

1 Answers  


What is I90(Insure 90)?

1 Answers  


How to read a record from file where there is multiple record occurrence is available?

1 Answers  


how can we can we the data decimal error?how can we open such file in support

1 Answers  


Categories