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

DFSORT using Format=SS and Variable length files


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

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Mon May 09, 2005 7:57 pm
Reply with quote

I have a nonrepetitive problem using FORMAT=SS with dataset having RECFM=V.
In my case I have 2 files with following features:
1) Recfm=V - Lrecl = 199 - Blksize = 19504
2) Recfm=V - Lrecl = 2104 - Blksize = 21004

When I use INCLUDE=(5,195,SS,EQ,C'?xxx?') for the first file it work fine but if I use INCLUDE=(5,2100,SS,EQ,C'?xxx?') for the second it gives me an abnormal completition code U0113 emphasizing the first character of length parameter(i.e. 2 of 2100).
For my pleasure I tried with shorter string for the same file but it doesn't still work since cut my string to about 500.
In another pleasure I've examinated the blksize of first and its relationship with the logical record length and I find substantials differences with the second file allocation.
I think that this error is a cause of empty data at the end of each record but is not a pragmatic solution because the first is empty too.

Can you help me?
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 May 09, 2005 8:53 pm
Reply with quote

The U0113 means you received DFSORT's ICE113A error message and had ABEND in effect. I tried your control statement with DFSORT and did NOT get the ICE113A message. I'd guess that the problem is you don't have DFSORT R14 PTF UQ90053 (Feb, 2003) installed. That PTF raised the limit for SS field lengths from 256 to 32752. So without that PTF, your length of 2100 won't work. The support for SS fields up to 32752 bytes has been available for over two years now. Ask your System Programmer to install DFSORT R14 PTF UQ95213 (Dec, 2004). This will get you up to date on all of the DFSORT Functional PTFs.

Note that once you get the support for SS fields up to 32752 bytes installed, if you have "short" records you'll also want to use DFSORT's VLSCMP option, that is:

Code:

  OPTION COPY,VLSCMP
  INCLUDE=(5,2100,SS,EQ,C'?xxx?')
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Tue May 10, 2005 7:42 pm
Reply with quote

Ok, thanks a lot... the installation of PTF UQ95213 is planned to the end of this month.
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

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 7
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
Search our Forums:

Back to Top