How can you delete a record from a file in RPG without using DELETE oppcode?

Answers were Sorted based on User's Feedback



How can you delete a record from a file in RPG without using DELETE oppcode?..

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

How can you delete a record from a file in RPG without using DELETE oppcode?..

Answer / as400vaibhav@gmail.com

we can use CLRPFM command in RPG by with API QCMDEXC.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More RPG400 Interview Questions

why we do STRSRVJOB in batch debugging in as400

1 Answers  


how to display all the members records in a physical file without using ovrdbf?

9 Answers  


2. Which of the following statement(s) explains the difference(s) between the /INCLUDE and ICOPY directives? a.) No difference, they function the same b.) ACOPY cannot be used as a conditional directive c.) IINCLUDE files cannot contain embedded SQL d.) Nesting /TNCLUDE directives is not allowed

2 Answers   IBM,


Can we journel logical file and access path? Can we use commitment control for non-join L.F?

4 Answers  


Need a sql query: retrive all duplicate records in table

3 Answers  






what is the difference between do while and do until?

0 Answers   IBM,


1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.

2 Answers  


how can an indexed file be used as arrival sequence in RPG?

3 Answers   IBM,


I have one cl program which calls two rpg programs named a & b. I am loading a run time array in Pgm A and the control comes back to cl pgm. i call pgmb and I want to read the runtime array in pgmb which was loaded in pgma. How it can be acheived. I should not use any intermediate file or dataarea to store the loaded values.

2 Answers  


We have a Physical file, after reading 5 records,it has to read LF of that same Physical file,Will it start reading from Ist record or will start reading from 5th record?

5 Answers   Hexaware,


Given the following code, what is the value of RESULT? DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++ D RESULT S 5 0 C EVAL RESULT = (2 + 3 * 2) ** 2 / 2

2 Answers  


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

0 Answers   iGate,


Categories