View previous topic :: View next topic |
Author |
Message |
naveen Beginner
Joined: 03 Dec 2002 Posts: 90 Topics: 31
|
Posted: Thu Jan 16, 2003 4:00 am Post subject: Comparison of files |
|
|
I want to compare 2 files , both having record lengths of 80;
such that only the data between column 1 to column 20 in both files should be compared.
How can I do this ?
(I am looking for some SUPERCE or FILE-AID comparison solution) |
|
Back to top |
|
|
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Thu Jan 16, 2003 4:05 am Post subject: |
|
|
SuperC has a process statement CMPCOLM (1:20) or something like that. See the help within superc for the exact syntax. |
|
Back to top |
|
|
Phantom Data Mgmt Moderator
Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Thu Jan 16, 2003 4:25 am Post subject: |
|
|
All You need to do is that in the SYSIN card specify the following commands.
//SYSIN DD *
CMPCOLM 1:20
SELECT SRCFILE1:SRCFILE2
/*
can anyone please tell what parameter we need to pass to ISRSUPC program for Comparison.
We will use the following command to SUPERC search,
//JS01 EXEC PGM=ISRSUPC,
// PARM=(SRCHCMP,
// 'ANYC')
What should be given instead of SRCHCMP for Comparison. It will be useful if you can send me the actual piece of code.
Thanks & Regards,
Navin. J |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Thu Jan 16, 2003 7:10 am Post subject: |
|
|
Phantom,
Let the system generate the JCL for you. go to option 3.13 and on the bottom of the screen there is an option for EXECUETION MODE
Code: |
Execution Mode :
_2 1. Foreground
2. Batch
|
set the execuetion mode to 2(batch) and give the dataset names to be compared.Type E at the command prompt to give your sysin options.press PF3 after entering your options and hit ENTER.
The system will generate the JCL for you.
Hope this helps...
cheers
kolusu |
|
Back to top |
|
|
Phantom Data Mgmt Moderator
Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Thu Jan 16, 2003 7:27 am Post subject: |
|
|
Kolusu, Thanks for reminding me. I had done that before, but forgot completely.
Thanks, Its working now.
Navin. J |
|
Back to top |
|
|
|
|