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 do you sort in a COBOL program? Give sort file
definition, sort statement syntax and meaning.

Answer Posted / mftech

Need to define the SORT-FILE in SD in file section.

Sort SORT-FILE
Using Input-File
Giving Output-File

Can also use inout procedure and output ptocedure inplace
of input fiile and output files.

Is This Answer Correct ?    14 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

12395


What are literals?

1147


What is a report item?

1149


Describe the cobol database components?

1183


Write a program to explain size error.

1204


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

3264


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

1157


example for sub strings ? and refernce modifications whit output pls

2323


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

2478


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1507


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

2219


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

2249


What is the difference between structured cobol programming and object alternativelyiented cobol?

1256


What are declaratives and what are their uses in cobol?

1207


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

3173