How can we read a particular record from the database file
which is not having DDS (Flat File). For example, there are
100 records in the flat file. How can we retrive 15th
record in RPG/400 program (Without using CL)

Answer Posted / swetha

I think you can use setll only if the file has keyfield

Is This Answer Correct ?    4 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would display prime numbers using CL program?

5661


what is the necessary keyword needed to scroll subfile records?

686


what is kids-rpg?

654


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.

2175


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

3256






explain sflclr, sflend, sfldlt, and sflcsrrrn?

857


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1544


How Chain operation copies the record's data to the input buffer for the program?

1063


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?

472


What is file identifier where we can use?

625


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

537


is this a rpg channel?

660


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

1296


what was the robotech rpg?

666


what is *place and *auto keyword in prtf ?plz explain

2706