Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Is it possible to compare more than 2 PS at the same time

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

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Wed May 31, 2006 11:21 am    Post subject: Is it possible to compare more than 2 PS at the same time
Reply with quote

Hi,

My requirement is to compare 3 or more datasets at the same time and output the difference into a output file with the base file.
Could anyone let me know the proccedure...is it feasible or not??

Thanks
Vamsi
Back to top
View user's profile Send private message

rajandhla

Active User


Joined: 18 Oct 2005
Posts: 182
Location: Luton UK

PostPosted: Wed May 31, 2006 2:21 pm    Post subject:
Reply with quote

I have never tried comparing more than 2 PS files........

But if possible, it can be with DFSSORT......

Regards
jai
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Thu Jun 01, 2006 10:43 am    Post subject:
Reply with quote

Here is the code to SUPERC more than 3 datasets


//SUPERC EXEC PGM=ISRSUPC,
// PARM=(DELTAL,LINECMP,
// '',
// '',
// '')
//NEWDD DD DSN=KBY@V1.TEST.JCL(TEST2),
// DISP=SHR
// DD DSN=KBY@V1.TEST.JCL(TEST3),
// DISP=SHR
// DD DSN=KBY@V1.TEST.JCL(TEST4),
// DISP=SHR
//OLDDD DD DSN=KBY@V1.TEST.JCL(TEST1),
// DISP=SHR
//OUTDD DD SYSOUT=*

~Vamsi
Back to top
View user's profile Send private message
charu arora

New User


Joined: 30 May 2006
Posts: 13
Location: bangalore

PostPosted: Fri Jun 02, 2006 4:13 pm    Post subject:
Reply with quote

can anybody please explain this above code

Thanks

Charu
Back to top
View user's profile Send private message
balajiofcrrcoe

New User


Joined: 07 Jul 2005
Posts: 41
Location: chennai

PostPosted: Fri Jun 02, 2006 8:14 pm    Post subject: Re: Is it possible to compare more than 2 PS at the same tim
Reply with quote

Hi,
In the Newdd (NEW fILE) KBY@V1.TEST.JCL(TEST2),KBY@V1.TEST.JCL(TEST3),KBY@V1.TEST.JCL(TEST4) are concatened and the concatenated file is compared with KBY@V1.TEST.JCL(TEST1) and the resulted listing is sent to OUTDD.

The type of listing depends on the PARM options.

Regards
Back to top
View user's profile Send private message
sand
Warnings : 1

New User


Joined: 20 Nov 2005
Posts: 19

PostPosted: Mon Jul 10, 2006 3:36 am    Post subject: Re: Is it possible to compare more than 2 PS at the same tim
Reply with quote

What kind of listing we can give in PARM???
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 How syntax check at Bind time is diff... Poha Eater DB2 5 Wed Mar 21, 2018 9:16 pm
No new posts Query to compare 2 values of 1 column... Poha Eater DB2 13 Fri Mar 09, 2018 10:45 am
No new posts Merging records, but not all the time prino DFSORT/ICETOOL 17 Sat Feb 17, 2018 4:20 pm
No new posts Need to identify top 10 costly or tim... ashek15 DB2 4 Wed Feb 14, 2018 3:20 am
No new posts Logic to skip Maximum time-stamp and ... vickey_dw DB2 2 Thu Feb 01, 2018 11:15 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us