View previous topic :: View next topic |
Author |
Message |
mf_user Intermediate
Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Tue Jan 31, 2006 10:24 am Post subject: Compare - Using SUPERC or SUPERCE. |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12370 Topics: 75 Location: San Jose
|
Posted: Tue Jan 31, 2006 10:43 am Post subject: |
|
|
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
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
shekar123 Advanced
Joined: 22 Jul 2005 Posts: 528 Topics: 90 Location: Bangalore India
|
Posted: Tue Jan 31, 2006 12:20 pm Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12370 Topics: 75 Location: San Jose
|
Posted: Tue Jan 31, 2006 1:12 pm Post subject: |
|
|
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
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
mf_user Intermediate
Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Wed Feb 01, 2006 12:08 am Post subject: |
|
|
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 |
|
|
|
|