Binyamin Dissen wrote:
On Mon, 28 Aug 2006 08:55:35 -0500 Mark <[EMAIL PROTECTED]> wrote:

:>Robert A. Rosenberg wrote:
:>> At 16:20 -0500 on 08/25/2006, Mark wrote about Re: VSAM CLOSE failure :>> problem:

:>>> Charles,
:>>> When I issue the close request, I do indeed still have the ACB in :>>> core. The SHOWCB ERROR as noted in the docs return the same info as :>>> the acberflg.

:>>> So as far as I can tell, VSAM is returning an RC of 4, but zero :>>> error value. A combination which is not documented. :>>> So either I'm missing some documentation, or DFSMS is returning a bad :>>> error value.

:>>> Any more ideas?

:>> Are you closing them one at a time or all 4 in the same close. If the :>> latter, try closing them one at at time and see if it helps (or :>> returns better tracking results).

:>I am indeed closing them one at a time. The first ones work, the last :>one doesn't. The last close doesn't know its the last one until after :>the close takes place and I can not find a next control block in the chain.

:>I'm going to check that the DEB points to my ACB. It should but I have :>had cases in the past where it didn't because I'd goofed something up on :>the OPEN request.

It would be a good idea to get a dump to confirm that the address you are
CLOSEing contains an ACB.

--
Binyamin
I've confirmed that the ACB address is good for closing. And it would seem that the ACB is in the DEB as well. However, my SYSUDUMP information looks a bit strange...

-DEB--------------------------------------AT LOCATION 00876B00 ----- -10 PREFIX 00000000 00000000 EXTNSION 00876B28 LENGTH 07 AMTYPE 01 TBLOF 0016 +0 TCBADR 0087BCF0 NEXTDEB 00876BD8 IRBADR 00000000 PATB 00000100 +10 USRPG 00000000 RRQ 11AA4C10 DCBADR 8F876B7C APPADR 00876ADC +20 80000000 00000000 -DEB--------------------------------------AT LOCATION 00876BD8 ----- -10 PREFIX 00000000 00000000 EXTNSION 00876C00 LENGTH 07 AMTYPE 01 TBLOF 001A +0 TCBADR 0087BCF0 NEXTDEB 00876CB0 IRBADR 00000000 PATB 00000100 +10 USRPG 00000000 RRQ 1191E938 DCBADR 8F876C54 APPADR 00876BB4 +20 80000000 00000000
Oddly enough the RRQ field is my ACB address.  The DCBADR is something else.

Anyone know why the ACB address isn't in the right place?

-Mark Vollmer
----------------------------------------------------------------------
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