In RPG program one file using as a PRIMARY file while
running program some of the records reading twice any body
know why its happening

Answers were Sorted based on User's Feedback



In RPG program one file using as a PRIMARY file while running program some of the records reading t..

Answer / prabhakar

This will happen if there is any duplicate records in
physical file..

Is This Answer Correct ?    3 Yes 1 No

In RPG program one file using as a PRIMARY file while running program some of the records reading t..

Answer / prabhakar

This will happen if there is any duplicate records are
exists

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More RPG400 Interview Questions

How to index LF by relative record no (RRN)

1 Answers  


What hapens when we use CPYF command to copy a LF? On which PF will it be dependent???

7 Answers   HSBC, Systime,


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

0 Answers   IBM,


what are the array operations?

1 Answers   IBM,


I want to add 10 days in current date. how it is possible in CL program...?

11 Answers   CSC,


To check the locks , we use cmd WRKOBJLCK , but how we confirm whether it's objeck lock / member lock. I confused with the Lock type and Status values...Can any body please tell me ...

5 Answers  


How can i check the object existance in RPG program without using QCMDEXC command.

7 Answers   IBM, JDA,


What are the types of identifiers?

0 Answers  


suppose i i am changing / updating record of subfile and i want to change the record in reverse order . means i want to change the bottom record first and so on through readc . how i do it please any one explain .

4 Answers   CSC,


How do you proceed in case your active AS400 session has got disconnected suddenly, how can you get back to your session ? Is it possible??

1 Answers  


How can read PF in reverse order (end to start) in CL pgm..

8 Answers   TCS,


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?

0 Answers  


Categories