We have two PS files,want to compare those files and put
the duplicate records in one file.
Input file 1 contains(1,2,4,9,10)
Input file 2 contains (1,4,5,11,12,14,16).

Help me with jcl.

Answer Posted / mdv

@Shriram Supalwar, Dharmabad

You don't need the IEBGENER STEP.

Your second step sort can have both the files concatenated
as one and given as Input.


Thanks

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is JCL?

694


In job processing, what happens in conversion stage?

736


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

780


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5060


how you can access an uncataloged dataset in a JCL?

651






How can the attributes of one sms dataset be copied to another dataset?

849


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

858


I need exexution process for JCL programs

1848


Explain the function of //jcllib statement?

701


What are s0c1, s0c4, s0c5, s0c7 and socb?

698


How to pass the parameter in parm using linkage section ? (syntax)?

646


Explain how can a jobs execution priority be modified?

736


What are the parameters that are used in creating a gdg?

737


I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

1728


hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

1662