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 

Using FIRSTDUP on inconsistent lengths.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Mon Sep 01, 2008 5:31 am    Post subject: Using FIRSTDUP on inconsistent lengths. Reply with quote

Hi,

I have a list of PS file names.

Code:

115  //SYSUT2   DD DSN=xxxx1.xxxx2.xxx3.xxxxx4.xxx5(+1),
124  //SYSUT1    DD DSN=xxxx1.xxxx2.xxx3.xxxxx4.xxx5(+1),
450  //SYSREC00 DD DSN=xxxx3.xxxx4.xxx5.xxxxxx6(+1),   


The first and second entries are duplicates. I want to copy only either one of them to output using SORT. I thought of using FIRSTDUP but it requires position to be specified.

Please suggest me a way to do this.

TIA.
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities 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