How do you do indexing in a physical file?
Answers were Sorted based on User's Feedback
Answer / rizwan
Indexing is nothing but keying a Physical File.
If you specify a key field for a Physical file,then the
Physical file is referred as Indexed Physical File Or Keyed
Physical File.
Is This Answer Correct ? | 8 Yes | 0 No |
suppose i i am changing / updating record of subfile and i want to change the record in reverse order . means i want to change the bottom record first and so on through readc . how i do it please any one explain .
How to print Superscript / Subscript from RPG400
How to declare the dynamic(run time) array in rpgle? can you please give example
what is importance of 'MAPFLD' IN OPNQRYF FILE ?
what is program status data structure?
What is the compilation option that has to he specified while compiling an RPC program which uses a file having date data type field?
If the last record of a file has been read, and the next operation on that file is a READ operation, what will be the values of the input fields for that file? A. They will be blank and/or zero. B. They will be null. C. They will equal the values of the first record in the file. D. They will equal the values of the last record read.
A rpg or clp command to find if the file field is defined as a character or numeric field.
Suppose my file has 10 fields and I want to make the 2nd field zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation?
I want to declare the number of elements of an array dynamically in RPGLE ? Is it possible? If yes, then how do I do it ?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
What is the difference between copybooks and subprocedures in as400?