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
is this a rpg channel?
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.
How would display prime numbers using CL program?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
what is file information data structure?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
what is program status data structure?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
What is ment by record level identifier?
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...........
How to declare the pull button in AS/400..
How can we know running job is batch or interactive?
how do I declare a table or array in rpg iv?
can you debug ile rpg program using isdb?
How Chain operation copies the record's data to the input buffer for the program?