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

Answer Posted / uday bagdi

we can create the pre-run time array so that data-base file come in our rpg program then we read that pre-run time array with loop and increment the array indexing by 2

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1522


What is file identifier where we can use?

877


what is kids-rpg?

909


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.

1000


How many program bind in one module....

2387


Explain mdt?

890


How Chain operation copies the record's data to the input buffer for the program?

1342


How can we know running job is batch or interactive?

890


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

963


what is the rpg system?

949


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

934


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2421


What is a record lock error?

1522


How can we override a file during runtime in rpg?

950


What is the difference between copybooks and subprocedures in as400?

1108