View previous topic :: View next topic
|
Author |
Message |
Ronny John
New User
Joined: 30 Mar 2010 Posts: 33 Location: USA
|
|
|
|
Hi,
I have a VSAM file with extended addressability with LRECL 4600 with 30 million records. I have extended the format of the existing VSAM file to LRECL 5000(i have a backup of the old VSAM). The first 1000 bytes of both the layouts are same.
I need to compare the first 1000 bytes of both the VSAM files with 30 million records. Please let me know how to create a JCL or any other method which you guys feel can be useful. I tried 3.13 ISPF option, but as the file size is big, it’s not working.
Regards,
Ronny John |
|
Back to top |
|
|
Ronny John
New User
Joined: 30 Mar 2010 Posts: 33 Location: USA
|
|
|
|
Or alteast let me know what isrsupc option should be given to check only the first 100 records, for the same requirement above??
"" I have a VSAM file with extended addressability with LRECL 4600 with 30 million records. I have extended the format of the existing VSAM file to LRECL 5000(i have a backup of the old VSAM). The first 1000 bytes of both the layouts are same.
I need to compare the first 1000 bytes of both the VSAM files with 30 million records. Please let me know how to create a JCL or any other method which you guys feel can be useful. I tried 3.13 ISPF option, but as the file size is big, it’s not working. "" |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Ronny,
If you have Syncsort, you could try a JOIN UNPAIRED on the first 1000 bytes, provided there are no duplicates on first 1000 bytes. |
|
Back to top |
|
|
Ronny John
New User
Joined: 30 Mar 2010 Posts: 33 Location: USA
|
|
|
|
Hi Arun,
No duplicate is expected..
Can you please give me a sample sort card? |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Ronny,
You could try this Syncsort job to find out if there are any unmatched records in your Output file.
An empty output file indicates that all the records are matching on pos 1-1000 in both the files
Code: |
//STEP01 EXEC PGM=SORT
//SORTJNF1 DD DISP=SHR,DSN= VSAM file-1 (Fixed Length)
//SORTJNF2 DD DISP=SHR,DSN= VSAM file-2 (Fixed Length)
//SYSOUT DD SYSOUT=*
//SORTOUT DD DSN= Output file (Unmatched records from both files)
//SYSIN DD *
JOINKEYS FILES=F1,FIELDS=(1,1000,A)
JOINKEYS FILES=F2,FIELDS=(1,1000,A)
JOIN UNPAIRED,ONLY
SORT FIELDS=COPY
REFORMAT FIELDS=(F1:1,1000,F2:1,1000) |
|
|
Back to top |
|
|
Ronny John
New User
Joined: 30 Mar 2010 Posts: 33 Location: USA
|
|
|
|
Thank you Arun. Let me check that out and will let you know the status. |
|
Back to top |
|
|
|