Sometimes the obvious is obscurred.  It appeared that the plist was
being cleared in the code, but upon a more detailed scrutinization, it
was determined that the clearing was incorrect.  Once that was
corrected, it worked as expected.

Thanx
brad

> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Binyamin Dissen
> Sent: Saturday, December 24, 2005 12:27 PM
> To: [email protected]
> Subject: Re: Locating a load module, via LOAD vs ATTACH
> 
> 
> On Sat, 24 Dec 2005 11:40:04 -0600 Brad Taylor 
> <[EMAIL PROTECTED]>
> wrote:
> 
> :>Why does LOAD find a module and ATTACH does not.  I have a 
> subtask in a
> :>jobstep that issues an ATTACH for a load module that is in 
> steplib.  If
> :>I don't issue a LOAD first I get an 806-C library not open, 
> along with
> :>message CSV005I BLDL FAILED FOR MODULE xxxxxxxx, DCB NOT 
> OPEN.  However
> :>if I issue a LOAD for the module, the attach works fine.  I 
> have looked
> :>at the TCBs in storage and TCBJLB is pointing to a DCB that 
> is open and
> :>is STEPLIB.  I always thought that what LOAD could find, 
> ATTACH could
> :>find.  I was wondering if anyone knows the why of this behaviour.
> 
> Sounds like you have a DCB address in your ATTACH plist - 
> perhaps something
> wasn't cleared.
> 
> If you do the LOAD first, ATTACH finds the module already 
> loaded and thus does
> not check the DCB.
> 
> --
> Binyamin Dissen <[EMAIL PROTECTED]>
> http://www.dissensoftware.com
> 
> Director, Dissen Software, Bar & Grill - Israel
> 
> 
> Should you use the mailblocks package and expect a response from me,
> you should preauthorize the dissensoftware.com domain.
> 
> I very rarely bother responding to challenge/response systems,
> especially those from irresponsible companies.
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
> 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to