I know chain keyword retreive records randomly but how chain
keyword exactly works internally????
Answer Posted / sandy
chain op code firstly set the file pointer to BOF(begin of file).then look for key or rrn which is specified in factor 1.
in rpg400 EX:
Factor1 opcode factor2 Key/rrn chain file name/record format name
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
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 the difference between iter and do?
what is file information data structure?
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
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.
What is the difference between copybooks and subprocedures in as400?
how do I play {insert rpg system here}?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
how do I declare a minor?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
what are the key words you must use when using a subfile?