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
 

 

Compare two sequential datasets using JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
antonrino.b

New User


Joined: 10 Jan 2006
Posts: 76
Location: Germany

PostPosted: Wed Jan 11, 2006 2:11 pm    Post subject: Compare two sequential datasets using JCL
Reply with quote

How to compare two sequential datasets using JCL similar to that of 3.12(SUPERC)? I want the output in a dataset similar to the output of SUPERC?
Back to top
View user's profile Send private message

Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Wed Jan 11, 2006 2:25 pm    Post subject: Re: Compare datasets
Reply with quote

HI
Try the following JCL

Code:
//CMPRTST1 JOB (ACCT#),'SORT  ',NOTIFY=&SYSUID,CLASS=T,MSGCLASS=X 
//SUPERC  EXEC PGM=ISRSUPC,                                       
//            PARM=(DELTAL,LINECMP,                               
//            ' SEQ',                                             
//            '')                                                 
//NEWDD  DD DSN=First File,                           
//          DISP=SHR                                               
//OLDDD  DD DSN=Second File,                           
//          DISP=SHR                                               
//OUTDD  DD DSN=Output file,                           
//          DISP=OLD                     



Hope this helps
Regards
Rupesh
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Wed Jan 11, 2006 2:44 pm    Post subject: Compare
Reply with quote

Hi Anton,

Addint to Rupesh JCL this is also b used to compare two DS

Code:
//JOB1 JOB A50, 'name'
//STEP1 EXEC PGM=IEBCOMPR
//SYSOUT DD SYSOUT=*
//SYSUT1  DD DSN=DSNNAME,DISP=SHR
//SYSUT2  DD DSN=DSNNAME,DISP=SHR
//SYSIN    DD *

 COMPARE TYPORG=PO/PS
/*
//


Try and say wheather the results are same or it differs??? icon_cool.gif
Back to top
View user's profile Send private message
antonrino.b

New User


Joined: 10 Jan 2006
Posts: 76
Location: Germany

PostPosted: Wed Jan 11, 2006 8:49 pm    Post subject: Re: Compare datasets
Reply with quote

Thanks Rupesh and Khamarutheen. I will try and let you people know.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Wed Jan 11, 2006 10:17 pm    Post subject: Re: Compare datasets
Reply with quote

antonrino.b,

Quote:
How to compare two sequential datasets using JCL similar to that of 3.12(SUPERC)? I want the output in a dataset similar to the output of SUPERC?

Did you notice these options at the bottom of the screen while using SUPERC or 3.12 ?

Code:
Enter "/" to select option      Execution Mode          Output Mode
   Mixed Mode                   1  1. Foreground        2  1. View 
   Bypass selection list           2. Batch                2. Browse


Execution Mode: If given 2, will take you for further options & at last you'll be able to view/edit the JCL being submitted for that.

Regards,

Priyesh.
Back to top
View user's profile Send private message
Alissa Margulies

SYNCSORT Support


Joined: 25 Jul 2007
Posts: 500
Location: USA

PostPosted: Wed Feb 04, 2009 12:25 am    Post subject:
Reply with quote

It sounds like you may be able to use SyncSort's JOIN feature for this, but without seeing sample input and an example of the desired output, I cannot provide you with any specifics.
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 REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts compare 2 rows within the same file ram_vizag SYNCSORT 7 Wed Jun 14, 2017 12:34 am
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm


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