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

How do define Dymanic array in cobol how do u define single demensional arry and multidymensional arry in ur cobol.

4 Answers   Cap Gemini,


what is search and searchall?what is the diffrence between them?give an best example?

3 Answers   BirlaSoft,


COMP?

2 Answers  


how many bytes do SPPPP999 will store?

18 Answers  


what is the use of comp2 ? where can we use it with example ?

3 Answers   Covansys,






how to change picture class of copy book variable inside program?

2 Answers  


what is linkcard in cobol?

1 Answers   TCS,


what is call by value and call by reference ?

3 Answers   Infosys, ITC Indian Tobacco Company,


What are the different open modes available in cobol?

0 Answers  


In my table having 3000 Records. How can I delete the 500th row? (we don't know what is data inside the table)

3 Answers   Keane India Ltd,


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

0 Answers   UST,


wht happens if we dnt give scope terminator ?

4 Answers   TCS,


Categories