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 

Multiple datasets

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
Krishb
Beginner


Joined: 19 Jul 2007
Posts: 2
Topics: 2

PostPosted: Tue Sep 18, 2007 4:38 pm    Post subject: Multiple datasets Reply with quote

Hi ,
I am pulling huge production records ( around 3 million) and storing them in datasets. Since the datset is relatively small, what should be done to split the datasets or write them to multiple datasets.

Thanks
Kris
Back to top
View user's profile Send private message
CICS Guy
Intermediate


Joined: 30 Apr 2007
Posts: 292
Topics: 3

PostPosted: Tue Sep 18, 2007 5:37 pm    Post subject: Reply with quote

Why are the datasets relatively small?
Why split them?
Sort has several ways to "split" an input file into several outputs, but why?
Back to top
View user's profile Send private message
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


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

PostPosted: Tue Sep 18, 2007 5:49 pm    Post subject: Reply with quote

Kris,

It depends on how you want to split them.

Take a look at the "Split a file to n output files dynamically" and "Five ways to split a data set" Smart DFSORT Tricks at:

http://www.ibm.com/servers/storage/support/software/sort/mvs/tricks/

If that doesn't give you the solution you want, describe what you want to do in detail.
_________________
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
vivek1983
Intermediate


Joined: 20 Apr 2006
Posts: 222
Topics: 24

PostPosted: Tue Sep 18, 2007 10:50 pm    Post subject: Reply with quote

Krishb,

My suggestion:

1. Use sort to copy the original file and specify UNIT=CART so that you do not need to worry about space required to accomodate the huge file since the dataset would be copied to TAPE.

2. You can use this copied file the same way as u wud use a dataset copied in DISK except that you cannot view the file in 3.4 option. You need to use sort technique to view a sample of the data.

Hope that I have not confused you.

By the way, by "datasets" did you mean PDS?

Vivek G
_________________
Vivek G
--------------------------------------
A dream is just a dream. A goal is a dream with a plan and a deadline. (Harvey Mackay)
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 -> Job Control Language(JCL) 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