IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Huge VSAM comparison


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ronny John

New User


Joined: 30 Mar 2010
Posts: 33
Location: USA

PostPosted: Tue Oct 12, 2010 9:48 am
Reply with quote

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
View user's profile Send private message
Ronny John

New User


Joined: 30 Mar 2010
Posts: 33
Location: USA

PostPosted: Tue Oct 12, 2010 12:41 pm
Reply with quote

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
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Tue Oct 12, 2010 2:42 pm
Reply with quote

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
View user's profile Send private message
Ronny John

New User


Joined: 30 Mar 2010
Posts: 33
Location: USA

PostPosted: Tue Oct 12, 2010 3:34 pm
Reply with quote

Hi Arun,

No duplicate is expected..

Can you please give me a sample sort card?
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Fri Oct 15, 2010 11:50 am
Reply with quote

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
View user's profile Send private message
Ronny John

New User


Joined: 30 Mar 2010
Posts: 33
Location: USA

PostPosted: Fri Oct 15, 2010 4:28 pm
Reply with quote

Thank you Arun. Let me check that out and will let you know the status.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts CVDA value for RRDS VSAM dataset. CICS 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Open VSAM File in IMS DC Region - DFS... IMS DB/DC 0
Search our Forums:

Back to Top