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 / nagaraju

SORT SORT-FILE
ON ASCENDING/DESCENDING KEY key-value
USING input-file
GIVING output-file.

we can use input procedure and output procedure as fallow
SORT SORT-FILE
ON ASCENDING/DESCENDING KEY key-value
INPUT PROCEDURE IS --------
OUTPUT PROCEDURE IS -------.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the configuration section of a cobol program with examples of syntax.

1252


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

2512


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

1204


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

1205


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

2599


Explain what you understand by passing by value.

1197


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

912


what is the use of outrecord?

2269


what is the difference between COBOL2 AND COBOL390?

3107


What are all the divisions of a COBOL program?

1264


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9173


Explain how you can characterize tables in cobol?

1110


How do u write test cases?

2106


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1389


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1295