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...

what are the steps to sort in a cobol program?

Answer Posted / snehatechm

sort file-1 on ascending/descending key using file-2 giving
file-3

file-1 is the work file and it should be defined in SD
file-2 is the input file and it should be defined in FD
file-3 is the output file and it should be in FD.

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the utilization of copybook in cobol?

1266


How arrays can be defined in COBOL?

1291


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

1265


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

1641


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

1259


Which mode is used to operate the sequential file?

1248


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

1302


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

7619


how to move the records from file to array table. give with code example

2723


Name the sections present in data division.

1302


Describe the cobol database components?

1213


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

1300


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

8018


For rewrite, why is it mandatory that file needs to be opened?

1148


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

1176