How can you delete records form a file in rpg without
using "Delete" OPCODE?

Answer Posted / s.kumar

Hi Syam,
According to me, if you don't want Delete opcode
so use Embedded Sql in Rpg....Right?

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?

1701


What is file identifier where we can use?

891


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?

867


what is an online rpg?

1006


How to handle duplicate error handling in RPG?

2008


how do you use commitment control in rpg?

1018


which program rpg or cl is efficent to update a transaction onto a database file and why ?

1022


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

723


write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

1093


can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

2577


What is a record lock error?

1526


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2776


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.

1006


what is the procedure and explain about real time scenario.

1728


what are the key words you must use when using a subfile?

915