I'm required to do copy some records from a file to another file using SORT utility.
I have one source PS flat file where it contains only one record as below
I have one another Destination PS flat file where it contains lot many records as below. I wanted to place the above record from source file to the expected position in destination file without disturbing Greeting message in first line as explained below.
Greeting!! Welcome to IBM Mainframe Forum.
Sr Number: 12345 <First five digit of source PS file>
JoinDate: 04/03/2008 <Date from source PS file>