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
Where the QTEMP library will get created? if the the answer is QSYS, then howcome more than one job can create same library name(QTEMP) in QSYS? what is the uniqueness of QTEMP? For example, run the below command in different workstation WRKOBJ QSYS/QTEMP And take 8 in the option to check the description. both will have different info. so where(which LIB) exactly the QTEMP is stored?
I have a pf, it contains 5 members, how to access particular member data from logical file?
How to change the batch job to interactive job?
How many maximum record format a logical file have?
What is FORMAT keyword and its use?
How to read a pf in reverse(from last record to first) using cl?
What is the use of member in pf?
What is the interactive job?
How to know the particular record in pf with out reading?
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.
How to index LF by relative record no (RRN)
What is the primary file?
How to find the list of source physical files in a library?
What is the purpose of the chain and setll and setgt?
Suppose I have a pf, it contains 5 members, how to access particular member data from logical file? What is the use of member in pf?