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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

2270


can I touch the array during treatments?

750


what is program status data structure?

1368


how do I preserve and clean the array?

667


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

749






what are the key words you must use when using a subfile?

684


what is the use of sflnxtchg?

795


what is *place and *auto keyword in prtf ?plz explain

2714


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1009


what is data area and how it is used in rpg program ?

748


What is the difference between iter and do?

663


When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

494


do you use message subfiles? What are the necessary keywords required coding a message subfile?

681


Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?

1443


How to select highest score of each subject or how to select highest income of every month?

1285