Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

DFSORT using Format=SS and Variable length files

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: DFSORT using Format=SS and Variable length files
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 Moderator


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

PostPosted: Mon May 09, 2005 8:53 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need to write record of PS File in ex... Chandan1993 JCL & VSAM 1 Wed Jun 07, 2017 1:35 am
No new posts getting three output files out of JOI... migusd SYNCSORT 7 Mon Jun 05, 2017 11:30 pm
No new posts Can I traverse a STEM variable? chong.zhou CLIST & REXX 5 Wed May 31, 2017 3:54 pm
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us