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 / aditi
hi,
I have also faced the same question.
as we have the two seperate input files.
Nitika, U have taken only one input file so how we sort it
using only one file?
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the function of the dd dcb keyword?
Can an individual step be restricted from using all the jobs allowed cpu time?
What is the format of comment statement?
Explain the job statement in jcl?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
what is use of dcb parameter in dd statement?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
What are s0c1, s0c4, s0c5, s0c7 and socb?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
Explain the hierarchy levels in jcl?
What is job control language?
what is the purpose of coding class parameter in job statement?
How do you create a temporary dataset?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375