Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Huge VSAM comparison

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Huge VSAM comparison
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    Post subject: Reply to: Huge VSAM comparison
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: 2276
Location: @my desk

PostPosted: Tue Oct 12, 2010 2:42 pm    Post subject:
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    Post subject: Reply to: Huge VSAM comparison
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: 2276
Location: @my desk

PostPosted: Fri Oct 15, 2010 11:50 am    Post subject:
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    Post subject: Reply to: Huge VSAM comparison
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us