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

What is the difference between external and global variables in COBOL?

1479


What are all the divisions of a COBOL program?

1226


What are declaratives and what are their uses in cobol?

1214


In which area will you utilize 88 level items in cobol?

1174


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1654


What is the local-storage section?

1159


What are the pertinent COBOL commands?

3192


Write the code implementing the perform … varying.

1081


How many bytes S(8) comp field occupy and its maximum value?

2152


Define cobol?

1416


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2495


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

1268


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2485


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

3179


Differentiate between structured cobol programming and object-oriented cobol programming.

1166