how can an indexed file be used as arrival sequence in RPG?
Answer Posted / kamlesh
do not specify K for record address type in F spec.
Use RECNO(VRRN) keyword where VRRN is packed data type
having dec pos as 0 and has length enough to hold
largest RRN of ur PF.
Now move RRN in VRRN variable and apply
VRRN Chain FILE 99
ur required record is retrieved
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is a record lock error?
How Chain operation copies the record's data to the input buffer for the program?
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
what is file information data structure?
how do I play {insert rpg system here}?
how does the rpg element work?
When it is desirable to describe files Internally?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
What is difference between bind by copy and bind by reference?
can I touch the array during treatments?
How many program bind in one module....
explain sflclr, sflend, sfldlt, and sflcsrrrn?