Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Incorrect results in SRCHFOR using ISRSUPC

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

Active User


Joined: 25 Jun 2007
Posts: 196
Location: Bangalore

PostPosted: Thu Oct 06, 2011 9:04 pm    Post subject: Incorrect results in SRCHFOR using ISRSUPC
Reply with quote

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
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Oct 06, 2011 9:41 pm    Post subject:
Reply with quote

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 . . . icon_confused.gif
Back to top
View user's profile Send private message
shankar.v

Active User


Joined: 25 Jun 2007
Posts: 196
Location: Bangalore

PostPosted: Thu Oct 06, 2011 9:46 pm    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Oct 06, 2011 10:01 pm    Post subject: Reply to: Incorrect results in SRCHFOR using ISRSUPC
Reply with quote

Good to hear it is working - thank you for letting us know the resolution icon_smile.gif

d
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 Incorrect output when trying to add n... monica1 PL/I & Assembler 10 Fri Jan 13, 2017 5:02 pm
No new posts Vision results (also known as DYL-280) CaptBill CA Products 1 Tue Dec 20, 2016 3:35 am
No new posts Low values Results from VARCHAR FORMAT balaji81_k DB2 10 Thu Oct 20, 2016 1:18 am
No new posts ISRSUPC SRCHFOR tool - Query while us... soundarr JCL & VSAM 7 Wed Mar 16, 2016 8:55 pm
No new posts Strange Results with ICETOOL Rohit Umarjikar DFSORT/ICETOOL 4 Tue Dec 22, 2015 4:12 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us