View previous topic :: View next topic
|
Author |
Message |
hanifam Warnings : 1 New User
Joined: 04 Aug 2009 Posts: 4 Location: Chennai
|
|
|
|
please provide the jcl to split the tape file in to four files.... |
|
Back to top |
|
|
Alissa Margulies
SYNCSORT Support
Joined: 25 Jul 2007 Posts: 496 Location: USA
|
|
|
|
What utility do you want to use? If you want to use a SORT product, which one do you have in your shop (SyncSort, DFSort, CA-Sort, etc.)? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello and welcome to the forum,
It will help someone help you if you define what "split" means to you. This has different meanings for different people/requirements.
As Alissa asked, what utility do you want to use? |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
hanifam,
Describing your requirement more clearly would certainly help.
However, maybe one of the techniques described in the "Split a file to n output files dynamically" or "Five ways to split a data set" Smart DFSORT Tricks will give you what you need. You can find these tricks at:
www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000094 |
|
Back to top |
|
|
hanifam Warnings : 1 New User
Joined: 04 Aug 2009 Posts: 4 Location: Chennai
|
|
|
|
Hi all,
I need to separate a tape file (which has one million records) into some DASD files. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
hanifam wrote: |
I need to separate a tape file (which is having one million record) in to some DASD files. |
Yes, we know that. So would you please answer the questions that have been asked.
To help, If you are not sure which sort product and release level you have, then by running a simple sort step shown below, you will be able to find out.
If the messages start with ICE then your product is DFSORT. Please also post the output of the complete line which has a message code ICE201I, as this will enable our DFSORT experts to determine which release of DFSORT that you have installed. This may also affect the solution offered.
If the messages start with WER or SYT then the product is SYNCSORT. Please also post the information telling which version of SYNCSORT is installed, as this may also affect the solution offered.
Code: |
//SORTSTEP EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD *
ABC
//SORTOUT DD SYSOUT=*
//SYSIN DD *
SORT FIELDS=COPY |
Frank has given you a link to the DFSORT documentation to do this, have you read it ?
Exactly what are the rules for performing a split, is it based on data content, numbers of records, number of files required. At the moment only you know the rules of how to split the data, and until you explain them to us we can not help you. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
I need to separate a tape file (which has one million records) into some DASD files. |
To you, this completely describes your requirement. To us it does not. . .
We have seen multiple ways to "split" files. Whatever you want is only one of them. However; you have not explained just how you want the file/records split. . .
Post a small amount of sample input and describe how you want it split. Mention any relevant fields and the dsorg/lrecl of all files. |
|
Back to top |
|
|
|