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

what is the use of outrecord?

2153


how do you reference the fixed unblock file formats from cobol programs

1174


) How do u handle errors in BMS macro

1957


How do get the result of your program directly on your pc?

2294


How can you get the ksds file records into your cobol program?

1026


What is inspect in cobol ?

1241


What are the different rules of SORT operation?

1082


What is the compute verb? How is it used?

1076


What is the utilization of copybook in cobol?

1114


Which is not true about evaluate statement

2393


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

1053


Explain how to differentiate call by context by comparing it to other calls?

1128


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

1521


Which Search verb is equivalent to PERFORM…VARYING?

999


What is the difference between Call and a Link?

1120