IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Error While using SPLIT function


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Fri Jun 27, 2008 9:14 pm
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Sat Jun 28, 2008 6:32 am
Reply with quote

Hi Frank,

just curious, why have a default if it's not recommended ?


Gerry
Back to top
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 355
Location: New York

PostPosted: Mon Jun 30, 2008 10:17 am
Reply with quote

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
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Mon Jun 30, 2008 9:10 pm
Reply with quote

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
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Mon Jun 30, 2008 9:14 pm
Reply with quote

Quote:
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.


SOLRF=YES/NO is documented in "z/OS DFSORT Installation and Customization" at:

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CI00/2.2.7?DT=20031124122307

Do a find for SOLRF
Back to top
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 355
Location: New York

PostPosted: Tue Jul 01, 2008 9:26 am
Reply with quote

Thanks Frank for the information.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL Goto page Previous  1, 2

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Calling an Open C library function in... CICS 1
Search our Forums:

Back to Top