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


Please Help Members By Posting Answers For Below Questions

What is the syntax of JCL statement?

895


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

2000


State the uses of syspring, sysin, sort fields, sum fields and dummy.

828


what sort card you will use to copy the data from one dataset to another dataset?

939


Name what parameter directs the output of the job log dataset?

774


What is catelog procedure and how many catelog procedure to use in one job?

8001


A dd statement consists of 4 fields. Name them?

1161


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

1131


What is the function of dd disp parameter?

842


List the different components of jcl statement?

857


what operation is performed by job statement?

830


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

1200


what is the use of IEBGENER utility?

863


What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

1046


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?

8058