View previous topic :: View next topic
|
Author |
Message |
prasanth_urs
New User
Joined: 04 Dec 2006 Posts: 44 Location: Pune,India
|
|
|
|
Hi all,
Please help me in this issue.
Consider the file A. The fields available in this file is a,b,c and d.
The d field is character field of length 16.
I need to split the file A into seperate files on the basis of the field d.
Please help me to solve this issue thru Jcl ASAP.
Please provide the syntax also.
Thanks again in advance. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Prasanth,
Using OUTFIL FNAMES option of DFSORT, your requirement can be acheived. For that you need to know the values before hand. Search DFSORT forum for more info. |
|
Back to top |
|
|
prasanth_urs
New User
Joined: 04 Dec 2006 Posts: 44 Location: Pune,India
|
|
|
|
Thanks Maurali,
can you give me the syntax of the OUTFIL FNAMES ????
Thanks again.. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi Prashanth,
Please find the below code
Code: |
OPTION COPY
OUTFIL FNAMES=OUT1,INCLUDE=(5,1,CH,EQ,C'A')
OUTFIL FNAMES=OUT2,INCLUDE=(5,1,CH,EQ,C'B')
...
|
|
|
Back to top |
|
|
vkphani
New User
Joined: 29 Oct 2003 Posts: 29
|
|
|
|
prasanth_urs wrote: |
can you give me the syntax of the OUTFIL FNAMES ????
|
Type QW OUTFIL in the command line of your mainframe and hit enter, then you will get the syntax. |
|
Back to top |
|
|
|