I know chain keyword retreive records randomly but how chain
keyword exactly works internally????
Answer Posted / drew
CHAIN:
positions current record to correct record based on key
sets HI indicator *ON if position fails and sets %found()
off in free-form code
reads the record fields into the automatic internal buffer
fields
locks the record, if in update mode and "no lock" has not
been added to the command ( chain(n))
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
When it is desirable to describe files Internally?
what is program status data structure?
how do I preserve and clean the array?
can you debug ile rpg program using isdb?
what are the key words you must use when using a subfile?
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
are there any useful c runtime apis that I can call from rpg iv?
what is an online rpg?
what is *place and *auto keyword in prtf ?plz explain
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 iter and do?
how do I declare a minor?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
What is ment by record level identifier?
what is the rpg system?