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 |
What will happen if we r using seton lr after return or vice versa.
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...........
Anyone help me for the below question:- If problem/error occur in *PSSR subroutine,how should I handel it in RPG program.
Can anybody tell me, does CL/400 handle LEVEL check while running the CL program....? plz share your experience...
Errors in Sql query will be in which state?
we are sending data of physical file to screen design and it is showing no record why?
can we perform CHAIN operation on Subfile record format....?
Maximum how many files declare in rpgle
what is the difference between SETON RT & RETURN?
Need a sql query: retrieve all duplicate records in table?
1.CA(command Atention key)& CF(command Function key) difference with example?Please can any body tell me in real time exp? 2.Can any body tell me some mandatery function keys using while creating any screen with use of SDA-FUNCTION kEYS?
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...?