Posted: Fri Aug 28, 2009 6:02 am Post subject: Overlay header on trailer records.
Hi, My input file (LRECL=40, RECFM=FB) appears like...
Code:
----+----1----+----2----+----3----+----4
$400 ON 01/01/09
FREDRICK
DONALD
ELIZZA
$2000 ON 08/01/09
ROY
MELISSA
$10 ON 03/15/09
DANIEL
LIZ
MAGGY
I want the header to be overlaid onto each trailer at 30th position onwards.
Output:
Code:
----+----1----+----2----+----3----+----4----+----5
$400 ON 01/01/09
FREDRICK $400 ON 01/01/09
DONALD $400 ON 01/01/09
ELIZZA $400 ON 01/01/09
$2000 ON 08/01/09
ROY $2000 ON 08/01/09
MELISSA $2000 ON 08/01/09
$10 ON 03/15/09
DANIEL $10 ON 03/15/09
LIZ $10 ON 03/15/09
MAGGY $10 ON 03/15/09
Thanks. _________________ Ranga
*****
None of us is as smart as all of us - Ken Blanchard
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum