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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of record level identifier?

916


what is the procedure and explain about real time scenario.

1722


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

998


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

739


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1773


When it is desirable to describe files Internally?

1415


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

1044


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

926


what is file information data structure?

1801


Explain mdt?

890


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

802


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?

752


give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........

3574


How can we know running job is batch or interactive?

890


How to write record if no field or the field are different in physical file in rpgle ?

716