View previous topic :: View next topic
|
Author |
Message |
shankar.v
Active User
Joined: 25 Jun 2007 Posts: 196 Location: Bangalore
|
|
|
|
I am searching for a string 'PGM1' using the below job. I am not gettting the correct result even though the string 'PGM1' present in one of the member of third dataset PDS3.
All the three input datasets contains thousands of members.
I reorder the concatenation of dataset by bringing the third dataset to first, then I am getting the correct result.
Could you please anyone throw light on this
Code: |
//JOBNAMEA JOB 0,CLASS=T,MSGCLASS=0,NOTIFY=&SYSUID
//SEARCH EXEC PGM=ISRSUPC,PARM=(SRCHCMP,'ANYC',IDPFX,XREF)
//NEWDD DD DISP=SHR,DSN=PDS1
// DD DISP=SHR,DSN=PDS2
// DD DISP=SHR,DSN=PDS3
//OUTDD DD SYSOUT=*
//SYSIN DD *
SRCHFOR 'PGM1' |
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Try running them separately. . .
I've not tried to concatenate entire partitioned datasets. . .
Possibly has to do with dcb info or if there is a mix of pds and pdse . . . |
|
Back to top |
|
|
shankar.v
Active User
Joined: 25 Jun 2007 Posts: 196 Location: Bangalore
|
|
|
|
I have duplicate member names in the PDS concatenation.
I have used SDUPM in PARM and now I am getting my expected results.
The SDUPM parameter searches duplicate member names in the PDS concatenation.
Code: |
//SEARCH EXEC PGM=ISRSUPC,PARM=(SRCHCMP,'ANYC',IDPFX,XREF,SDUPM) |
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Good to hear it is working - thank you for letting us know the resolution
d |
|
Back to top |
|
|
|