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 

Parallel to ICETOOL in SYNCSORT

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


Joined: 20 May 2004
Posts: 12
Topics: 6

PostPosted: Thu May 20, 2004 2:03 pm    Post subject: Parallel to ICETOOL in SYNCSORT Reply with quote

I have SYNCSORT in my shop and I am trying to use SPLICE and it is not able to recognize, it says 'STATEMENT DOES NOT BEGIN WITH A VALID OPERATOR'. Is it a problem with the version..please let me know.

I am trying to use splice to get the following done

FILEA: (VB) LRECL: 224 it can have duplicates,key start at positon 3 and ends in 14
FILEB: (FB) LRECL: 12, no duplciates, key starts at 1 and ends in 12

I need to read each of FILE2 records and get all the matching records in FILE1.

Can I acheive this without using SPLICE, but using SYNCSORT
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Thu May 20, 2004 2:41 pm    Post subject: Reply with quote

taurian,

It is not the problem with your version .Syncsort does not support SPLICE operator of DFSORT. None of the syncsort versios support SPLICE.

What is the total no: of records in fileb? If it is less than 500 , you can generate Dynamic include conditions and get the desired results.

Do you have easytrieve at your shop? If so then it is very easy to get the desired results.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
taurian
Beginner


Joined: 20 May 2004
Posts: 12
Topics: 6

PostPosted: Thu May 20, 2004 3:38 pm    Post subject: Reply with quote

Total number of records in FileB can be upto 60,000.

Easytreive hmm..I dont have it in my shop Sad

So there is no way doing this without COBOL/SAS/EASYTREIVE/DFSORT and using just the basic IBM utilities

Thanks alott for your time
Back to top
View user's profile Send private message
vkrishna2001
Beginner


Joined: 07 Aug 2003
Posts: 46
Topics: 18
Location: Danbury

PostPosted: Thu May 20, 2004 4:48 pm    Post subject: Reply with quote

Taurian,

It is easy to do it in Cobol or Easytrieve if the records in both the files are sorted in either ascending or descending order of the key. If you have Focus at your shop the same can be achieved with a stored procedure.

Vijay
Back to top
View user's profile Send private message Send e-mail
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