File1 has 100 records and file2 has 200 records i want to
copy 50 records which r in both file into file3
Answer Posted / harsha
Give both input files in concatenation to SORTIN.
SORT FIELDS=NONE,XSUM
This will copy all duplicate records from both files to
SORTXSUM dataset.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is job control language?
how you can direct the data to spool using SYSOUT option?
What statement can be used to send data to another mvs jes3 node?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
define cond parameter in jcl?
What is the function of the steplib dd statement?
What is Cataloged Procedures?
What is the difference between the positional and keyword parameters? Give examples.
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
When space is allocated for an output dataset, what units can be used?
Where & How Do You Code Identifier In Jcl?
How does the jcl specify the job to os?
Explain about LMQUERY�give a dialog information about a data set
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 are some jcl statements that are not allowed in procedures?