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 / baggy

That is possible by using embedded sql to fetch the data
using CURSORS to subfile and group by ASCEND or DESCEND

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can you display specific subfile page on the screen in unequal subfile?

786


What are the types of identifiers?

660


How to handle duplicate error handling in RPG?

1824


explain sflclr, sflend, sfldlt, and sflcsrrrn?

973


what is an online rpg?

845






how do I declare a table or array in rpg iv?

827


what is a rpg?

785


How to write record if no field or the field are different in physical file in rpgle ?

580


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2603


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

2067


How many program bind in one module....

2230


What is the difference between iter and do?

795


If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

715


how does the rpg element work?

815


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.

2383