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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
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


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