View previous topic :: View next topic
|
Author |
Message |
Elixir
Active User
Joined: 08 Feb 2009 Posts: 116 Location: CHENNAI/NEW JERSEY - INDIA/USA
|
|
|
|
I have a requirement to Split the copy the input file into 2 splits
Input Record Length 10
Heading
XAAAAAAAAA
YAAAAAAAAA
AAAAAAAAAA
Output 1 - Record Length 10
Heading
Output 2 - Record Length 10
XAAAAAAAAA
YAAAAAAAAA
AAAAAAAAAA
I tried using
SORT FIELDS=COPY
OUTFIL FILES=01,STOPAFT=1
OUTFIL FILES=02,SKIPREC=1
The Job is failing |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Quote: |
The Job is failing |
so is your description!
what are your dd statements for the output files? |
|
Back to top |
|
|
Elixir
Active User
Joined: 08 Feb 2009 Posts: 116 Location: CHENNAI/NEW JERSEY - INDIA/USA
|
|
|
|
I have used PGM=SORT for executing the job |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
what are your dd statements for the output files? |
|
Back to top |
|
|
Elixir
Active User
Joined: 08 Feb 2009 Posts: 116 Location: CHENNAI/NEW JERSEY - INDIA/USA
|
|
|
|
SORTOF01 & SORTOF02 |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Teeth-pulling time.
You want the first record on one file and all the others on the other file?
What are you getting? If any failure, show the full sysout for the step, please.
Have you tried with INCLUDE for the first record? You could then use SAVE for the second file. |
|
Back to top |
|
|
Elixir
Active User
Joined: 08 Feb 2009 Posts: 116 Location: CHENNAI/NEW JERSEY - INDIA/USA
|
|
|
|
Getting RC of S000-U0213 |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
I imagine it will take Bill a little time
to wade thru
the overwhelming amount of information that you have provided.
as the java course tells you,
go get yourself a cup and don't hold your breath. |
|
Back to top |
|
|
Skolusu
Senior Member
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
|
|
|
|
Elixir,
Please post the entire JCL you used and complete sysout. |
|
Back to top |
|
|
|