Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
SUPERC is only showing me diffrences upto 133 bytes
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
Author Message
mainframe_techie

New User


Joined: 15 Jul 2007
Posts: 23
Location: India

PostPosted: Fri Oct 26, 2007 4:33 am    Post subject: SUPERC is only showing me diffrences upto 133 bytes
Reply with quote

Hi,

I am running SUPERC utility ( compare utility ) in batch mode.
My file size is 1000 bytes.
Superc's comparision is only showing me diffrences upto 133 bytes.
I also tried incresing the size of output to 1000 bytes, but still superc is showing the diffrences upto 133.

Can anybody please advise how can I see the comparision upto 1000 bytes ??

thanks,
Back to top
View user's profile Send private message
References
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 1930
Location: Israel

PostPosted: Fri Oct 26, 2007 5:08 am    Post subject:
Reply with quote

You can't with SUPERC.

When I was in your situation, I ran SUPERC with one of the UPDATE options, in order to get the exact mismatch position. Then, I read SUPERC's output from REXX and display the actual records.

O.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1478
Location: Bangalore,India

PostPosted: Fri Oct 26, 2007 10:38 am    Post subject:
Reply with quote

mainframe_techie,

Why dont you use FileAid's COMPARE option?
Back to top
View user's profile Send private message
ksk

Senior Member


Joined: 08 Jun 2006
Posts: 309
Location: Pune, India

PostPosted: Fri Oct 26, 2007 2:04 pm    Post subject:
Reply with quote

I prefer to do it from option 3.13. In 3.13, go to options and select EDIT STATEMENTS. write your matching condition and do compare.

KSK
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 1930
Location: Israel

PostPosted: Fri Oct 26, 2007 5:05 pm    Post subject:
Reply with quote

ksk -

I believe the the OP knows about that option. However, no matter how you invoke SUPERC (menu 3.13, batch job, programmatically) - the maximun length of the result is 205 (default is 133).

O.
Back to top
View user's profile Send private message
ksk

Senior Member


Joined: 08 Jun 2006
Posts: 309
Location: Pune, India

PostPosted: Fri Oct 26, 2007 5:12 pm    Post subject: Reply to: SUPERC is only showing me diffrences upto 133 byte
Reply with quote

Ofer,

My solution works if we know which fields are to be checked. and that also should be less than 133 characters.

E.g. If checking field is from position 200 to 255, we can provide this and see. If checking field is more than 133 characters, this solution won't work.

KSK
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1478
Location: Bangalore,India

PostPosted: Fri Oct 26, 2007 6:26 pm    Post subject:
Reply with quote

KSK,

Quote:
My solution works if we know which fields are to be checked.

FA compare option shows the entire record, there is no need to know which fields to compared.
Back to top
View user's profile Send private message
mainframe_techie

New User


Joined: 15 Jul 2007
Posts: 23
Location: India

PostPosted: Tue Oct 30, 2007 8:46 pm    Post subject: Reply to: SUPERC is only showing me diffrences upto 133 byte
Reply with quote

Hi,

I know the EDIT statements option but the problem is using that max is 205 bytes.

We dont have File Aid in out Shop, hence that option is ruled out.

The position in the files can differ which I need to compare.

Please advise in option 3.13.

Thanks,
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1478
Location: Bangalore,India

PostPosted: Tue Oct 30, 2007 9:02 pm    Post subject:
Reply with quote

Quote:
We dont have File Aid in out Shop

Don't you use any file util in your shop?
Back to top
View user's profile Send private message
mainframe_techie

New User


Joined: 15 Jul 2007
Posts: 23
Location: India

PostPosted: Tue Oct 30, 2007 9:49 pm    Post subject: Reply to: SUPERC is only showing me diffrences upto 133 byte
Reply with quote

We use another tool called INSYNC. Its comparision is not that useful.

Thanks,
Back to top
View user's profile Send private message
Joel.B

New User


Joined: 13 Oct 2007
Posts: 9
Location: India

PostPosted: Wed Jul 09, 2008 1:28 pm    Post subject: Reply to: SUPERC is only showing me diffrences upto 133 byte
Reply with quote

Hi,

I want to compare 2 files.My requirement is i vl give record lenght of file dynamically.Please provide me if any body having code in REXX or COBOL.
Tired with ISRSUPC-Utility but not able to compare..Please guide me..

thanks in advance.
Back to top
View user's profile Send private message
Anuj D.

Global Moderator


Joined: 22 Apr 2006
Posts: 2165
Location: Phoenix, AZ

PostPosted: Wed Jul 09, 2008 4:04 pm    Post subject: Re: Reply to: SUPERC is only showing me diffrences upto 133
Reply with quote

Hi,
Joel.B wrote:
Please provide me if any body having code in REXX or COBOL.
Are you searching for a file-comparison program in COBOL ? And what does this
Quote:
My requirement is i vl give record lenght of file dynamically

mean ? How would you change LRECL "dynamically" ?


Joel.B wrote:
Tired with ISRSUPC-Utility but not able to compare
Hopefully, you've tried this option in SuperC
Code:
//SYSIN  DD *                                       
CMPCOLM 1:43  56:1000                             
/*                                                 

which selectively compares the columns from 1 to 43 & 56 to 1000.
Back to top
View user's profile Send private message
yogi.47eie

New User


Joined: 16 Aug 2006
Posts: 13

PostPosted: Wed Jul 16, 2008 1:25 pm    Post subject: Reply to: SUPERC is only showing me diffrences upto 133 byte
Reply with quote

Hi
can't we use TSO COMP or COMP option in command lime to compare two files irrespective of the total length..
if you want to compare two files.
open file 1 in view mode.
type TSO COMP 'File 2' or COMP 'File 2 ' in command line.

i have tried this one number of times...
cheers
yogi
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 1930
Location: Israel

PostPosted: Wed Jul 16, 2008 2:53 pm    Post subject:
Reply with quote

COMP is neither a TSO nor an ISPF command.

O.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1136
Location: Mumbai - India

PostPosted: Wed Jul 16, 2008 3:20 pm    Post subject: Reply to: SUPERC is only showing me diffrences upto 133 byte
Reply with quote

O,

I have also used TSO COMP to compare datasets. It is actually a TSO command.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 HoursGoto page 1, 2  Next
Page 1 of 2