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
what do you mean by an input subfile, what are the keywords required?
what is an online rpg?
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...?
what is a rpg?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
what is file information data structure?
what is program status data structure?
what are the key words you must use when using a subfile?
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.
how do I play {insert rpg system here}?
how can I tell when to replace the array?
how do I declare a minor?
How Chain operation copies the record's data to the input buffer for the program?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
how do I preserve and clean the array?