oza017.myorg.emp has 100 records ,oza018.myorg.staff has
200 records but 50 are the common records in both files
copy all the common records into oza017.myorg.xyz dataset
Answer Posted / mariopuzo
//step01 exec pgm=sort
//sysin01 dd=input1,disp=shr
// dd=input2,disp=shr
//sysout dd=output1,disp=(new,catlg,del)
//sysin dd *
Sum fields=none
/*
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is their any limit for data sets?
What is the function of the dd mgmtclas keyword in sms datasets?
what operation is performed by job statement?
Explain about LMFREE�free data set from its association with data ID
Is condition checking possible in jcl?
Explain how can values be passed from the job stream to an executable program?
Can I share my data with other jobs? How?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
what are JCLLIB and STEPLIB in JCL?
What are the parameters that are used in creating a gdg?
Explain about LMQUERY�give a dialog information about a data set
In job processing, what happens in execution stage?
Explain how can a stopped job be started again?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
What is concatenating?