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 is a rpg?

705


give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........

3291


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

1466


what is an online rpg?

733


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

694






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

2521


how do you use commitment control in rpg?

760


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

777


how do I preserve and clean the array?

677


how can I tell when to replace the array?

706


Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?

1459


What is the difference between iter and do?

680


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?

519


We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

775


What are the types of identifiers?

574