suppose i i am changing / updating record of subfile and i
want to change the record in reverse order . means i want to
change the bottom record first and so on through readc . how i
do it please any one explain .
Answer Posted / maheshg
better to have multi occurance of DS load all the record
which is read through READC and read DS in reverse oreder
for changing / updating.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
which program rpg or cl is efficent to update a transaction onto a database file and why ?
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?
how do you use commitment control in rpg?
what is *place and *auto keyword in prtf ?plz explain
How to call one program from another program in RPG? please help me with the code
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 rpg system?
are there any useful c runtime apis that I can call from rpg iv?
how does the rpg element work?
what is file information data structure?
What is a record lock error?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
what are the key words you must use when using a subfile?