View previous topic :: View next topic
|
Author |
Message |
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Ok, I guessed what the problem was, but this allowed me to confirm it.
The 80:X doesn't do any good because your System Programmers chose to change DFSORT's shipped default of SOLRF=YES to SOLRF=NO. This change is NOT recommended. SOLRF=NO tells DFSORT to use the input LRECL for output rather than the reformatted length which is not a good idea. With SOLRF=NO, the 80:X in INREC is ignored and the output is set to 244 instead of 80. So your DD * control statements have an LRECL of 80, but your concatenated C1 record has an LRECL of 244 instead of 80.
With the shipped default of SOLRF=YES, this wouldn't happen. I always assume people leave the shipped default alone so it takes a while before I think of this possibility.
I don't know why your System Programmers changed the default but it will probably cause problems for your site. You might want to ask them about this.
At any rate, you should be able to fix things up by overriding their bad choice with:
Code: |
//DFSPARM DD *
OPTION SOLRF
/*
|
|
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi Frank,
just curious, why have a default if it's not recommended ?
Gerry |
|
Back to top |
|
|
ksk
Active User
Joined: 08 Jun 2006 Posts: 355 Location: New York
|
|
|
|
Hi Frank,
Thanks for your detailed explanation on my problem. When I overrode SOLRF option, my JOB got executed successfully.
Can you please let me know what could be the other impacts due to this SOLRF change? If there is any document or link to explain about the impact, please provide me the same.
Once again thanks,
KSK |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Quote: |
just curious, why have a default if it's not recommended ? |
Because some of our customers, especially those in a particular country, always require that we give them a way to run things as they used to run whether it makes sense or not. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
Back to top |
|
|
ksk
Active User
Joined: 08 Jun 2006 Posts: 355 Location: New York
|
|
|
|
Thanks Frank for the information. |
|
Back to top |
|
|
|