View previous topic :: View next topic |
Author |
Message |
hisabarish Beginner
Joined: 21 Jun 2005 Posts: 38 Topics: 11
|
Posted: Fri Sep 02, 2005 6:04 am Post subject: Comparing Two PDS. |
|
|
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 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 _________________ Sabari
Madras |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Fri Sep 02, 2005 6:24 am Post subject: |
|
|
hisabarish,
Why not run run 3.13 in batch ?
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
hisabarish Beginner
Joined: 21 Jun 2005 Posts: 38 Topics: 11
|
Posted: Fri Sep 02, 2005 7:03 am Post subject: |
|
|
Yes Kolusu,
But if u have 230 members in your PDS , you should type the 230 members in that 3.13 in batch. I want to avoid typing the each and every member. In other words,
I will give only 3 pds names, then It read the entire members from pds1 and pds2 , compare it , then the result would be stored in the output PDS. _________________ Sabari
Madras |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Fri Sep 02, 2005 7:20 am Post subject: |
|
|
Quote: |
But if u have 230 members in your PDS , you should type the 230 members in that 3.13 in batch. I want to avoid typing the each and every member. In other words,
|
NO you don't have to type all the member names.
1. Give the PDS names and select the batch option(2) at the bottom and press enter.
On the next screen you will see all the members and Now type S * to all members and press ENTER at the command prompt or tab over to the left side of the member and type s to select the desired members.
Code: |
//SUPERC EXEC PGM=ISRSUPC, *
// PARM=(DELTAL,LINECMP,
// '',
// '')
//NEWDD DD DSN=your pds1,
// DISP=SHR
//OLDDD DD DSN=your pds2,
// DISP=SHR
//OUTDD DD DSN=YOUR PDS3(RESULT),
// DISP=SHR
//SYSIN DD *
ispf generates these statements..
/*
|
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
hisabarish Beginner
Joined: 21 Jun 2005 Posts: 38 Topics: 11
|
Posted: Fri Sep 02, 2005 10:17 am Post subject: |
|
|
Thankx for your reply,
Pls. kolusu give me any other logic, because client need for that JCL for reference.
When I tried your 3.13 thru batch run I got this following error. Pls. rectify my problem.
11.08.09 JOB04081 $HASP165 R0001Z (JOB04081 FROM SMASYS1 ) ENDED AT SMWSYS1
MAXCC=25 CN(INTERNAL)
11.08.14 JOB04081 $HASP546 R0001Z SYSTEM OUTPUT RECEIVED AT SMASYS1 CN(INTERNAL) _________________ Sabari
Madras |
|
Back to top |
|
|
Phantom Data Mgmt Moderator
Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Fri Sep 02, 2005 10:32 am Post subject: |
|
|
Sabari,
You need to post your SYSOUT message for us to determine the problem. Also, please post the complete JCL you used.
Thanks,
Phantom |
|
Back to top |
|
|
hisabarish Beginner
Joined: 21 Jun 2005 Posts: 38 Topics: 11
|
Posted: Sun Sep 04, 2005 3:24 am Post subject: |
|
|
My requirement is
I will give only 2 PDS names _________________ Sabari
Madras |
|
Back to top |
|
|
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
|
Back to top |
|
|
hisabarish Beginner
Joined: 21 Jun 2005 Posts: 38 Topics: 11
|
Posted: Mon Sep 05, 2005 1:20 am Post subject: |
|
|
Hi semigeezer,
Thnx for your answer. But disp=mod is not a problem,the above program is working fine.. My problem is , avoid typing the DS= C910001,DS=DPATEST1 like that....
So pls. rever me.. _________________ Sabari
Madras |
|
Back to top |
|
|
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Mon Sep 05, 2005 1:40 am Post subject: |
|
|
A rexx exec using the ISPF skeletons can generate JCL for you. One way (there are an infinite number of ways to do this, I suppose), is to use LMDLIST and/or LMMLIST to populate an ISPF table of data set names and/or member names, then use skeletons to create the JCL for you. Whatever way you get the dataset or member names, you will need to do some programming. You could also use SORT to post process some TSO command output (LISTCAT, LISTDS) but use whatever is comfortable to you. |
|
Back to top |
|
|
hisabarish Beginner
Joined: 21 Jun 2005 Posts: 38 Topics: 11
|
Posted: Mon Sep 05, 2005 5:17 am Post subject: |
|
|
Hello boss,
Thnx for your great answer... Can you give it me with an example or guide me which the link i can refer it.. please.
Once again thankx for your answer.
Sabari _________________ Sabari
Madras |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
hisabarish Beginner
Joined: 21 Jun 2005 Posts: 38 Topics: 11
|
Posted: Thu Sep 08, 2005 6:34 am Post subject: |
|
|
Thankx for all ur support essp. Mr. Kolusu..
I did the task i post my results when my testing would be completed.
Once again thankx for all ur support. _________________ Sabari
Madras |
|
Back to top |
|
|
|
|