IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

In icetool is there any command which is similar to xsum?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Pavankumar.m
Warnings : 1

New User


Joined: 28 Nov 2010
Posts: 53
Location: Mumbai

PostPosted: Mon Jun 04, 2012 10:31 am
Reply with quote

Hi,

i want to write an sort card to write duplicate records into one file and non duplicates into another file...for this i have used xsum command but our system is not supporting xsum command...

Could you please help me how to get above sort using icetool ?

Thanks and regards,
pavan.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Mon Jun 04, 2012 10:39 am
Reply with quote

Hi,

are you using DFSORT or SYNCSORT ?

As you have not shown any of your output, I'm guessing that you are using DFSORT as the XSUM parameter is a SYNCSORT function.

So look for ALLDUPS and DISCARD parameters.


Gerry
Back to top
View user's profile Send private message
Pavankumar.m
Warnings : 1

New User


Joined: 28 Nov 2010
Posts: 53
Location: Mumbai

PostPosted: Mon Jun 04, 2012 10:49 am
Reply with quote

The error message that iam getting is...

"Xsum is not supported - use icetool select if appropriate outfile"
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Mon Jun 04, 2012 10:52 am
Reply with quote

Have a look at the Smart DF Sort Tricks.
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Mon Jun 04, 2012 10:54 am
Reply with quote

XSUM is a syncsort function

You need to use COPY , DISC search google for ICETOOL guide

I believe there should be examples in this forum

Example see here
Back to top
View user's profile Send private message
Prakash J

New User


Joined: 23 May 2012
Posts: 14
Location: India

PostPosted: Mon Jun 04, 2012 11:03 am
Reply with quote

Pavan,

If you have Smart DFSORT Tricks document, there is an example - Keep dropped duplicate records (XSUM) - Page 35. It will be helpful for you. Check it out.

- Prakash
Back to top
View user's profile Send private message
Pavankumar.m
Warnings : 1

New User


Joined: 28 Nov 2010
Posts: 53
Location: Mumbai

PostPosted: Mon Jun 04, 2012 11:26 am
Reply with quote

I got the syntax for this using dfsort trick document.icon_smile.gif
Back to top
View user's profile Send private message
Skolusu

Senior Member


Joined: 07 Dec 2007
Posts: 2205
Location: San Jose

PostPosted: Mon Jun 04, 2012 10:35 pm
Reply with quote

Pavankumar.m,

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:

www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000080
Back to top
View user's profile Send private message
rakesha.hg

Active User


Joined: 21 Mar 2008
Posts: 161
Location: bangalore

PostPosted: Tue Jun 05, 2012 5:53 pm
Reply with quote

Quote:
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:

www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000080

i loved this statement by frank (miss him icon_sad.gif) .... now we have Skolusu filling in the franks place .... best of luck icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts Shift left VB record without x00 endi... DFSORT/ICETOOL 11
Search our Forums:

Back to Top