File1 has 100 records and file2 has 200 records i want to
copy 50 records which r in both file into file3
Answer Posted / ayusman
First you have to join the two files with help of JOJNKEYS
in jcl sort . after that copy first 50 records by using
sort utility
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
which parameter is used to check the syntax of a jcl without executing it?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
Name what parameter directs the output of the job log dataset?
what are JCLLIB and STEPLIB in JCL?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
Is acct parameter mandatory?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
What are the parameter we cannot use in procedure?
What is the function of a dd statement?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
Can we use DISP=SHR in output file in JCL
How to execute 2nd and 4th steps among 5 steps in jcl proc?
Where can program checkpoints be stored for use in a restart?
Define concatenating?