_________________ Vivek G
--------------------------------------
A dream is just a dream. A goal is a dream with a plan and a deadline. (Harvey Mackay)
_________________ 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
VALCNT,E'999' - will only shows the count lesser than 999., if the count greater it will discard the no. so will you have mechanizm to capture the size of no. and change it to a format.
VALCNT,E'999' - will only shows the count lesser than 999., if the count greater it will discard the no. so will you have mechanizm to capture the size of no. and change it to a format.
U just have to change the format to your requirement.
You can change the format like :
VALCNT,E'99999999'for a count lesser than 99999999.
Hope this helps.. _________________ Vivek G
--------------------------------------
A dream is just a dream. A goal is a dream with a plan and a deadline. (Harvey Mackay)
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Tue Dec 04, 2007 10:58 am Post subject:
Quote:
VALCNT,E'999' - will only shows the count lesser than 999., if the count greater it will discard the no. so will you have mechanizm to capture the size of no. and change it to a format.
You showed two digits in your output example, so I set up the job to give you three digits. If you need more digits, just use as many 9s as you want up to 31. You can also use other DISPLAY formatting options to format the output count differently if appropriate (e.g. A0, U08, etc).
Quote:
Not sure as to what OP wants. I thought that he want to repeat two chars from second pos.
Kolusu and I assumed that the OP wanted a count of the records with each unique 6 character value. For example, there are two records with the value '402SC2', so the output for that should be one record with '402SC2' and a count of 2. _________________ 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