I tried both.. initially I had a problem with ICETOOL and I realized that I have to use SYS.SICELINK in the Joblib. Both the solutions are working great Kolusu.
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Fri Jan 10, 2003 12:30 pm Post subject:
By default, ICETOOL displays 15 digits for ON(VALCNT), so Kolusu's DFSORT/ICETOOL job would give you the following output:
Code:
KEY COUNT
--- ---------------
AA 2
BB 2
DD 1
TT 1
XX 3
However, if you have DFSORT PTF UQ99331 (March, 2002) installed, you can get a little fancier and use formatting fields with ON(VALCNT), to change the number of digits ICETOOL displays.
If you need leading zeros, you can use E'99...9' to specify the number of digits you want ICETOOL to display. For example:
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Fri Jan 10, 2003 3:26 pm Post subject:
Satish,
Yes, it's because DFSORT PTF UQ99331 is not installed at your shop. Ask your System Programmer to install it (it's free).
Here are the ICETOOL messages you get when you do have UQ99331:
Code:
ICE600I 0 DFSORT ICETOOL UTILITY RUN STARTED
ICE632I 0 SOURCE FOR ICETOOL STATEMENTS: TOOLIN
ICE630I 0 MODE IN EFFECT: STOP
OCCURS FROM(IN) LIST(OUT) HEADER('KEY') HEADER('COUNT') -
ON(6,2,CH) ON(VALCNT,E'999') BLANK
ICE643I 0 WIDTH OF REPORT IS 0121 BYTES
ICE627I 0 DFSORT CALL 0001 FOR SORT FROM IN TO E35 EXIT COMPLETED
ICE603I 0 INFORMATION PRINTED IN OUT DATA SET
ICE628I 0 RECORD COUNT: 000000000000009
ICE638I 0 NUMBER OF RECORDS RESULTING FROM CRITERIA: 000000000000005
ICE602I 0 OPERATION RETURN CODE: 00
_________________ 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