How can you delete records form a file in rpg without
using "Delete" OPCODE?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we know running job is batch or interactive?

660


is this a rpg channel?

684


are there any useful c runtime apis that I can call from rpg iv?

704


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...?

1467


what is the rpg system?

670






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...........

3291


Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

520


What is a record lock error?

1271


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1319


what is program status data structure?

1395


what is an online rpg?

734


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

721


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.

759


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

2731


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2202