Hi,
I have 3 files say file A , file B and file C.I want to
form an output file in which i will have all the records
from file A. Files B and C also may contain records that
are present in file A.I want those records also to be
included in my output file.
for eg:
file A contains:
1
2
3
file B contains:
2
4
5
file C contains:
1
3
5
So in my output file should look like:
1
2
3
2
1
3
Can any one help ???.....thanks in advance.
Answer Posted / murali
@sai Kishore: I'm not able to understand what will be the
output of step1..
Can you please explain the JCL stmts in step1 line by line.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
What parameters can be used to limit the number of records written to a sysout dataset?
How can the attributes of one sms dataset be copied to another dataset?
How gdg are concatenated?
What is notcat 2 - gs?
How dummy is used in jcl?
Explain the function of the steplib dd statement?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
what is a jcl?
How does jcl act on a cobol code?
Does jcl support automatic restart?
Explain the function of the dd dcb keyword?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
Differentiate between the joblib and the steplib statements?