Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

there are too many ways-
1. declare that flat file as a edf in pgm and rename the
rcd-format and field name than set the pointer on 15 record
by setll and then read it.
2. define a per-run time array with fromfile(name of flate
file). then see th2 arrays 15 index value.

this are two methods. i have 2 more methods also
if any one want's contact me on pravin_cse1@yahoo.com

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to handle duplicate error handling in RPG?

2315


what is the rpg system?

1284


How can we know running job is batch or interactive?

1129


how do you use commitment control in rpg?

1287


is this a rpg channel?

1177


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

1243


what is the necessary keyword needed to scroll subfile records?

1161


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

3006


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

1737


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

2411


how do I play {insert rpg system here}?

1040


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

2020


what is data area and how it is used in rpg program ?

1327


When it is desirable to describe files Internally?

1718


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1732