Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Fri Oct 12, 2007 4:29 pm Post subject:
Here's a DFSORT job that will do what you asked for and will also handle member names less than 8 characters, which I assume you might have (I threw one into the input data for completeness).
_________________ 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
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Sat Oct 13, 2007 12:21 pm Post subject:
i suman,
My job works fine with DFSORT, which has had the JFY function available since April, 2006. However, the WER messages indicate you're using Syncsort, not DFSORT. Syncsort doesn't support JFY so you can't "fix the problem" no matter how much time you spend on it. _________________ 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
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Mon Oct 15, 2007 10:25 am Post subject:
Quote:
For the input that you have shown, this SORT JOB should work fine.
Yes, that's true if the member names are really always 8 characters long which would be a special case since member names can be 1-8 characters. With that solution, if any member name is less than 8 characters, it will not be enclosed in quotes, e.g. for a member name of ABC, the output would be:
Code:
SELECT MEMBER=(ABC )
The DFSORT job I showed will work for member names of 1-8 characters. The job you show will work in special cases. _________________ 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