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
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 |
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 |
Answer / mailid
Sort fields syntax is
//SYSIN DD*
SORT FIELDS=(START POSITION,LENGTH,A/D,DATATYPE)
/*
Is This Answer Correct ? | 0 Yes | 1 No |
How do define Dymanic array in cobol how do u define single demensional arry and multidymensional arry in ur cobol.
what is search and searchall?what is the diffrence between them?give an best example?
COMP?
how many bytes do SPPPP999 will store?
what is the use of comp2 ? where can we use it with example ?
how to change picture class of copy book variable inside program?
what is linkcard in cobol?
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?
In my table having 3000 Records. How can I delete the 500th row? (we don't know what is data inside the table)
How do get the result of your program directly on your pc?
wht happens if we dnt give scope terminator ?