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 |
Some times While checking MSGW for object / member / record locks ,I have seen it's locked by itself ...? How it happen and what action we need to perform if job is updating / writing a record....?
How to check which are the pgms using 1 perticulate file.? I know there is many tool available for X-reference...but need to know is there any command available in the system...?
how to display all the members records in a physical file without using ovrdbf?
1.Write code to read the records from a file and load an array of size 99? Make sure that you take care of all the error conditions?
difference between 1:%found and %equal built function in detail with example .
What is the syntax of passing parameters to a procedure by value?
What is Multi Occurrence Data Structure(MODS)?
suppose one file is used by 100 user and file is locked by 100 user, what are the impact analysis?
how we retrieve records without using key field (ex:name) from Physical File through RPG in as/400?
How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.
what is *place and *auto keyword in prtf ?plz explain
Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?