IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Searching Different Block size PDS's


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ozgurseyrek

New User


Joined: 22 Feb 2008
Posts: 70
Location: Turkey

PostPosted: Tue Sep 29, 2009 2:22 pm
Reply with quote

Hi,
I am searching PDS's with same lrecl but different block size with that JCL.
Code:
//SEARCH   EXEC PGM=ISRSUPC,             
//            PARM=(SRCHCMP,             
//            'ANYC MIXED')               
//NEWDD    DD DSN=XXXX.XXX.XXXX,         
//          DISP=SHR                     
//         DD DSN=YYYY.YYY.YYYY,         
//          DISP=SHR                     
//OUTDD    DD SYSOUT=(A)                 
//SYSIN    DD *                           
SRCHFOR 'MYNAME'                         
/*                                       

But That JCL only finds the search string at first PDS(XXXX.XXX.XXXX). And JCL doen't end wtih error.

When I changed the order of the PDS's that JCL works normally and find search string in 2 PDS's.

Are there anyone that can explain that issue?, Thanks.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Tue Sep 29, 2009 3:05 pm
Reply with quote

Hi,

do you have duplicate members .ie same member name in both libraries.


Gerry
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Sep 29, 2009 3:10 pm
Reply with quote

When it works OK, is the largest blocksize dataset being read first ?
Back to top
View user's profile Send private message
ozgurseyrek

New User


Joined: 22 Feb 2008
Posts: 70
Location: Turkey

PostPosted: Tue Sep 29, 2009 3:41 pm
Reply with quote

When the bigger first, it doesn't work OK..
Whent the smaller first, it works normally...
Back to top
View user's profile Send private message
ozgurseyrek

New User


Joined: 22 Feb 2008
Posts: 70
Location: Turkey

PostPosted: Tue Sep 29, 2009 3:49 pm
Reply with quote

gcicchet asked;
Quote:

do you have duplicate members .ie same member name in both libraries.



The answer;
Yes, we have same named members at that PDS's.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Tue Sep 29, 2009 3:51 pm
Reply with quote

Hi,

please see link ibmmainframes.com/viewtopic.php?t=39916&highlight=sdupm it may assist.


Gerry
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using Java/C/C++ to retrieve dataset ... Java & MQSeries 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Searching for a member but don't know... TSO/ISPF 6
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
No new posts I need a 4 lines block where substrin... DFSORT/ICETOOL 12
Search our Forums:

Back to Top