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 100 records in a file.. i want to sort the records from
5 to 5o... give the syntax...

Answer Posted / anand

Follow the workaround below,
1.split the file into 3 files using IDCAMS
file1 1-4
file2 5-50
file3 51-100

2.Sort the mid file file2.

3.Finally merge all the 3 files using concatenation.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have a File that has duplicate records. I need only those records that occur more than thrice.?

10012


What are the pertinent COBOL commands?

3239


What is the difference between goback, stop run and exit program in cobol?

1648


Can you please let me know the centre name of INS certification in Kolkata.

2286


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1484


Difference between array and sub-script ?

1709


What is a scope terminator give example?

1157


how do you reference the variable block file formats from cobol programs

1311


Can we change the password using ALTER? anyone tried and changed?

2081


How do we get current date from system with century in COBOL?

1429


Write a program to enter and display the names of students in a class using the occurs clause.

1260


What is the Purpose of Pointer in the string?

1125


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1501


Have you used comp and comp-3 in your project? And how?

2522


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3319