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
Answer / prabhakar
This will happen if there is any duplicate records in
physical file..
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / prabhakar
This will happen if there is any duplicate records are
exists
| Is This Answer Correct ? | 0 Yes | 3 No |
1.find most occurrences of a character. for exm: input:aaabbbbdddddyyy output: d 5 times how can i get that?
how to check on which PF , the LF is dependant ?
how can we know running job is batch or intractive ? i need all the possibilites.........plz help me
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.
what is file identifier wher we can use
what is the difference between do while and do until?
what built in function can be used with SETLL.If you want to check whether the search argument is successful or not? Please give me answer with example?
how can we can we the data decimal error?how can we open such file in support
What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.
In case if I want to know whether a record exists in a file, which one do you prefer CHAIN or a SETLL and why ?
1.How to read a subfile in out put mode? 2.what are the keywords used to share same file? 3.using composite key which rpg code used?
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