I want to concatenate two files in to a single file. File does not have any key but both have same number of records. only problem is the record length varies.
For example,
File 1: - FB, LRECL=8
12345678
123456
1234567
123456
I want to concatenate two files in to a single file. File does not have any key but both have same number of records. only problem is the record length varies.
1) In your example the record length is fixed for each of files. Nothing varies.
2) Your task is the most primitive task described with tons of examples in multiple guides, and manuals. Did you read any?
********************************* TOP OF DATA *******
12345678ABCDEFGH
123456ABCDEFGHIJ
1234567ABCDEFG
123456ABCDEF
******************************** BOTTOM OF DATA *****
Quote:
“The method employed I would gladly explain,
While I have it so clear in my head,
If I had but the time and you had but the brain—
But much yet remains to be said.