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 / seema dawlekar

This can be done in two steps
in the step1 copy the the selective records by giving the
syntax as
skiprec = 4 -
stopaft = 50

this will copy only the selected records, now in the step2
we can perform sort
syntax is
sort fields=(starting position,length,type,A/D)
A--ascending and D--descending order

correct me if I am wrong

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2648


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

1273


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

2286


What are the pertinent COBOL commands?

3238


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2189


Name the sections present in data division.

1315


What is rmode(any) ?

1332


example for sub strings ? and refernce modifications whit output pls

2370


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

1212


how to access the file from prodution from changeman tool and to submit a file to production

7630


What are the different rules for performing sort operation?

1281


Can we redefine the field of x(200) to less than 200?

1431


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

1175


What are the various section in data division and briefly explain them.

1253


What is the usage of comp fields in cobol?

1223