Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Wed Aug 31, 2005 2:06 pm Post subject:
Quote:
Is it possible to solve this using OVERLAY function?
OVERLAY? You mean IFTHEN? Maybe, with a very complex set of IFTHEN clauses, but I don't have time to attempt it. Using REXX or an exit probably makes more sense. _________________ 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
Hi,
U can use the Exit routine with Rexx to slove the problem easily as mentioned by Frank.
I modified the Kolusu's Rexx to fit into the Sort.Here is the solution.
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Mon Apr 24, 2006 3:43 pm Post subject:
Here's a DFSORT job that will do what was requested. It uses the PARSE and %nn functions available with z/OS DFSORT V1R5 PTF UK90007 or DFSORT R14 PTF UK90006 (April, 2006). See the following for more information on all of the new DFSORT/ICETOOL functions available with these 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
Althoug with new last features of df/sort this problem is easyer, it takes my attention the use of REXX to code E15 EXIT directly.
But I tried to test it and unfortunately the fourth parameter "X" in MODS is wrong. The $ sign is under the "X"
Code:
ICE143I 0 BLOCKSET COPY TECHNIQUE SELECTED
ICE000I 1 - CONTROL STATEMENTS FOR 5740-SM1, DFSORT REL 14.0 - 11:47 ON
SORT FIELDS=COPY
MODS E15=(I@PARSOR,133,MODLIB,X)
$
ICE034A D MODS STATEMENT OPERAND ERROR
ICE052I 3 END OF DFSORT
I can't find any information in manuals about it. I am using the DF/SORT R14 with UK90006 applied.
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Fri Apr 28, 2006 10:33 am Post subject:
DFSORT does NOT support REXX exits. _________________ 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: Tue May 09, 2006 10:49 am Post subject:
DFSORT does support Assembler exits. But since you have the April, 2006 PTF, you can use PARSE as shown and you don't need an exit. _________________ 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