Delete FileName at first statement in RPG.



Delete FileName at first statement in RPG...

Answer / sagar

If factor 1 contains no entry, the DELET operation deletes the current record (the last record retrieved). The record must have been locked by a previous input operation (for example, CHAIN or READ).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

0 Answers  


Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?

1 Answers  


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

0 Answers   IBM,


how can I tell when to replace the array?

0 Answers   IBM,


The RP program is displaying records 11 times .But there are 10 records in a pf.(ie last record is displayed twice).How to display records only 10 times?

5 Answers  






In ProgramB there is a SBMJOB, which is a call to program C .There is also a CALL to program D from B. How would you check the program C has been executed in D?

4 Answers  


We have a Physical file, after reading 5 records,it has to read LF of that same Physical file,Will it start reading from Ist record or will start reading from 5th record?

5 Answers   Hexaware,


How to call one program from another program in RPG? please help me with the code

0 Answers   HCL,


How to create a key field for a logical file inside RPG?

4 Answers   HSBC,


difference betwen keywords and opcodes

3 Answers  


what is use of sflnxtchg and use of MDT(modify data tag).both r same r not and can we use these on dspf and subfile.

2 Answers  


How can i keyed a flat file in RPGLE

5 Answers   IBM, Wipro,


Categories