check existence of one record without using chain or read?



check existence of one record without using chain or read?..

Answer / amit

Use setll with %equal to check if the record exists or not.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

what is use of sflnxtchg and use of MDT(modify data tag).both r same r not and can we use these on dspf and subfile.

2 Answers  


What will be your approach in going either for OPNQRYF or Logical files. Which one to go for?

2 Answers  


I have a file .In that file i have 3 fields. Those fields are eno, ename, esal.Keyfield is eno. In that file i have data like this for eno 1,2,3,4,5. Now i need to display 2nd record. That means i need to set the pointer on 2nd record... Then, write the complete rpg program using setll.

1 Answers  


how to run only 10 modules of existing N modules in service program in RPGILE ?

3 Answers   Wipro,


What is the purpose of Panel Groups?

4 Answers  






What is significance of a file designated as a Primary file in Rpg400 program....also what's use of secoundry file

1 Answers  


Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

1 Answers  


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

7 Answers  


what is the difference between do while and do until?

0 Answers   IBM,


there is any limit to display the members in rpg400?

3 Answers  


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

0 Answers  


How can you determine the number of characters in a variable?

3 Answers  


Categories