View previous topic :: View next topic
|
Author |
Message |
antonrino.b
New User
Joined: 10 Jan 2006 Posts: 76 Location: Germany
|
|
|
|
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 |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
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 |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
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??? |
|
Back to top |
|
|
antonrino.b
New User
Joined: 10 Jan 2006 Posts: 76 Location: Germany
|
|
|
|
Thanks Rupesh and Khamarutheen. I will try and let you people know. |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
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 |
|
|
Alissa Margulies
SYNCSORT Support
Joined: 25 Jul 2007 Posts: 496 Location: USA
|
|
|
|
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 |
|
|
|