What will be your approach in going either for OPNQRYF or
Logical files. Which one to go for?
Answers were Sorted based on User's Feedback
Answer / sulthan
OPNQRYF dynamically creates the records required according
to the parameterrs and this process could be slow. While
using logic files , we already have the a record fectching
path and it is faster. so if a program needs to be run
multiple times, use LF's and if once in a while, go for opnqryf.
| Is This Answer Correct ? | 8 Yes | 0 No |
Write the subfile logic program for the given concept. Load the data to the subfile depends upon the designation where designation is not a key 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.
1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?
i want to retrieve record b/w 2 dates in as400
what is difference between DSPFD and DSPFFD?please give me real senario with good example?
what is file identifier wher we can use
i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program
How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.
Delete FileName at first statement in RPG.
Can any one plz explain the concept of INFSR, *PSSR, INFDS AND PSDS, I' confusing about PSDS and *PSSR, Wat is the difference btw them, wat PSDS will do????
Can anybody tell me, does CL/400 handle LEVEL check while running the CL program....? plz share your experience...
How Commitment and Roll back control is used in as400, explain with real time senario ???