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

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?

519


What are the types of identifiers?

579


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.

2287


Explain mdt?

672


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?

507






what is file information data structure?

1392


How to declare the pull button in AS/400..

1889


how do I play {insert rpg system here}?

595


is this a rpg channel?

691


We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

786


explain sflclr, sflend, sfldlt, and sflcsrrrn?

898


how do I preserve and clean the array?

683


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

720


How can we override a file during runtime in rpg?

699


what is an online rpg?

741