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

Answer Posted / sajied

use posdbf opnid(file name)
position (*start)

Is This Answer Correct ?    4 Yes 26 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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?

774


Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

4216


can you debug ile rpg program using isdb?

740


which program rpg or cl is efficent to update a transaction onto a database file and why ?

749


What is file identifier where we can use?

652






how does the rpg element work?

720


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

1299


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.

2056


what is the use of sflnxtchg?

806


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?

624


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

3290


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

1884


When it is desirable to describe files Internally?

1193


What is the purpose of record level identifier?

730


explain sflclr, sflend, sfldlt, and sflcsrrrn?

891