View previous topic :: View next topic
|
Author |
Message |
Gopalakrishnan V
Active User
Joined: 28 Jun 2010 Posts: 102 Location: chennai
|
|
|
|
Hello,
I need to write a jcl.
Suppose i have an input ps file named INPUT1. INPUT1 contains the names of 20 programs. Example :
prog1
prog2
prog3
...
prog20.
Now i need to compare these program names of ps file named INPUT1 with another existing pds for ex: INPUT2.PDS which contains 30 members of which 20 members are having the same program name as INPUT1.
example : INPUT2.PDS
prog1
prog2
prog3
prog20
prog21
...
prog30
I need to match only the program names that are in INPUT1 with INPUT2.PDS. That is 20 program names will match.Now i need to copy the
contents of the 20 programs to my output pds file.
Please help me with the code.Thanks in advance |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
It's a simple JOINKEYS to do the match, then generate some cards for something else. IEBCOPY for one example. |
|
Back to top |
|
|
Gopalakrishnan V
Active User
Joined: 28 Jun 2010 Posts: 102 Location: chennai
|
|
|
|
That was helpful.i got the output.Thank you |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Can you post what you used, please. It can help someone in the future with a similar task. |
|
Back to top |
|
|
|