How to read alternative records in a pf by using rpg?

Answer Posted / ramu

how to fetch alternate records from data base(pf) using RPG? (ex. 1st and 3rd and 5th .......etc)
I need Rpg code not theory?

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what do you mean by an input subfile, what are the keywords required?

1032


When it is desirable to describe files Internally?

1400


How to select highest score of each subject or how to select highest income of every month?

1508


what is data area and how it is used in rpg program ?

1033


How to handle duplicate error handling in RPG?

1978


how can you display specific subfile page on the screen in unequal subfile?

908


If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

842


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2747


do you use message subfiles? What are the necessary keywords required coding a message subfile?

911


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?

734


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

2184


which program rpg or cl is efficent to update a transaction onto a database file and why ?

988


what is the difference between do while and do until?

956


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

1522


what is a rpg?

921