How can read PF in reverse order (end to start) in CL pgm..

Answer Posted / sai

Use OVRDBF Share(*yes)
Use the Openqry file by specified the values on opnqry file

Key field . . . . . . . . . . Key Field name
Key field order . . . . . . . *DESCEND

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to handle duplicate error handling in RPG?

1671


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

1870


What is the purpose of record level identifier?

722


give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........

3271


what is a rpg?

696






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...?

1457


can I touch the array during treatments?

750


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1304


how does the rpg element work?

711


how can I tell when to replace the array?

693


What is the difference between iter and do?

666


what is file information data structure?

1357


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?

478


How to call one program from another program in RPG? please help me with the code

1250


what is program status data structure?

1368