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

IEBCOMPR


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
imagines

New User


Joined: 10 Sep 2007
Posts: 18
Location: Italy

PostPosted: Fri Feb 22, 2019 4:52 pm
Reply with quote

Hi
i use this util to compare two Fb file .
why when detect a difference give different rows number logicl/physical etcc?

Code:
IEB221I    RECORDS ARE NOT EQUAL
     DDNAME = SYSUT1
     PHYSICAL RECORD NUMBER = 00002798  LOGICAL RECORD NUMBER WITHIN PHYSICAL RECORD = 00000057
00001CF0F0F0F0F0F0F0F0F0F0F2F3F3F9F4F9C9E3D2F0F5F0F8F8F2F5F64040404040404040404040404040000000000C404040019930921C000000
000C019930921C0160457000000CF000001CF0F0F2F3F34040D4C9C7D9F2F0F0F160F0F9F2F8
     DDNAME = SYSUT2
     PHYSICAL RECORD NUMBER = 00000520  LOGICAL RECORD NUMBER WITHIN PHYSICAL RECORD = 00000125
00001CF0F0F0F0F0F0F0F0F0F0F2F3F3F9F4F9C9E3D2F0F5F0F8F8F2F5F24040404040404040404040404040000000000C404040019930921C000000
000C019930921C0160457000000CF000001CF0F0F2F3F34040D4C9C7D9F2F0F0F160F0F9F2F8
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Sun Feb 24, 2019 9:21 pm
Reply with quote

Can you show the block size for each file ?

IBM recommends using the SuperC utility instead of IEBCOMPR
Back to top
View user's profile Send private message
imagines

New User


Joined: 10 Sep 2007
Posts: 18
Location: Italy

PostPosted: Mon Feb 25, 2019 4:34 pm
Reply with quote

SuperC is Too much slowly. I can't use it
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 419
Location: Inside the SPEW (Southwest Ohio, USA)

PostPosted: Mon Feb 25, 2019 4:54 pm
Reply with quote

As requested previously, are the block size of each dataset the same?
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Mon Feb 25, 2019 5:07 pm
Reply with quote

imagines wrote:
SuperC is Too much slowly. I can't use it

Bullthis! With SuperC you get well annotated output and not the AD 1970 crap above.

Suggestion? Add
Code:
 worksize 524288

to your SuperC control statements. And run SuperC in batch!
Back to top
View user's profile Send private message
imagines

New User


Joined: 10 Sep 2007
Posts: 18
Location: Italy

PostPosted: Mon Feb 25, 2019 7:06 pm
Reply with quote

dneufarth wrote:
As requested previously, are the block size of each dataset the same?


blocksize is different .
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 419
Location: Inside the SPEW (Southwest Ohio, USA)

PostPosted: Mon Feb 25, 2019 8:54 pm
Reply with quote

Different block sizes is the reason you see different physical and logical positions in your comparison.
Back to top
View user's profile Send private message
imagines

New User


Joined: 10 Sep 2007
Posts: 18
Location: Italy

PostPosted: Mon Feb 25, 2019 9:09 pm
Reply with quote

dneufarth wrote:
Different block sizes is the reason you see different physical and logical positions in your comparison.


i can't change the blocksize of input file .is possible solve with any workaround?
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 419
Location: Inside the SPEW (Southwest Ohio, USA)

PostPosted: Mon Feb 25, 2019 11:23 pm
Reply with quote

Change block size using SORT COPY to match other file creating a temp dataset and then run match using the same block size datasets.

That is a workaround. Not sure what else is available in IEBCOMPR.

Is SUPERC suggestion by Prino not doable?


What's next once you detect mismatches? Finding reason for mismatched data by looking through the hex results is tedious if there are many mismatches.
Back to top
View user's profile Send private message
imagines

New User


Joined: 10 Sep 2007
Posts: 18
Location: Italy

PostPosted: Thu Feb 28, 2019 3:13 pm
Reply with quote

prino wrote:

Suggestion? Add
Code:
 worksize 524288

to your SuperC control statements. And run SuperC in batch!


i need to have max speed performance of superc

is correct this ? is possible to optimize ?
Code:
/COMPARE1 EXEC PGM=ISRSUPC,                                   
//         PARM=(DELTAL,LINECMP,EMPTYOK,'','',)                 
//NEWDD DD DSN=xxxxxx.xx.xxx.,DISP=SHR     
//OLDDD DD DSN=xx.xxx.xxx.xxxxx,DISP=SHR     
//OUTDD DD DSN=xxxxxx.xx.xx.TEMP.COMPARE,                 
//         DISP=(NEW,CATLG,CATLG),                             
//         DCB=SYS2.FB,SPACE=(CYL,(60,60),RLSE)                 
//SYSIN  DD *                                                   
WORKSIZE 524288                                                 
//*                                   
Back to top
View user's profile Send private message
imagines

New User


Joined: 10 Sep 2007
Posts: 18
Location: Italy

PostPosted: Thu Feb 28, 2019 6:52 pm
Reply with quote

Sorry i want only to compare. How can i configure superc batch? Thank you in Advance
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Feb 28, 2019 7:01 pm
Reply with quote

use the superc / superc extended dialogs
choose to run in batch and save the jcl ISPF has built for You
Back to top
View user's profile Send private message
imagines

New User


Joined: 10 Sep 2007
Posts: 18
Location: Italy

PostPosted: Thu Feb 28, 2019 7:25 pm
Reply with quote

Enrico i need to optimize it. Standard configuration IS too slowly for My file
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Feb 28, 2019 8:21 pm
Reply with quote

Quote:
How can i configure superc batch?


use the PF1 key, or read the manual
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 -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts IEBCOMPR HEX VALUES All Other Mainframe Topics 3
No new posts Information regarding IEBCOMPR JCL & VSAM 3
No new posts Maxcc=8 in IEBCOMPR: RECORD NOT 64 BY... JCL & VSAM 3
No new posts On what basis IEBCOMPR compares two d... JCL & VSAM 1
Search our Forums:

Back to Top