How many types of sorts are there in cobol?
Answers were Sorted based on User's Feedback
Internal sort is handled by a cobol program using i/p file,work file and o/p file.
Internal sort is when you do any processing you need to recompile the cobol program
External sort is performed through jcl where you provide SORTIN and SORTOUT datasets and its easier to perform this sort as any changes, will require only submitting the jcl.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / srinivas enumula
There are two types of sorts
1)Internal sort--which will be performed by cobol SORT statement
2)External sort-Which will be performed by JCL SORT utility
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / panu
the no.of types of sorting in cobol or in jcl? i want the
clarification please.
in jcl there are 9 types but in cobol i don't know.any
body known pls tell me.
| Is This Answer Correct ? | 0 Yes | 7 No |
in cobol i have one file it contains records like 10,4,23,98,7,90..... total records 100. iwant 10 to 20 in reverse order in cobol environ ment any one please give the answer......
Write a program to concert an Indexed file into Sequential file?
if a dataset is already created with fixed length but after that i want to change fixed length to variable length then how is it possible
whats the disadvantage of search all over search?
I have a PS file and I would like to manually insert the binary values (like a COMP format) into the file. How can i do that? the way do in COMP-3 format.. suppose i want to insert -12345 in to file in comp-3 format. simply we can open a file in edit mode and do HEX-ON and insert the value . SEE BELOW-- 135 24D in 3 bytes - this will be COMP-3 presenatation of -12345.
what are the error codes in cobol, db2, cics, vsam , and jcl
If A>B next sentence end-if display 1 display 2. display 3. If a>b, it will display only 3.(the next sentence, ie., after fullstop/period) ____________________________________ if a>b continue end-if display 1 display 2. display 3. If a>b, it Will display 1 2 3 (the next statement) ____________________________________ if a>b continue display 1 end-if display 2 display 3. display 4. If a>b, Will it display 2 3 4 (or) 1 2 3 4 ?
01 var1 pic s9(9)v99. 01 var2 pic x(30). procedure division. move 12345.99 to var1. move12345.99 to var2. display var1. display var2. what is the output?
What do you do to resolve SOC-7 error?
how to resolve the file status 47.......
Consider the following: 77 A PIC 9(10) 77 B PIC 9(10) 77 C PIC 9(19) MULTIPLY AB BY B GIVING C Which of the following is true ? (a) The execution of the above may result in size error. (b) The execution of the above will result in size error. (c) The definition of C is invalid resulting in compilation error. (d) No error will be thee and the program would proceed correctly.
How can i write a comp-3 variable into a sequential file should i declara the field in the file description as comp- 3?