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

Answer Posted / surendra y mudliar

If you want to delete all the records then you can do by
using API QCMDEXC and pass the parameter as CLRPFM.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you use commitment control in rpg?

1001


how do I preserve and clean the array?

862


can you debug ile rpg program using isdb?

955


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

901


what is *place and *auto keyword in prtf ?plz explain

2938


what is the use of sflnxtchg?

1033


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

1488


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

2748


What is file identifier where we can use?

859


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

2092


How would display prime numbers using CL program?

5976


what is the procedure and explain about real time scenario.

1715


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

1719


Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

4770


How to declare the pull button in AS/400..

2123