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
 

 

Searching Different Block size PDS's

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Searching Different Block size PDS's
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: 1703
Location: Australia

PostPosted: Tue Sep 29, 2009 3:05 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Sep 29, 2009 3:10 pm    Post subject:
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    Post subject:
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    Post subject:
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: 1703
Location: Australia

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

Hi,

please see link http://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    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 SORT Block of records girishb2 DFSORT/ICETOOL 12 Thu Sep 15, 2016 8:58 am
No new posts Increase the screen size after split mistah kurtz TSO/ISPF 2 Fri Sep 02, 2016 6:39 pm
No new posts ALTER of an IDMS AREA with NEW/OLD pa... Awanti IDMS/ADSO 2 Mon Mar 14, 2016 10:01 pm
This topic is locked: you cannot edit posts or make replies. MEMOAPIX - Searching for a Reference ... Steve Coalbran All Other Mainframe Topics 13 Wed Feb 03, 2016 12:01 pm
No new posts Which Control block has the DSNTYPE i... sudarshan.srivathsav PL/I & Assembler 4 Thu Jan 28, 2016 11:29 pm


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