what is the sortcard for comparing two files with a field key
and get the duplicates in onefile and noduplicates in another
file
Answer Posted / vinodh
Refining the above sort card statement after executing it
SORT FIELDS=COPY
JOINKEYS FILES=F1,FIELDS=(1,10,A)
JOINKEYS FILES=F2,FIELDS=(1,10,A)
JOIN UNPAIRED,F1,F2
REFORMAT FIELDS=(F1:1,10,F2:1,10)
INREC IFTHEN=(WHEN(1,10,CH,NE,11,10,CH),OVERLAY=(22:C'N'))
OUTFIL FNAMES=MATCH,INCLUDE=(22,1,CH,EQ,C' ')
OUTFIL FNAMES=UNMATCH,INCLUDE=(22,1,CH,EQ,C'N')
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Brief description of inline procedure of jcl.
Explain about ISPF/TSO Commands
What are steplib and joblib? What for they are used?
Which dd parameters are required?
Explain how can the attributes of one sms dataset be copied to another dataset?
which parameter is use to declare the name of dataset in dd statement?
which utility is used to run a cobol-db2 program?
What is the use of symbol // in jcl?
Why include statement is used in a jcl?
Is automatic restart possible in jcl? If yes, how?
Is it possible to left uncode disp? If yes, how?
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
what happens in conversion stage in job processing?
Explain the function of job statement in jcl?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?