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

I have two questions here.
1. How to read a flat file in reverse order?
2. How to read a VSAM KSDS file in reverse order?

In both the cases we donot know the total number of records.

Answer Posted / hanish

Flat file may be read in reverse order by using the following code

READ file-name into data-name REVERSED.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what happens if parmparameter passes zero bytes to the program

2131


Can a Search can be done on a table with or without Index?

1289


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

1153


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1297


What is link edit in cobol?

1195


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17880


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

1327


Define cobol?

1402


How to print 10 to 1 if the input have only 10 digit number?

1262


how do you reference the esds vsam file formats from cobol programs

1216


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

1205


What is length is cobol?

1099


Explain about different table spaces.

1097


i need a small 3d program using inline and outline.

2209


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1566