If we use the file level keywords like LIFO, FIFO, FCFO in a file, can we see the impact of it by doing the run query of the file? if not how can we see the impact of these keywords.
Answer Posted / amit k singh
If you are using FIFO,LIFO,FCFO then you can't see the impact by using the runqry command as fifo,lifo,fcfo are used to retrieved the duplicate key records.
so you have to retrieve the records from the file using rpgle program.simply write a program to read a file which is using these file level keywords.:)
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What is the difference between access path and open data path?
What is open data path?
Last statement of any rpg program is lr?
In a CL Program after executing a SQL SP how to receive a Output value from the SP. Just to make it clear I am sending 2 input and 1 output parameter to the SQL Stored Procedure. Now while receiving it output parm it is failing.
What is the interactive job? What is the batch job?
Suppose I have a pf,it contains 5 members,how to access particular member data from logical file ?and what is the use of member in pf?
What is the primary file?
How to index LF by relative record no (RRN)
What is the use of member in pf?
Can we concatenate fields in physical file? If yes how can we do?
There is one string as A B C and wanted to display string as Shri A Shri B Shri C, how we can do this in sql? If we have around 100 values in string like this, each value should be displayed with initials as Shri.
When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?
How many maximum record format a logical file have?
How to read a pf in reverse(from last record to first) using cl?
How to retrieve a physical file after deleting that?