Wrete a JCL to compare two files and mached records move to
onc file & un mached rows wants to another file?
Answer Posted / rookie
if u are referring to duplicates...than
//SORTXSUM DD DSN=....
//SYSIN DD *
SORT FILEDS=COPY,
SUM FIELDS=NONE,XSUM
Is This Answer Correct ? | 31 Yes | 24 No |
Post New Answer View All Answers
Can we use DISP=SHR in output file in JCL
A dd statement consists of 4 fields. Name them?
what is DSN parameter and DISP parameter is used for?
What is the purpose of dd * statement in jcl?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
Mention the types of job control statements?
what are the statements that are not valid to be included in an include statement?
How can the submitting users racf authority be overridden in a job stream?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
How do you submit a job for execution?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
how would you create a temporary dataset? And where will you use them?
What is job control language?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?