View previous topic :: View next topic
|
Author |
Message |
ozgurseyrek
New User
Joined: 22 Feb 2008 Posts: 70 Location: Turkey
|
|
|
|
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 |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
do you have duplicate members .ie same member name in both libraries.
Gerry |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
When it works OK, is the largest blocksize dataset being read first ? |
|
Back to top |
|
|
ozgurseyrek
New User
Joined: 22 Feb 2008 Posts: 70 Location: Turkey
|
|
|
|
When the bigger first, it doesn't work OK..
Whent the smaller first, it works normally... |
|
Back to top |
|
|
ozgurseyrek
New User
Joined: 22 Feb 2008 Posts: 70 Location: Turkey
|
|
|
|
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 |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
Back to top |
|
|
|