How can you delete a record from a file in RPG without using DELETE oppcode?
Answers were Sorted based on User's Feedback
Answer / surya siram
I believe we cant delete a record without using DELETE Opcode. Or we can use SQLRPG "Delete" statement to delete a particular record.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / as400vaibhav@gmail.com
we can use CLRPFM command in RPG by with API QCMDEXC.
| Is This Answer Correct ? | 0 Yes | 1 No |
1.Can any body share me about thease opcodes with example please.Im new for AS/400.Could u please tell me in real senario? 1.TESTN, 2.EVAL 3.EVALR, TIME, 4.MONITOR 5. ENDMON 6.ON-ERROR 7.COMMIT ROLLBACK?
What will be the value of STRING after line 0106 is executed in the code below? 0101 E* Fromfiletofile..tabnameprnentlenpdatabnamlenpda 0102 E ARR 8 1 0103 ISTRING DS 0104 I 1 8 ARR 0105 C MOVE *BLANK STRING 0106 C MOVEA'ABC' ARR A) 'AAAAAAAA' B) 'BBBBBBBB' C) 'CCCCCCCC' D) 'ABC ' E) ' ABC'
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...?
Job is in MSGW while reading the input file and writing a new record / updating a reacod due to Duplicate data error. What action would you take ( C D I R )...?
1.I have a Batch job, Running for 4 hours, i want to reduce the executing time to 2 hours what should you do?
why subproc not run in dftactgrp?????/plz explain
what is post opcode do
Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?
steps for debugging two rpg programs????
what is decimal data error? when it will come and how to achieve(rectify) this error please give me solution as well as code
how can we know running job is batch or intractive ? i need all the possibilites.........plz help me
Hi,This is raju.Can any body give me the real experience answer for this question? 1.What is the significance of *MAP and *DROP in the CPY command?