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
 
Comparing Two PDS????

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

New User


Joined: 19 Jul 2005
Posts: 4
Location: Bangalore

PostPosted: Fri Sep 02, 2005 4:39 pm    Post subject: Comparing Two PDS????
Reply with quote

I have two PDS like old.pds and new.pds. I want to compare(line by line) to those pds members and the output of the line comparison would be loaded into separate pds.(like SUPERC) Can any one let me know the solution please.

I written a jcl for comparing 2 pds ie., like SUPERCE comparison, , the problem is here we will enter the each member name in to that jcl . yeah that is not automated. My teammate told REXX have these provision , I don?t know REXX. Pls. help my request.
Back to top
View user's profile Send private message

mikeym

New User


Joined: 18 Aug 2005
Posts: 7

PostPosted: Sun Sep 04, 2005 5:51 pm    Post subject:
Reply with quote

Hi,

SUPERCE will work without the need write the list of members. You can use * if you're working online in ISPF (3.13), or if you're using a job, run SUPERC with the following parm PARM=(DELTAL,LINECMP,'','')

Good luck
Back to top
View user's profile Send private message
hisabarish

New User


Joined: 19 Jul 2005
Posts: 4
Location: Bangalore

PostPosted: Mon Sep 05, 2005 6:30 pm    Post subject: Re: Comparing Two PDS????
Reply with quote

Thankx for your answer

But my requirement is....

I will give only 2 PDS names? it will be compare(line by line) to the corresponding members in the PDS and the output will be dump to the other PDS. ie., . R0001Z.LNT. REPORTS.SUPERCE

This my proc.
PROC.

//SUPERC EXEC PGM=ISRSUPC,
// PARM=(DELTAL,LINECMP,
// 'COBOL',
// '')
//NEWDD DD DSN=R0001Z.LNT.&DSNEW..&PROCGRP(&DS),
// DISP=SHR
//OLDDD DD DSN=R0001Z.LNT.&DSOLD..&PROCGRP(&DS),
// DISP=SHR
//OUTDD DD DSN=R0001Z.LNT.REPORTS.SUPERCE(&DS),
// DISP=(MOD,CATLG),SPACE=(TRK,(30,20,13),RLSE)
//SYSOUT DD SYSOUT=*
//SYSIN DD DUMMY
//


This is my Main Program.
//R0001ZS JOB (1019,XXXX,1),'SABARI',CLASS=L,
// MSGCLASS=X,NOTIFY=&SYSUID,MSGLEVEL=(1,1)
/*JOBPARM R=C739
//*
// JCLLIB ORDER=(R0001Z.CHK.COMPRE.PDS)
//STEP01 EXEC SUPERCEP,
// DSNEW=XYZNEW,DSOLD=XYZOLD,PROCGRP=C2BNNN,DS=C910001
//STEP02 EXEC SUPERCEP,
// DSNEW=XYZNEW,DSOLD=XYZOLD,PROCGRP=C2BNNN,DS=DPATEST1
//STEP03 EXEC SUPERCEP,
// DSNEW=XYZNEW,DSOLD=XYZOLD,PROCGRP=C2BNNN,DS=E070103
//STEP04 EXEC SUPERCEP,
// DSNEW=XYZNEW,DSOLD=XYZOLD,PROCGRP=C2BNNN,DS=HR00957


In that main program, each and every time, I am typing the members name and the processor group name. Instead of this manual work, I want give only the PDS names.
I want to make the above program as automated.

Pls. any body help me... I Struggled lot for last three days.
Back to top
View user's profile Send private message
mikeym

New User


Joined: 18 Aug 2005
Posts: 7

PostPosted: Wed Sep 07, 2005 6:18 pm    Post subject:
Reply with quote

Is your problem that the output of SUPERCE is a line by line comparison of corrisponding members with the output going into only ONE PDS FILE?

If that is the only problem, i can give you a little rexx i have that reads the compare output and seperates it into a pds by member name...
Back to top
View user's profile Send private message
mikeym

New User


Joined: 18 Aug 2005
Posts: 7

PostPosted: Wed Sep 07, 2005 6:26 pm    Post subject:
Reply with quote

Maybe i wasn't clear before. you can run SUPERC and only give the PDS names (one old and one new). It will compare all members with the same names, but the output will go into one sequential file with the comparisons of all the members in it. eg:
//SUPERC EXEC PGM=ISRSUPC,
// PARM=(DELTAL,LINECMP,
// '',
// '')
//NEWDD DD DSN=MYUSER.JOBS,
// DISP=SHR
//OLDDD DD DSN=MYUSER.JOBS.NEW,
// DISP=SHR
//OUTDD DD DSN=MYUSER.JOBS.COMPARE.OUT, <---sequential file
// DISP=SHR

You can run an additional step on the file MYUSER.JOBS.COMPARE.OUT which seperates the comparisons into a pds by member name.
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 Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm
No new posts Comparing Decimal and CHAR columns rakesh17684 DB2 7 Thu Oct 20, 2016 2:33 am
No new posts comparing comp-3 and unpacked numbers juares castro COBOL Programming 3 Mon May 30, 2016 6:46 pm
No new posts Need help on comparing hexadecimal va... ashok_uddaraju DFSORT/ICETOOL 4 Thu Apr 28, 2016 2:08 am
No new posts Comparing two VB files phani_nittice SYNCSORT 8 Fri Jan 22, 2016 1:19 am

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