Re: TCBJLB doesn't point to a DCB

2013-12-01 Thread DASDBILL2
Confusion seems rampant.  Please post the hexadecimal display of the first 48 
(decimal 48, or hex '30') bytes of the TCB in question.  Then post the same 
number of bytes at the beginning of the DCB in question. 

Bill Fairchild 

Franklin, TN 

- Original Message -

From: Shmuel Metz (Seymour J.) shmuel+ibm-m...@patriot.net 
To: IBM-MAIN@LISTSERV.UA.EDU 
Sent: Friday, November 29, 2013 3:55:40 PM 
Subject: Re: TCBJLB doesn't point to a DCB 

In 5737414652770988.wa.woodagozemail.com...@listserv.ua.edu, on 
11/29/2013 
   at 11:25 AM, Andy Wood woo...@ozemail.com.au said: 

Why would you expect a TCB to match the DCB DSECT? Clearly, at that 
point he is talking about TCB+X'28, not DCB+X'28'. 

Whoops! 

That would be a 24-bit address, not a 31-bit address, and bits 0-7 
should be zeroed. Which still leaves the question of whether DESERVE 
will make a special case of the linklist DCB. 
  

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: TCBJLB doesn't point to a DCB

2013-12-01 Thread MichealButz
I was confused by the documentation DCB= is the address where the DCB resides so

 Instead of coding MVC WSDCB,TCBJLB
DCB= is a parm on the DESERV 

DCB=WSDCB,

I coded L RX,TCBJLB

   DCB=(RX),

That worked

When the TASK/STEP/JOB  is specified I get X'05' for both BLDL Or DESERV for 
the library is found in When its in the LINKLIST I get a X'01' correctly so 
indicating linklist
For both BLDL/DESERV
   

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of DASDBILL2
Sent: Sunday, December 01, 2013 2:10 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: TCBJLB doesn't point to a DCB

Confusion seems rampant.  Please post the hexadecimal display of the first 48 
(decimal 48, or hex '30') bytes of the TCB in question.  Then post the same 
number of bytes at the beginning of the DCB in question. 

Bill Fairchild 

Franklin, TN 

- Original Message -

From: Shmuel Metz (Seymour J.) shmuel+ibm-m...@patriot.net
To: IBM-MAIN@LISTSERV.UA.EDU
Sent: Friday, November 29, 2013 3:55:40 PM
Subject: Re: TCBJLB doesn't point to a DCB 

In 5737414652770988.wa.woodagozemail.com...@listserv.ua.edu, on
11/29/2013
   at 11:25 AM, Andy Wood woo...@ozemail.com.au said: 

Why would you expect a TCB to match the DCB DSECT? Clearly, at that 
point he is talking about TCB+X'28, not DCB+X'28'.

Whoops! 

That would be a 24-bit address, not a 31-bit address, and bits 0-7 should be 
zeroed. Which still leaves the question of whether DESERVE will make a special 
case of the linklist DCB. 
  

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: TCBJLB doesn't point to a DCB

2013-12-01 Thread Robert A. Rosenberg
At 14:23 -0500 on 12/01/2013, MichealButz wrote about Re: TCBJLB 
doesn't point to a DCB:


I was confused by the documentation DCB= is the address where the 
DCB resides so


 Instead of coding MVC WSDCB,TCBJLB
DCB= is a parm on the DESERV

DCB=WSDCB,

I coded L RX,TCBJLB

   DCB=(RX),

That worked


Your problem with DCB=WASDCB is that says the DCB is at WASDCB not 
that the address of the DCB is in WASDCB. I do not know of a way of 
saying Look at this Location for a pointer to the DCB which is what 
you were trying to do (otherwise you could have just done 
DCB=TCBJLB). OTOH: I think same macros can do this look here by 
coding something like DCB=(*,WASDCB) or that might be some other type 
of reference.


DCB=(RX) says the DCB's address is in RX.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: TCBJLB doesn't point to a DCB

2013-11-30 Thread Peter Relson
The documentation says the TCBJLB points to a DCB of the 
first library searched for a LOAD module for a program 
running under that task

If it says exactly that with no qualification elsewhere, it could be 
clarified to say when not 0.  Also, the DCB may represent a 
concatenation not an individual library. It is true that that will be the 
first library (or libraries) searched, when a usable copy is not found 
already-loaded.

I have looked at various TCB's PSATOLD ASXBFTCB and if that address were 
a
DCB at offset X'28' there would be a CL8 DDname

various TCB's PSATOLD ASXBFTCB is not something that makes sense to me.

As others have mentioned, it is untrue that DCB offset x'28' will ever 
have a DDNAME if it is opened. 
And any joblib/steplib/tasklib will be open (and better stay open).

Are you aware that ASXBFTCB is not a program task? It is a system task 
(the RCT task). It will always have a zero TCBJLB as will some of the 
other early-in-address space tasks (as no joblib/steplib could yet have 
been defined, and no tasklib is used) such as the dump task. 

TCBJLB will be 0 when there is no joblib/steplib/tasklib.

Peter Relson
z/OS Core Technology Design

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


TCBJLB doesn't point to a DCB

2013-11-29 Thread MichealButz
The documentation says the TCBJLB points to a DCB of the first library
searched for a LOAD module for a program running under that task

 

I have looked at various TCB's PSATOLD ASXBFTCB and if that address were a
DCB at offset X'28' there would be a CL8 DDname

 

Thanks


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: TCBJLB doesn't point to a DCB

2013-11-29 Thread Micheal Butz
Can I use what's pointed to by TCBJLB as a param for DESERV
quite frankly the TCB's I have looked at the 4 byte field at offset
X'28' from the TCB doesn't look like a address

Sent from my iPhone

 On Nov 29, 2013, at 10:38 AM, Rob Scott rsc...@rocketsoftware.com wrote:
 
 The DCB foundation is a different format before and after OPEN and the 
 DCBDDNAM (and other fields) are overlaid by post-OPEN fields - for example 
 DCBTIOT
 
 Rob Scott
 Lead Developer
 Rocket Software
 77 Fourth Avenue . Suite 100 . Waltham . MA 02451-1468 . USA
 Tel: +1.781.684.2305
 Email: rsc...@rs.com
 Web: www.rocketsoftware.com
 
 -Original Message-
 From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On 
 Behalf Of MichealButz
 Sent: 29 November 2013 15:26
 To: IBM-MAIN@LISTSERV.UA.EDU
 Subject: TCBJLB doesn't point to a DCB
 
 The documentation says the TCBJLB points to a DCB of the first library 
 searched for a LOAD module for a program running under that task
 
 
 
 I have looked at various TCB's PSATOLD ASXBFTCB and if that address were a 
 DCB at offset X'28' there would be a CL8 DDname
 
 
 
 Thanks
 
 
 --
 For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
 lists...@listserv.ua.edu with the message: INFO IBM-MAIN
 
 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: TCBJLB doesn't point to a DCB

2013-11-29 Thread Rob Scott
 quite frankly the TCB's I have looked at the 4 byte field at offset X'28' 
 from the TCB doesn't look like a address

Post-OPEN DCBs do NOT have an address at offset x'28' - it contains the DCBTIOT 
field and DCBMACRF

Rob Scott
Lead Developer
Rocket Software
77 Fourth Avenue . Suite 100 . Waltham . MA 02451-1468 . USA
Tel: +1.781.684.2305
Email: rsc...@rs.com
Web: www.rocketsoftware.com


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Micheal Butz
Sent: 29 November 2013 15:46
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: TCBJLB doesn't point to a DCB

Can I use what's pointed to by TCBJLB as a param for DESERV quite frankly the 
TCB's I have looked at the 4 byte field at offset X'28' from the TCB doesn't 
look like a address

Sent from my iPhone

 On Nov 29, 2013, at 10:38 AM, Rob Scott rsc...@rocketsoftware.com wrote:
 
 The DCB foundation is a different format before and after OPEN and the 
 DCBDDNAM (and other fields) are overlaid by post-OPEN fields - for 
 example DCBTIOT
 
 Rob Scott
 Lead Developer
 Rocket Software
 77 Fourth Avenue . Suite 100 . Waltham . MA 02451-1468 . USA
 Tel: +1.781.684.2305
 Email: rsc...@rs.com
 Web: www.rocketsoftware.com
 
 -Original Message-
 From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] 
 On Behalf Of MichealButz
 Sent: 29 November 2013 15:26
 To: IBM-MAIN@LISTSERV.UA.EDU
 Subject: TCBJLB doesn't point to a DCB
 
 The documentation says the TCBJLB points to a DCB of the first library 
 searched for a LOAD module for a program running under that task
 
 
 
 I have looked at various TCB's PSATOLD ASXBFTCB and if that address 
 were a DCB at offset X'28' there would be a CL8 DDname
 
 
 
 Thanks
 
 
 --
 For IBM-MAIN subscribe / signoff / archive access instructions, send 
 email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
 
 --
 For IBM-MAIN subscribe / signoff / archive access instructions, send 
 email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: TCBJLB doesn't point to a DCB

2013-11-29 Thread Shmuel Metz (Seymour J.)
In
!!AAAYAJXIDufoOyhGhgKtFLrs5tbCgAAAEERlz2jvBKRHoxzeV+FfuzABAA==@optonline.net,
on 11/29/2013
   at 10:26 AM, MichealButz michealb...@optonline.net said:

The documentation says the TCBJLB points to a DCB of the first
library searched for a LOAD module for a program running under that
task

I have looked at various TCB's PSATOLD ASXBFTCB and if that address
were a DCB at offset X'28' there would be a CL8 DDname

No; you have to open a DCB before you use it as a tasklib, so the
relevant layout is that for an open DCB, not that for a closed DCB.
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see http://patriot.net/~shmuel/resume/brief.html 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: TCBJLB doesn't point to a DCB

2013-11-29 Thread Andy Wood
On Fri, 29 Nov 2013 11:32:45 -0500, Shmuel Metz (Seymour J.) 
shmuel+ibm-m...@patriot.net wrote:

In 0717adf1-8fde-41db-940d-77a882817...@optonline.net, on 11/29/2013
   at 10:45 AM, Micheal Butz michealb...@optonline.net said:

Can I use what's pointed to by TCBJLB as a param for DESERV

ObFoma Yes.

quite frankly the TCB's I have looked at the 4 byte field at offset
X'28' from the TCB doesn't look like a address

Why would you expect it to? Look at your DCBD macro expansion.

Why would you expect a TCB to match the DCB DSECT? Clearly, at that point he is 
talking about TCB+X'28, not DCB+X'28'.

I'm too lazy to check if that is a 4 byte address though, and not one of the 
three byte relics with something else in the top byte.



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: TCBJLB doesn't point to a DCB

2013-11-29 Thread Gerhard Postpischil

On 11/29/2013 10:26 AM, MichealButz wrote:

The documentation says the TCBJLB points to a DCB of the first library
searched for a LOAD module for a program running under that task


Can you provide a reference - the statement may be true in some limited 
context. But for tasklibs, the DCB is set for EXCP (or could be BPAM if 
user provided) and can support up to 16 libraries, with a total extent 
limit of 256.



I have looked at various TCB's PSATOLD ASXBFTCB and if that address were a
DCB at offset X'28' there would be a CL8 DDname


I just tried this on my system. FTCB has 0 for TCBJLB (region control 
task). LTCB actually turned up some DCBs, all of which were open and 
pointed to an EXCP DCB.


Re Shmuel's earlier comment - TCBJLB and DCBDDNAM coincidentally both 
have an offset of x'28'.


Gerhard Postpischil
Bradford, Vermont

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: TCBJLB doesn't point to a DCB

2013-11-29 Thread Shmuel Metz (Seymour J.)
In 5737414652770988.wa.woodagozemail.com...@listserv.ua.edu, on
11/29/2013
   at 11:25 AM, Andy Wood woo...@ozemail.com.au said:

Why would you expect a TCB to match the DCB DSECT? Clearly, at that
point he is talking about TCB+X'28, not DCB+X'28'.

Whoops! 

That would be a 24-bit address, not a 31-bit address, and bits 0-7
should be zeroed. Which still leaves the question of whether DESERVE
will make a special case of the linklist DCB.
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see http://patriot.net/~shmuel/resume/brief.html 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN