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
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 the difference between copybooks and subprocedures in as400?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
What is the difference between iter and do?
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
how do I play {insert rpg system here}?
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?
what is the use of sflnxtchg?
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.
When it is desirable to describe files Internally?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
How many program bind in one module....
what is the difference between do while and do until?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
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