Note that the records are in sorted order by the name field. If you really want the records in their original order, you could add a sequence number and use a SORT operator to sort on it like this:
_________________ 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: 13 Oct 2005 Posts: 84 Topics: 32 Location: INDIA
Posted: Tue Dec 05, 2006 5:11 pm Post subject:
Dear Frank,
Thank you for your quick responce
Can you please give me the link so that i can go thru it and understand.
actually i am getting following error (first time i am using ICETOOL)
Code:
********************************* TOP OF DATA **********************************
ICE200I 0 IDENTIFIER FROM CALLING PROGRAM IS 0001
ICE143I 0 BLOCKSET SORT TECHNIQUE SELECTED
ICE000I 0 - CONTROL STATEMENTS FOR 5740-SM1, DFSORT REL 14.0 - 14:03 ON TUE DEC
INREC IFTHEN=(WHEN=INIT,OVERLAY=(81:C'B')),
$
ICE104A 0 INVALID INREC OR OUTREC STATEMENT OPERAND
IFTHEN=(WHEN=(12,4,CH,EQ,C'BBBB'),OVERLAY=(81:C'A'))
$
ICE005A 0 STATEMENT DEFINER ERROR
SORT FIELDS=(1,3,CH,A,81,1,CH,A)
OUTFIL FNAMES=OUT,BUILD=(1,80)
$
ICE213A 0 INVALID OUTFIL STATEMENT OPERAND
ICE146I 0 END OF STATEMENTS FROM CTL1CNTL - PARAMETER LIST STATEMENTS FOLLOW
DEBUG NOABEND,ESTAE
OPTION LIST,MSGPRT=ALL,MSGDDN=DFSMSG,RESINV=0,SORTDD=CTL1,SORTIN=IN,SO
TOUT=OUT,DYNALLOC,SZERO,EQUALS,NOVLSHRT,LOCALE=NONE,NOC
ECK
SORT FIELDS=(1,3,CH,A)
MODS E35=(ICE35DU,8192)
ICE012A 2 MISSING FIELDS OPERAND DEFINER
ICE052I 3 END OF DFSORT
******************************** BOTTOM OF DATA ********************************
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Tue Dec 05, 2006 5:58 pm Post subject:
The error message indicates you do not have DFSORT R14 PTF UQ95213 installed. This PTF has been available since Dec, 2004, so your site is quite a bit behind on installing DFSORT service. Ask your System Programmer to install DFSORT R14 PTF UK90006 (April, 2006) - that will get you all of the latest DFSORT functions and then you'll be able to run the job successfully.
For a complete description of all of the Dec, 2004 DFSORT functions, including IFTHEN, see:
If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. You can access it online, along with all of the other DFSORT books, from:
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Wed Dec 06, 2006 7:48 pm Post subject:
Quote:
is there any possiblity to meet my requirement using SORT utility which we have
The sort utility you have is DFSORT - you just don't have the Dec, 2004 or April, 2006 DFSORT PTFs. You can use this DFSORT/ICETOOL job instead of the first S1 job to do what you want without requiring those PTFs.
_________________ 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