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 write LF using flatfile.

Answer Posted / jitender singh

U can do in the following ways

Suppose u have Flat file XYZ of 10 lenght

What u do in LF
R REC1 PFILE(XYZ)
FLD1 I SST(XYZ 1 3)
FLD2 I SST(XYZ 4 7)

IN this way you can also name the filed in LF

Is This Answer Correct ?    17 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many maximum record format a logical file have?

953


How to find the list of source physical files in a library?

1072


What is the batch job?

950


How to update physical file using logical file with example?

1032


How to retrieve a physical file after deleting that?

1066


Can we concatenate fields in physical file? If yes how can we do?

1004


How to index LF by relative record no (RRN)

3260


When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?

1051


Suppose I have a pf, it contains 5 members, how to access particular member data from logical file? What is the use of member in pf?

1078


What is the use of member in pf?

968


I have a pf, it contains 5 members, how to access particular member data from logical file?

945


How to read a pf in reverse(from last record to first) using cl?

1080


What is the difference between access path and open data path?

1073


What is the primary file?

1089


Last statement of any rpg program is lr?

1049