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
Give the syntax of job specifying jcl statement.
In sms datasets, what is the function of the dd avgrec keyword?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
Differentiate between the joblib and the steplib statements?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
What parameter directs the output of the job log dataset?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
Explain about ISPF/TSO Commands
What do you understand by the terms: joblib and steplib?
Is condition checking possible in jcl?
Is it possible to code instream data in a PROC?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
What is multithreading in jcl?