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

How to merge member changes from two PDS's?


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
satish.ms10

Active User


Joined: 10 Aug 2009
Posts: 184
Location: India

PostPosted: Sat Jul 17, 2010 11:34 am
Reply with quote

Hi,

We have done some code changes to a JCL job and the code changes are done in two PDS's for the same job.

Do we have any way to consolidate those changes in one PDS?

Thanks in advance.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Jul 17, 2010 1:18 pm
Reply with quote

I think that you need to explain what has happened and what you need help with in much more detail to be able to get some assistance.
Back to top
View user's profile Send private message
satish.ms10

Active User


Joined: 10 Aug 2009
Posts: 184
Location: India

PostPosted: Sat Jul 17, 2010 1:42 pm
Reply with quote

Hi,

I have job (ex. JOB123) in PDS: ABC and in PDS: XYZ. User A modified the job in ABC pds and user B modifed in XYZ pds in different lines.

Now we need to consolidate those changes in any one PDS.

Do we have any way to achieve this? If yes, guide me how can I do?

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

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Sat Jul 17, 2010 2:07 pm
Reply with quote

Put the job in 1 pds only and apply the changes again.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Sat Jul 17, 2010 2:46 pm
Reply with quote

take a look at IBM's Merge Tool, here is a link to the PDF download:
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/download/C2716942.pdf?DT=20050413143930

ask your systems people, they probably use it if they use SCLM.
Back to top
View user's profile Send private message
satish.ms10

Active User


Joined: 10 Aug 2009
Posts: 184
Location: India

PostPosted: Mon Jul 19, 2010 5:19 pm
Reply with quote

Thank you very much Dick,

I will look into this manual and let you know.

Thanks,
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Jul 20, 2010 8:03 pm
Reply with quote

I believe you can compare both the members from different PDS using ISPF 3.13, and then just take one JCL-member as reference and pick what needs to be added from other member.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Jul 20, 2010 8:27 pm
Reply with quote

ok, you can use this - this will give a comparison in the OUTDSN, which is pretty easy to comprehend.
Code:
//jobcard
//*           
//            SET NEWDSN=some.pds1(mem)         
//            SET OLDDSN=some.pds2(mem)         
//            SET OUTDSN=compared.output
//*******************************************************************
//SUPERC2  EXEC PGM=ISRSUPC,REGION=0M,                               
//            PARM=(CHNGL,LINECMP,'DPBLKCL ANYC WIDE','')           
//NEWDD    DD DSN=&NEWDSN,                                           
//            DISP=SHR,DCB=BUFNO=30                                 
//OLDDD    DD DSN=&OLDDSN,                                           
//            DISP=SHR,DCB=BUFNO=30                                 
//OUTDD    DD DSN=&OUTDSN,                                           
//            DISP=(,CATLG,DELETE),UNIT=SYSDA,                       
//            SPACE=(CYL,(1,1),RLSE),                               
//            DCB=(RECFM=FB,LRECL=133,BLKSIZE=3325)                 
//SYSIN    DD *                                                     
   CMPCOLM 1:72                                                     
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
This topic is locked: you cannot edit posts or make replies. Merge 2 input files based on the reco... JCL & VSAM 2
No new posts Searching for a member but don't know... TSO/ISPF 6
No new posts Merge 2 input files after sort SYNCSORT 14
Search our Forums:

Back to Top