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 

Data extract

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


Joined: 23 Jan 2004
Posts: 40
Topics: 16
Location: Bangalore

PostPosted: Mon May 15, 2006 3:48 pm    Post subject: Data extract Reply with quote

Hi

I have a 5 digit value in the file from 25th position and it is in sort order. I want to split the data into different files based on that 5 Digits.

For Ex : If I have a 10 different 5 Digit values then I need the data to be copied into 10 different files.

Any idea ?

Thanks.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Mon May 15, 2006 4:12 pm    Post subject: Reply with quote

Do you know the different 5 digits values ahead of time so you could hardcode them? Or are you trying to do it all dynamically based on whatever set of 5 digits values happens to be in the file (I suspect you're not expecting to have the maximum of 99999 output data sets - right? So what is the maximum?). What would the parameters for your output DD statements look like (SPACE, UNIT, etc)?
_________________
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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sateesh_gontla
Beginner


Joined: 23 Jan 2004
Posts: 40
Topics: 16
Location: Bangalore

PostPosted: Mon May 15, 2006 5:28 pm    Post subject: Reply with quote

Hi

The max 5 Digit values would be around 25, the record length is 1000.

thx.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Mon May 15, 2006 5:36 pm    Post subject: Reply with quote

How about answering the rest of my questions?
_________________
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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Thu May 18, 2006 1:35 am    Post subject: Reply with quote

Sateesh,

It would be nice if you give a sample input and expected output along with all other required info like LRECL & RECFM of your input and output files. This would save time not only for you but for us too. A One liner cannot fetch u any solution.

Please go thro' the forum rules and try to follow them.

Thanks,
Phantom
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 -> 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