MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with Include

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
k99131
Beginner


Joined: 18 Aug 2006
Posts: 10
Topics: 3

PostPosted: Mon Dec 07, 2009 6:32 am    Post subject: Problem with Include Reply with quote

Hi!

I am having a problem with a Dfsort include. I am not getting the result I expect. I have this input vb file (record length 50):
Code:
050;5164069999;000000000;6401189999;0;5;200701
050;5164069999;000000000;6401189999;0;0;200801
050;5164069999;000000000;6401189999;0;0;200901
050;5164069999;000000000;6406149999;0;0;200701
050;5164069999;000000000;6406149999;0;0;200801
050;5164069999;000000000;6406149999;0;0;200901
050;5564949999;000000000;7207249999;0;5;200901
050;5564949999;000000000;7207249999;0;0;200907
050;5564949999;000000000;7212059999;0;0;200706
050;5564949999;000000000;7212059999;5;0;200801
050;5564949999;000000000;7212059999;0;5;200901
050;5564949999;000000000;7212059999;0;0;200907
050;5564949999;000000000;7212059999;0;0;200908
050;5564949999;000000000;7610249999;5;0;200801
050;5564949999;000000000;7610249999;0;5;200901
050;5564949999;000000000;7610249999;0;0;200907
My sort:
[code:1:cc7989affe]//SYMNAMES DD *
RDW,1,4,BI
SKIP,4
Orgnr,*,10,ZD
SKIP,1
SKIP,9
SKIP,1
Pnr,*,10,ZD
SKIP,1
SKIP,1
SKIP,1
Markering,*,1,ZD
SKIP,1
Datum,*,6,ZD
VB-post,1,50,CH
Post-inom-11-m
Back to top
View user's profile Send private message
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Mon Dec 07, 2009 4:13 pm    Post subject: Reply with quote

I suspect you have "short" VB records that are affecting the INCLUDE condition.

Try adding the following in //CPY1CNTL:

Code:

   OPTION VLSCMP

_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
k99131
Beginner


Joined: 18 Aug 2006
Posts: 10
Topics: 3

PostPosted: Tue Dec 08, 2009 6:02 am    Post subject: Reply with quote

Thank you!

The overlay and no VLSCMP was the cause to the problem.

I am not used to variable length records. It is a little bit tricky. But it seems to me that VLSCMP should be an installation default. Do you agree?

Regards
Sven
Back to top
View user's profile Send private message
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Tue Dec 08, 2009 10:13 am    Post subject: Reply with quote

VLSCMP=YES/NO is a DFSORT installation default. The shipped default is VLSCMP=NO but your site can change it to VLSCMP=YES.
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group