How can you delete records form a file in rpg without
using "Delete" OPCODE?
Answers were Sorted based on User's Feedback
Answer / swaminathan.r
By using EXCPT opcode we can delete the records in Rpg..
That is on O spec we have E-DEL/ADD
| Is This Answer Correct ? | 27 Yes | 1 No |
Answer / 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 |
in a cl pgm records are copied to a file in qtemp a pgm is called to delete records from the file in qtemp no of records in file in library qtemp is checked wat shud be the count of records let say it was 10 initially endpgm
can anybody explain significance of *loval setll with example code????
steps for debugging two rpg programs????
how can an indexed file be used as arrival sequence in RPG?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
3 members in a databasefile .how to read records from all the members?????????
in rpg could u please tell me errors types and meanings like 3030 that ....
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...?
difference between 1:%found and %equal built function in detail with example .
What you have to do in the display file when you are using message subfile?
Hi, can any one tell me :IN CASE OF SINGLE PAGE FILE HOW WILL I LOAD THE PREVIOUS PAGE WITHOUT THE USE OF SFLCLR INDICATOR ?
What is the length of Signature?