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

i want code and what are used key words are ...like wrkmbrpdm screen (q) i have a file with 3 fields empno,empname,empaddr... here you give the empno it displays from that number to remaining empno's how? sub file screen: employee details pos to:empno then enter empno empname empaddr so file have 100 records from 1 to 100 so the above pos you give the 55 empno...it displays the from 55 to remaining... ...... please share this answel

2 Answers   IBM,


what is kids-rpg?

0 Answers   IBM,


how do I preserve and clean the array?

0 Answers   IBM,


Can anybody tell me in which scenario we have to use SQLRPG .(Embeded SQL)....?

2 Answers   HSBC,


I have file with data as follows data 1 2 3 4 5 I need to read 1 and 5 ,then 2 and 4 then like.. upto end of file, can any one help on this

3 Answers   ISG,






how can I tell when to replace the array?

0 Answers   IBM,


how many variables can we declare in cl pgm?

13 Answers  


wat is curser?? and its types???

4 Answers   HSBC,


How can we override a file during runtime in RPG? Without using OVRDBF or calling a CL program

1 Answers   UST,


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

8 Answers   TCS,


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?

0 Answers  


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.

0 Answers   IBM,


Categories