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 |
Hi,Please give me complete code with this logic. The question is how to read the records from a file with load an array of size with error condition? (The logic is Z-Add 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN9 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO)please give me complete code with explanation?
How Chain operation copies the record's data to the input buffer for the program?
what is the difference between the cpyf command crtdupobj command?
How can a screen field that has changed since the last output operation be detected?
How can we make use of SETLL operation in CL?
1.what are the ARITHMETIC EXPRESSIONS IN CL PGM? 2.How to PASSING PARAMETER TO CL PGM?
i 'm new to as/400.in an interview i was asked this question.give a practical example for passing information or data through local data area. I know only that data area is an object used to store tiny bits of data or it can store one value at a time and it is used to store frequently changing values or datas.thats all i know about data area can any one tell me how local data area and user defined data area are used to pass data between jobs with a example or coding.thanks in advance.
what are the key words you must use when using a subfile?
What is the syntax of passing parameters to a procedure by value?
how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE
What is ment by record level identifier?
I know whole thing ab't Arrays related to declaration..can anyone tell me what exactly use of array or anyone faced a situation where he found use of array must....