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


Explain the difference between an internal and an external
sort, the pros and cons, internal sort syntax etc.

Answers were Sorted based on User's Feedback



Explain the difference between an internal and an external sort, the pros and cons, internal sort ..

Answer / vampire

Internal sort is manual sort use in cobol.
external sort is in jcl using inbuild program name called sort

ex

//step1 exec pgm=sort

synatx for internal sort

sort/merge sortfile on ascending/descending
key1/key2/key3,using file1/file2/input procedure is
section-1 giving file3/file4/output procedure is section-2


nobody can write syntax more than this.it is combination.

Is This Answer Correct ?    5 Yes 0 No

Explain the difference between an internal and an external sort, the pros and cons, internal sort ..

Answer / ajmal

I would like to add something to that.

External Sort's syntax

//SYSIN DD *
SORT FIELDS = (length of key, starting position of key,
CH, A/D)
/*
A - Ascending
D - Descending

Correct me if i'm wrong

Is This Answer Correct ?    3 Yes 4 No

Explain the difference between an internal and an external sort, the pros and cons, internal sort ..

Answer / mailid

Sort fields syntax is

//SYSIN DD*
SORT FIELDS=(START POSITION,LENGTH,A/D,DATATYPE)
/*

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More COBOL Interview Questions

I have two sequential files, FILE-1 and FILE-2. FILE-1 contains 2 columns(A,B) and FILE-2 contains 3 columns (C,D,E).I want an output file, FILE-3 which has all five columns with duplicates eliminated from column A.

3 Answers  


How to covert given string into ASCII value in COBOL/MF COBOL

3 Answers   CTS, IBM, iFlex,


How do you reference the fixed block file formats from cobol programs

0 Answers  


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

0 Answers   Infosys,


What is the difference between comp and comp-3 usage? Explain other COBOL usage?s.

3 Answers   IBM, Xansa,


what is a load module ?

3 Answers   TCS,


how to transfer the file from pc to mainframe??

4 Answers  


How do you code Cobol to access a parameter that has been defined in JCL?

3 Answers  


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

0 Answers  


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

0 Answers  


How can you add a particular field/coloumn in copybook?

3 Answers   ADP, DELL, L&T,


If you were passing a table via linkage, which is preferable - a subscript or an index?

3 Answers   TCS,


Categories