Page 1 of 1

Overlay a column with another file's field value

PostPosted: Sat Nov 23, 2013 4:13 am
by shreedhar
Hi,

I want to copy file1 into file3 with below requirement.
Requirement: Overlay a column in file1 (position 44, length 6) with file2's field (position 31, length 6) creating outfile file fille3 for all my input records in file1. All are FB records/files as below
File1 - record length 1000
File2 - record length 200
File3 - record length 1000.


I have seen examples of overlaying a field with the constant. But here I am looking for overlaying a field with the another file's field value.

Re: Overlay a column with another file's field value

PostPosted: Sat Nov 23, 2013 6:09 am
by BillyBoyo
Have a look at JOINKEYS, examples here and in your documentation.