Wrete a JCL to compare two files and mached records move to
onc file & un mached rows wants to another file?
Answers were Sorted based on User's Feedback
Answer / rams
Read one file sequentially and load the other file in
table.For every record in the file search Table for the
match.
Tips - Load the small fine in table. If you load then in
ascending/descending order, you can use Binay search (
Search All ) which is faster than sequential search.
Is This Answer Correct ? | 6 Yes | 10 No |
Answer / sriram
sorry
u r telling answere is correct
Thanks for your answer
Is This Answer Correct ? | 8 Yes | 13 No |
Could you provide an example and its effect OF, Using COND on JOB and EXEC both ?
I have 3 duplicate records in a file . I want to eliminate 1st, 2nd and copy 3rd one only . HOW ?
in my jcl have 20 steps step1,step2,.... step20.and i have to execute step1,step2,..and skip the step3 and remaing step4,step5 are execute? i want skip step3 only? what code u can write?
what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include temporary file used for sorting in assign statement?
How To get the last record in VSAM file in cluster? and How can u get the ksds file records into ur cobol program ? Pls tell me about these two questions.
Explain the jcl exec statement?
THERE IS ONE STEP AS BELOW: //STEPJS060 EXEC PGM=XYX, COND=((200,EQ,JS010),(0,NE,JS020.C),EVEN) COULD ANY ONE EXPLAIN HOW COND PARAMETER WORKS HERE? I AM CONFUSED BECOZ OF "EVEN".
What is the difference between the JOBLIB and the STEPLIB statements?
How many instream we can write in single jcl?
How does jcl specify the job to the operating system?
What is the function of dd name parameter with a 2 part structure; audit.report?
what is XSUM in some fields= none, xsum ??