Compare - Using SUPERC or SUPERCE.
Select messages from
# through # FAQ
[/[Print]\]

MVSFORUMS.com -> TSO and ISPF

#1: Compare - Using SUPERC or SUPERCE. Author: mf_user PostPosted: Tue Jan 31, 2006 10:24 am
    —
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.

#2:  Author: kolusuLocation: San Jose PostPosted: Tue Jan 31, 2006 10:43 am
    —
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

#3:  Author: shekar123Location: Bangalore India PostPosted: Tue Jan 31, 2006 12:20 pm
    —
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

#4:  Author: kolusuLocation: San Jose PostPosted: Tue Jan 31, 2006 1:12 pm
    —
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

#5:  Author: mf_user PostPosted: Wed Feb 01, 2006 12:08 am
    —
Wow.....That has solved my problem. thanks a lot to you people.



MVSFORUMS.com -> TSO and ISPF


output generated using printer-friendly topic mod. All times are GMT - 5 Hours

Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group