Hi Kolusu
I am kind of back again as the concatenation is not helping me out.
Please have a look at the files below
File1: VB, LRECL=1000 The USERID startes with A is 7 characters Ex:A109944
..07-08-2007000A109944 0000
..07-08-2007000A114441 0000
..07-08-2007000A147196 0000
..07-08-2007000A147196 0000
..07-08-2007000A147196 ALL
..07-08-2007000A147196 ALL
..07-08-2007000A276832 0000
..07-08-2007000A276832 ALL
..07-08-2007000A276832 ALL
File 2: FB LRECL 80
A109944
A147196
Output:
All those records with userIDS which are on file2 should be removed from File1 and then output to a OUTFILE
So the OUTFILE is VB LRECL 1000
..07-08-2007000A114441 0000
..07-08-2007000A276832 0000
..07-08-2007000A276832 ALL
..07-08-2007000A276832 ALL
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Tue Aug 07, 2007 11:38 am Post subject:
rsivananda,
Here's a DFSORT/ICETOOL job that will do what you asked for. I assumed your 7-byte key in the VB input file starts in position 20 (counting the RDW), but you can change the job appropriately if it's in another position.
_________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
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