I have two input SORTIN files and We need to create one
SORTOUT file which contains data of both input files. What
is the SortCard for this?. Suppose the length of the both
files are different, then How we do it? Please reply ASAP
Answer Posted / vikas pujar
1) Sortcard to merge two files will be
//Sysin dd *
Sort fields=copy
/*
2) When try two merge two files using sort, first thing to see is they are of same length. If they are not, change the length of one equal to other in one more step which come prior to sort step.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the function of the dd avgrec keyword in sms datasets?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
What are the difference between jcl and jes?
How to override loadlib?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
How to run cobol program using jcl?
Explain the function of the steplib dd statement?
Explain the purpose of dd dummy statement?
What is the purpose of the dd keylen parameter?
List in order the hierarchical levels of jcl?
Can I share my data with other jobs? How?
Brief description of inline procedure of jcl.
How do you overcome this limitation ?
Explain the function of the dd dcb keyword?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C