OPNQRYF AS/400 (RPGILE)
20 pts.
0
Q:
OPNQRYF AS/400 (RPGILE)
Dear all,
i am done one program in this program one data base file which are Master file and it's use all day and lot of records are there, my program make the report it taking too much time, i am want to use OPNQRYF but it
s not posible in master file because it's use some time any other option or logic for less time to get report please let me know

Thanks
 

Software/Hardware used:
OPNQRYF AS/400 (RPGILE)
ASKED: Oct 9 2009  6:45 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
6540 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
If the file is that large and it takes to long to build the access path on the fly, just create a LF and keep the access path maintained.
If you are useing OPNQRYF for record selectionj and for sequence. create the LF in the sequence you desire and the OPNQRYF will run faster because it will use the existing access path and just have to do dynamnic selection.
Last Answered: Oct 9 2009  1:02 PM GMT by CharlieBrowne   6540 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0