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 

Compare - Using SUPERC or SUPERCE.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Tue Jan 31, 2006 10:24 am    Post subject: Compare - Using SUPERC or SUPERCE. Reply with quote

Hi,

Can you suggest me a solution to the following problem:

I want to compare two PS files using SUPERC or SUPERCE. But, multiple columns of the same length should be compared between these two files.

The compare should be made between 7th - 15th column of 1st file and 57th - 65th column of 2nd file & 20th - 30th column of 1st file and 80th - 90th column of 2nd file.

Please advise.
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


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

PostPosted: Tue Jan 31, 2006 10:43 am    Post subject: Reply with quote

mf_user,

Type E at the command prompt on the SuperC or SuperCE menu and hit ENTER, it will give you another screen to put your compare ranges. Look at the bottom of the screen for examples.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

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


Joined: 22 Jul 2005
Posts: 525
Topics: 89
Location: Bangalore India

PostPosted: Tue Jan 31, 2006 12:20 pm    Post subject: Reply with quote

Kolusu,

Please correct if i am correctly mentioning the required screens.


Code:

                               SuperCE Utility                                 
Command ===> E                                                                 
                                                                   More:     +
New DS Name  . . . 'SHEKAR.TEST.SECOND'                                           
Old DS Name  . . . 'SHEKAR.TEST.FIRST'                                           
PDS Member List              (blank/pattern - member list, * - compare all)   
   (Leave New/Old DSN "blank" for concatenated-uncataloged-password panel)     
   Compare Type               Listing Type               Display Output       
   2  1. File                 2  1. OVSUM                1  1. Yes             
      2. Line                    2. Delta                   2. No             
      3. Word                    3. CHNG                    3. Cond           
      4. Byte                    4. Long                    4. UPD             
                                 5. Nolist                                     
Listing DSN  . . . . SUPERC.LIST                                               
Process Options  . .                                                           
                                                                               
Statements Dsn . . .                                                           
Update DSN . . . . .


Enter the parameters which u need accordingly.

Code:

EDIT       SHEKAR.SUPERC.STMTS                             Columns 00001 00072
Command ===> SAVE                                             Scroll ===> CSR 
                                                                               
   Enter or change Process Statements in the EDIT window below:               
****** ***************************** Top of Data ******************************
'''''' CMPCOLM 7:15  57:65                                                     
'''''' CMPCOLM 20:30 80:90                                                     
''''''                                                                         
''''''                                                                         
''''''                                                                         
''''''                                                                         
''''''                                                                         
****** **************************** Bottom of Data ****************************
   Examples                    Explanation                                     
CMPCOLM 5:60  75:90         Compare using two column compare ranges           
LSTCOLM 25:90               List columns 25:90 from input                     
DPLINE 'PAGE '              Exclude line if "PAGE " found anywhere on line     
SELECT  MEM1,NMEM2:OMEM2    Compare MEM1 with MEM1 and NMEM2 with OMEM2       
CMPLINE NTOP 'MACRO'        Start comparing after string found in new DSN     
LNCT    66                  Set lines per page to 66                           
                        - - - - -
     


We will see SUPERC.STMTS in the Statements Dsn field.

Code:

                               SuperCE Utility             Statements DS saved
Command ===>                                                                 
                                                                   More:     +
New DS Name  . . . 'SHEKAR.TEST.SECOND'                                           
Old DS Name  . . . 'SHEKAR.TEST.FIRST'                                           
PDS Member List              (blank/pattern - member list, * - compare all)   
   (Leave New/Old DSN "blank" for concatenated-uncataloged-password panel)     
   Compare Type               Listing Type               Display Output       
   2  1. File                 2  1. OVSUM                1  1. Yes             
      2. Line                    2. Delta                   2. No             
      3. Word                    3. CHNG                    3. Cond           
      4. Byte                    4. Long                    4. UPD             
                                 5. Nolist                                     
Listing DSN  . . . . SUPERC.LIST                                               
Process Options  . .                                                           
                                                                               
Statements Dsn . . . SUPERC.STMTS                                                           
Update DSN . . . . .


Shekar123
_________________
Shekar
Grow Technically
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Tue Jan 31, 2006 1:12 pm    Post subject: Reply with quote

shekhar123,

You need to have a suffix for the CMPCOLM

i.e

Quote:

CMPCOLMN 5:60 75:90
CMPCOLMO 5:60 75:90



Here N at the end stands for NEW File and O at the end stands for Old file.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

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


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Wed Feb 01, 2006 12:08 am    Post subject: Reply with quote

Wow.....That has solved my problem. thanks a lot to you people.
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
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 -> TSO and ISPF 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