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

purpose of pannel group??/

2 Answers   CTS,


1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?

12 Answers   IBM, Opus,


1.What is the Maximum field length we can declare in RLU?? 2. What is the difference if your designing RLU using DDS and using the option 19 for the RLU??

2 Answers  


2. Which of the following statement(s) explains the difference(s) between the /INCLUDE and ICOPY directives? a.) No difference, they function the same b.) ACOPY cannot be used as a conditional directive c.) IINCLUDE files cannot contain embedded SQL d.) Nesting /TNCLUDE directives is not allowed

2 Answers   IBM,


How can we make use of SETLL operation in CL?

11 Answers  


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

3 Answers  


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

0 Answers   IBM,


I know whole thing ab't Arrays related to declaration..can anyone tell me what exactly use of array or anyone faced a situation where he found use of array must....

1 Answers  


i would like to know under what circumstance the object will get locked on AS400.

5 Answers   IBM,


1.How you will find the program is batch or online in cl pgm? 2.How you will end the batch pgm when the job runs? write an logic? 3.In wich command the option *drop is used?

2 Answers   TCS,


How can we override a file during runtime in rpg?

0 Answers  


Can anybody tell me in which scenario we have to use SQLRPG .(Embeded SQL)....?

2 Answers   HSBC,


Categories