Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
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.
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
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: