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 syntax of JCL statement?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
what sort card you will use to copy the data from one dataset to another dataset?
Name what parameter directs the output of the job log dataset?
What is catelog procedure and how many catelog procedure to use in one job?
A dd statement consists of 4 fields. Name them?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
What is the function of dd disp parameter?
List the different components of jcl statement?
what operation is performed by job statement?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
what is the use of IEBGENER utility?
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 resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?