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

Can't we use SETGT >> READPE >>> Update ?

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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.

2146


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

1981


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?

610


Explain mdt?

765


what is the rpg system?

767






When it is desirable to describe files Internally?

1275


How many program bind in one module....

2230


what is the procedure and explain about real time scenario.

1567


What is a record lock error?

1356


Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

618


how can I tell when to replace the array?

783


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

1996


what is the use of sflnxtchg?

895


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.

2290


How to select highest score of each subject or how to select highest income of every month?

1390