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 / vinodh

IN SORT, YOU CAN USE JOINKEYS AND CAN TAKE 50 COMMON
RECORDS IN B/W 2 I/P FILES AND WRITE TO O/P FILE.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the hierarchy levels in jcl?

1130


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

640


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

1983


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

1937


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

797






how would you create a temporary dataset? And where will you use them?

780


What is the purpose of dd?

735


in ways data can be passed to a COBOL program from JCL?

677


List in order the hierarchical levels of jcl?

678


Explain the function of dd disp parameter?

607


Matching Logic in Jcl not in cobol.Could any one please answer this question

3686


What dd statement is used to supply the name of a dataset?

786


What parameter directs the output of the job log dataset?

773


What are the parameter we cannot use in procedure?

650


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

593