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
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
what is JCL?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
how you can access an uncataloged dataset in a JCL?
What is the syntax of JCL statement?
What do you know about jcl?
What statement can be used to send data to another mvs jes3 node?
What happens if both JOBLIB & STEPLIB is specified ?
Is it possible to left uncode disp? If yes, how?
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.
How can a jobs execution priority be modified?
Where can program checkpoints be stored for use in a restart?
which parameter is use to declare the name of dataset in dd statement?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
Explain how can return codes be tested before execution of a job step?