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

SPLICE ON data greater than 1500


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

New User


Joined: 02 Nov 2009
Posts: 73
Location: Mumbai

PostPosted: Tue Jul 06, 2010 7:07 pm
Reply with quote

Need Help. We can do the above using SPLICE operator. But when I tried doing, the ON keyword allows only 1500 length data to be compared.

However, in the above question record length is 4595 and he needs to compare the whole record.

Please suggest.
Back to top
View user's profile Send private message
sqlcode1

Active Member


Joined: 08 Apr 2010
Posts: 577
Location: USA

PostPosted: Tue Jul 06, 2010 10:12 pm
Reply with quote

What exactly are you trying to do with SPLICE? Compare files or something else?

Here is what I found from some other forum a while ago.

Quote:
The limitation of 1500 is for a single ON parm. You can have multiple ON parms, but the total key length for comparison should not exceed 4088 bytes. Try this DFSORT/ICETOOL job


But since you are dealing with 4595 bytes, it may still not work for you.

Thanks,
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: Tue Jul 06, 2010 11:05 pm
Reply with quote

Quote:
But since you are dealing with 4595 bytes, it may still not work for you.


It won't. That's beyond the allowable limit.
Back to top
View user's profile Send private message
anshul_gugnani

New User


Joined: 02 Nov 2009
Posts: 73
Location: Mumbai

PostPosted: Wed Jul 07, 2010 12:34 pm
Reply with quote

Hi Frank,

How can we compare two files where the record length is say - 4595 and I need to compare the whole record.

Please suggest how can we accomplish this. If this can be done using multiple ON parameter - can you please suggest how??

Thanks,
Anshul.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Wed Jul 07, 2010 3:29 pm
Reply with quote

As Frank already wrote:
That's beyond the allowable limit.
Have you considered a solution based on a programming language?
Have you thought of some multiple pass solution?
As a Programmar Analyst, you should be thinking about alternative methods.
Back to top
View user's profile Send private message
Skolusu

Senior Member


Joined: 07 Dec 2007
Posts: 2205
Location: San Jose

PostPosted: Wed Jul 07, 2010 9:33 pm
Reply with quote

anshul_gugnani,

Try the method listed here

www.ibmmainframes.com/viewtopic.php?p=125375#125375
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: Wed Jul 07, 2010 10:10 pm
Reply with quote

Quote:
How can we compare two files where the record length is say - 4595 and I need to compare the whole record.


Why not use an actual COMPARE utility like IEBCOMPR, SUPERC, Beyond Compare, etc.

(Although DFSORT can do some comparisons, it is NOT a COMPARE utility.)
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jul 07, 2010 10:46 pm
Reply with quote

Hi Frank,

Quote:
Why not use an actual COMPARE utility like IEBCOMPR, SUPERC, Beyond Compare, etc.
In many cases (though not this one) - Because you won't code those solutions. . . icon_neutral.gif

d
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 save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top