i have two file, each file having :
file1 is having 2 fields
field1 field2
file2 is having 3 fields
field1 field2 field3
my req is to make it one file like:
field1 field2 field1 field2 field3
if anyone know please send me syntax, i tried this with
DFSORT but could not succeed.
Answer Posted / sumanth toom
Quikjob is best for your case. (if your company has this
mainframe tool. It is a JCL tool similar to a SORT).
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
How you can characterize tables in cobol?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
In which area will you utilize 88 level items in cobol?
Why occurs cannot be used in 01 level in COBOL?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
How do you differentiate between cobol and cobol-ii?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What is the usage of comp fields in cobol?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
what is s000 u4087 error? please give the all error codes in cobol,jcl.