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 |
What is the compilation option that has to he specified while compiling an RPC program which uses a file having date data type field?
Why we cannot call a service program? If I add a PEP can i call the service program?
How do you find whether a job is a batch job or interactive?
How can you delete records form a file in rpg without using "Delete" OPCODE?
what procedure should we use to find whether the following operations are successful or not setll setgt chain read reade readp pls tell with example i'm not lazy to read the manual or not lazy to do anything.but sometimes i cannot understand the things given in manual in high level english its little bit complicated for me,i can't understand their way of writing thats why i ask these questions here and find the solution in simple words that i can understand thats the real reason sir.sorry if i had hurt you or disturbed you.please understand my situation.
The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?
1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.
2. Which of the following statement(s) explains the difference(s) between the /INCLUDE and ICOPY directives? a.) No difference, they function the same b.) ACOPY cannot be used as a conditional directive c.) IINCLUDE files cannot contain embedded SQL d.) Nesting /TNCLUDE directives is not allowed
Suppose we add one field in physical file and this physical file is used by several programs.how do we know which program is using that file? What are the impact analysis.
steps for debugging two rpg programs????
WHERE DO WE USE COMIT KEYWORD IN AN RPG PROGRAM? YOU MADE SOME CHANGES TO DATABASE BUT YOU DON'T WANT TO SAVE THOSE CHANGES NOW? HOW DO YOU HANDLE THIS ONE?
this is rpg3 code W0RTN IFEQ @CN,002 what is the means @CN,002