Answer Posted / dimpy19
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 ? | 0 Yes | 0 No |
Post New Answer View All Answers
when can a job time-out occur? How to overcome that?
whats the diff bw the evaluate also and and?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
Explain how can a jobs execution priority be modified?
Explain how can a stopped job be started again?
what is use of disp parameter in dd statement?
How gdg are concatenated?
What is the function of job statement in jcl?
How to submit jcl through a cobol program?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
Explain about ISPF/TSO Commands
Explain how can the attributes of one sms dataset be copied to another dataset?
What dd statement is used to supply the name of a dataset?
how to run batch program without jcl?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.