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 are the rules employed while naming the steps in a job?
Explain the function of //jcllib statement?
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.
Name the parameters which can be used to limit the number of records written to a sysout dataset?
What is timing concept in mainframe?
How to run cobol program using jcl?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
what is the difference between JES3 and JES2?
What are some jcl statements that are not allowed in procedures?
What is the function of dd name parameter with a 2 part structure; audit.report?
What does a disposition of (MOD,DELETE,DELETE) mean ?
how JCL works?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
Is it possible to code instream data in a PROC?
Suppose I have five jobs to do. But I want to hold one?