MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Remove duplicate elements in Stem

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
bolineni ravi
Beginner


Joined: 29 Jun 2006
Posts: 4
Topics: 3

PostPosted: Wed Aug 09, 2006 9:44 am    Post subject: Remove duplicate elements in Stem Reply with quote

Hi All,

I have verified the forum for this and i found how to perform a Stem sort.

But i want to do the following.
My program creating a Stem output. But it contains duplicate elements. I want to remove duplicate elements from my Stem output.

For the above, thoughts right now are first perform a sorting(Bubble or selection) methodology after that write a code to remove the duplicate elements.

Am i going in correct way...or any other functions exist in REXX Language to remove the duplicate elements in STEM.

If you have sample code for this Please share with me.

Always Thanking You,
Ravi.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12382
Topics: 75
Location: San Jose

PostPosted: Wed Aug 09, 2006 10:22 am    Post subject: Reply with quote

bolineni ravi,

Try this

http://www.capitalware.biz/dl/code/removedup.txt

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Wed Aug 09, 2006 10:47 am    Post subject: Reply with quote

As far as I know, there's no in built REXX function to remove dups - How about having a SORT step to remove duplicates and then pass the dataset to REXX?
________
cheap glass pipes
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group