vijjukum Beginner
Joined: 22 Dec 2006 Posts: 2 Topics: 2 Location: HYDERABAD
|
Posted: Mon Mar 26, 2007 5:29 am Post subject: Compare members of 2 PDS of more than single criteria |
|
|
hi
i have pds 'vijay.jcl' having members names
PQFI1111
PQFI2222
PQFI3333
SQFI1111
SQFI2222
SQFI3333
VJK12541
RNSM215
So my intension is to replace
PQFI with PFFI AND
SQFI with SFFI AND
remaining all members should copy in new PDS named vijay.jcl1
so criterias should copy criterial and non criterial members also should copy in pds
U gave above answer for one criteria i wnat for more than 1 criteria.
so how the control card looks like
1)
Code: |
$$DD01 COPY MEMBERS=PQFI----,
NEWMEMS=PFFI----
$$DD02 COPY MEMBERS=SQFI----,
NEWMEMS=SFFI----
|
or
Code: |
2)
$$DD01 COPY MEMBERS=PQFI----,SQFI----,
NEWMEMS=PFFI----,SFFI----
|
and remianing members should copy as it is.
can u tell me the control card. |
|