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
how do you use commitment control in rpg?
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
How to declare the pull button in AS/400..
what is the procedure and explain about real time scenario.
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 can I tell when to replace the array?
can I touch the array during treatments?
What is the difference between copybooks and subprocedures in as400?
How can we override a file during runtime in rpg?
How can we know running job is batch or interactive?
how can you display specific subfile page on the screen in unequal subfile?
How to write record if no field or the field are different in physical file in rpgle ?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
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?
what is the necessary keyword needed to scroll subfile records?