Re: DESERV function get DCB address

2013-12-04 Thread Peter Relson
Don't you mean ASXBFTCB 

No I do not. 

Your time-of-execution TCB address will never match ASXBFTCB. 
The EXEC PGM= TCB address is in ASCBXTCB.

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


Re: DESERV function get DCB address

2013-12-03 Thread Micheal Butz
Don't you mean ASXBFTCB 

Sent from my iPhone

 On Dec 2, 2013, at 8:06 AM, Peter Relson rel...@us.ibm.com wrote:
 
 Two questions 
 
  1) can BLDL or DESERV differentiate between TASK  STEP or JOBLIB
 
 BLDL does, if you give it a DCB address of 0, returning information in 
 PDS2LIBF (AKA the Z byte) which indicates whether this was found in the 
 LNKLST, joblib/steplib, or the Nth tasklib. DESERV does not support an 
 input DCB address of 0. Neither BLDL nor DESERV cares what your input DCB 
 represents if you give it a DCB. Could they differentiate? Sure. But so 
 could you. There is no reason that they should. Their goal is to provide 
 you information based on the DCB, and that does not require caring what 
 that DCB is. The only thing that is truly important is to know if the DCB 
 is for the LNKLST because that DCB is of special formation (such that 
 DEBCHECK would not succeed).
 
 Only the initiator (term used loosely to represent all the code that would 
 handle this) knows if TCBJLB of the ASCBXTCB task represents a joblib or a 
 steplib.
 
 2) is there any way to get DSN name given a DCB I seem to recall RDJFCB
 doing that but that was with EXLST pram on the DCB 
 
 Since you recall, I suggest that you look at it to see. Yes, I believe 
 that you can
 determine the data set name using RDJFCB, given an open DCB and the 
 concatenation number (PDS2CNCT, AKA the K byte, from BLDL) 
 
 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

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


Re: DESERV function get DCB address

2013-12-03 Thread Shmuel Metz (Seymour J.)
In a6c1919a-f0ad-4e73-b6ca-1a1091b3f...@optonline.net, on 12/02/2013
   at 10:12 PM, Micheal Butz michealb...@optonline.net said:

The TIOT entry only says if it's a joblib

If the ddname in the entry is 'STEPLIB ' then it's a steplib. Or do
you have two DD statements with the same ddname?
 
-- 
 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: DESERV function get DCB address

2013-12-03 Thread Micheal Butz
Sorry you are correct

Sent from my iPhone

 On Dec 3, 2013, at 2:49 PM, Shmuel Metz (Seymour J.) 
 shmuel+ibm-m...@patriot.net wrote:
 
 In a6c1919a-f0ad-4e73-b6ca-1a1091b3f...@optonline.net, on 12/02/2013
   at 10:12 PM, Micheal Butz michealb...@optonline.net said:
 
 The TIOT entry only says if it's a joblib
 
 If the ddname in the entry is 'STEPLIB ' then it's a steplib. Or do
 you have two DD statements with the same ddname?
 
 -- 
 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

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


Re: DESERV function get DCB address

2013-12-02 Thread Peter Relson
Two questions 

  1) can BLDL or DESERV differentiate between TASK  STEP or JOBLIB

BLDL does, if you give it a DCB address of 0, returning information in 
PDS2LIBF (AKA the Z byte) which indicates whether this was found in the 
LNKLST, joblib/steplib, or the Nth tasklib. DESERV does not support an 
input DCB address of 0. Neither BLDL nor DESERV cares what your input DCB 
represents if you give it a DCB. Could they differentiate? Sure. But so 
could you. There is no reason that they should. Their goal is to provide 
you information based on the DCB, and that does not require caring what 
that DCB is. The only thing that is truly important is to know if the DCB 
is for the LNKLST because that DCB is of special formation (such that 
DEBCHECK would not succeed).

Only the initiator (term used loosely to represent all the code that would 
handle this) knows if TCBJLB of the ASCBXTCB task represents a joblib or a 
steplib.

 2) is there any way to get DSN name given a DCB I seem to recall RDJFCB
doing that but that was with EXLST pram on the DCB 

Since you recall, I suggest that you look at it to see. Yes, I believe 
that you can
determine the data set name using RDJFCB, given an open DCB and the 
concatenation number (PDS2CNCT, AKA the K byte, from BLDL) 

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


Re: DESERV function get DCB address

2013-12-02 Thread Shmuel Metz (Seymour J.)
In
!!AAAYAJXIDufoOyhGhgKtFLrs5tbCgAAAEHDnnXItsJ1KrOhmeEuKDYIBAA==@optonline.net,
on 12/01/2013
   at 02:03 PM, MichealButz michealb...@optonline.net said:

Does BLDL or DESERV have anyway of differentiating between
TASKLIB/STEPLIB/JOBLIB I think not.

Yes, but it doesn't do so because there is no need.

Second is there anyway of getting the associated DSN name (sic)

Yes; note that there may be more than one. The TIOT offset is in the
DCB; the SVA of the JFCB is in the TIOT entry.
 
-- 
 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: DESERV function get DCB address

2013-12-02 Thread Shmuel Metz (Seymour J.)
In
!!AAAYAJXIDufoOyhGhgKtFLrs5tbCgAAAEDWoxNTvV2FJpuip65f0IWQBAA==@optonline.net,
on 12/01/2013
   at 02:42 PM, MichealButz michealb...@optonline.net said:

Two questions 

  1) can BLDL or DESERV differentiate between TASK  STEP or JOBLIB

They could if there was a reason to. Start with the current TCB and go
up the tree untill you hit the jobstep. If there are multiple tasks
with the same TCBJLB, only process the DCB once. The ddname in the
TIOT entry will tell you whether it is a job, step or task lib DCB.

 2) is there any way to get DSN name given a DCB I seem to recall
RDJFCB doing that but that was with EXLST pram on the DCB 

You can always build your own DCB with your own exit list. See 3.12.5 
Allocation Retrieval List inz/OS DFSMS Using Data Sets.
 
-- 
 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: DESERV function get DCB address

2013-12-02 Thread Shmuel Metz (Seymour J.)
In 529c20f4.9020...@valley.net, on 12/02/2013
   at 12:56 AM, Gerhard Postpischil gerh...@valley.net said:

For a closed DCB (or any DD name) you can retrieve the JFCB via 
TIOT and SWAREQ lookup, as well as with RDJFCB. However, for a
concatenation, you  would need to know which TIOT entry to use.

That was true for a long time, but these days you can use an
allocation retrieval list (ARL) to get the information on the full
concatenation without explicitly stepping through the TIOT entries;
RDJFCB does it for you.
 
-- 
 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: DESERV function get DCB address

2013-12-02 Thread Micheal Butz
The TIOT entry only says if it's a joblib

Sent from my iPhone

 On Dec 1, 2013, at 6:46 PM, Shmuel Metz (Seymour J.) 
 shmuel+ibm-m...@patriot.net wrote:
 
 In
 !!AAAYAJXIDufoOyhGhgKtFLrs5tbCgAAAEDWoxNTvV2FJpuip65f0IWQBAA==@optonline.net,
 on 12/01/2013
   at 02:42 PM, MichealButz michealb...@optonline.net said:
 
 Two questions
 
 1) can BLDL or DESERV differentiate between TASK  STEP or JOBLIB
 
 They could if there was a reason to. Start with the current TCB and go
 up the tree untill you hit the jobstep. If there are multiple tasks
 with the same TCBJLB, only process the DCB once. The ddname in the
 TIOT entry will tell you whether it is a job, step or task lib DCB.
 
 2) is there any way to get DSN name given a DCB I seem to recall
 RDJFCB doing that but that was with EXLST pram on the DCB
 
 You can always build your own DCB with your own exit list. See 3.12.5 
 Allocation Retrieval List inz/OS DFSMS Using Data Sets.
 
 -- 
 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

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


Re: DESERV function get DCB address

2013-12-02 Thread Micheal Butz
Thank you

You have been very helpful 



Sent from my iPhone

 On Dec 2, 2013, at 12:56 AM, Gerhard Postpischil gerh...@valley.net wrote:
 
 On 12/1/2013 2:42 PM, MichealButz wrote:
   1) can BLDL or DESERV differentiate between TASK  STEP or JOBLIB
  2) is there any way to get DSN name given a DCB I seem to recall RDJFCB
 doing that but that was with EXLST pram on the DCB
 
 For a closed DCB (or any DD name) you can retrieve the JFCB via TIOT and 
 SWAREQ lookup, as well as with RDJFCB. However, for a concatenation, you 
 would need to know which TIOT entry to use. For an open DCB, after a BLDL, 
 you can examine the PDS2CNCT and PDS2LIBF to see whether the member was found 
 in a linklib or joblib or in the concatenation (look at the IHAPDS macro and 
 the documentation). Using the DCBTIOT offset and the concatenation number, 
 you can get the appropriate JFCB, unless the entry came from a linklib or 
 joblib (then it's much more difficult, and possibly indeterminate).
 
 For DESERV, if you look at the IGWDES macro under DESD, you'll find no 
 documented field for a concatenation number; I'm not aware of a GUPI that 
 would let you determine either the concatenation number or otherwise locate 
 the DSN.
 
 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

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


Re: DESERV function get DCB address

2013-12-01 Thread Peter Relson
unfortunately DESERV
FUNC=GET needs a real DCB address as opposed to the zero used invoking 
BLDL

You need to supply a DCB address that represents a concatenation in which 
the member for which you are seeking the directory entry exists.

BLDL happens to support 0 as asking to search
tasklib(s)
steplib/joblib
lnklst
DESERV does not.

TCBJLB of the jobstep program task is either joblib or steplib.
TCBJLB of subtasks of that task, when different, is a tasklib.

So where is the member? If it's in the lnklst, then use the DCB pointed to 
by CVTLINK.
If you don't know where it is, then you may need to do what the system 
does to locate a module:
search every tasklib up to/through the ASCBXTCB TCB using its DCB
search the LNKLST using its DCB
And if that's not where your member is, then you need to search where it 
is. In some situations, for example, ISPLLIB is used not as a tasklib.
Of course it was not even stated why BLDL was being used. 

In some scenarios, it is necessary first to eliminate the possibility that 
the module is in LPA and not the LNKLST (perhaps by CSVQUERY). 

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


Re: DESERV function get DCB address

2013-12-01 Thread MichealButz
Thanks for your help

 Two questions

 Does BLDL or DESERV have anyway of differentiating between
TASKLIB/STEPLIB/JOBLIB I think not. TCBJLIB represents the first library
looked at be it TASK STEP or JOB
 Second is there anyway of getting the associated DSN  name

Thanks 

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Peter Relson
Sent: Sunday, December 01, 2013 1:36 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: DESERV function get DCB address

unfortunately DESERV
FUNC=GET needs a real DCB address as opposed to the zero used invoking 
BLDL

You need to supply a DCB address that represents a concatenation in which 
the member for which you are seeking the directory entry exists.

BLDL happens to support 0 as asking to search
tasklib(s)
steplib/joblib
lnklst
DESERV does not.

TCBJLB of the jobstep program task is either joblib or steplib.
TCBJLB of subtasks of that task, when different, is a tasklib.

So where is the member? If it's in the lnklst, then use the DCB pointed to 
by CVTLINK.
If you don't know where it is, then you may need to do what the system 
does to locate a module:
search every tasklib up to/through the ASCBXTCB TCB using its DCB
search the LNKLST using its DCB
And if that's not where your member is, then you need to search where it 
is. In some situations, for example, ISPLLIB is used not as a tasklib.
Of course it was not even stated why BLDL was being used. 

In some scenarios, it is necessary first to eliminate the possibility that 
the module is in LPA and not the LNKLST (perhaps by CSVQUERY). 

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

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


Re: DESERV function get DCB address

2013-12-01 Thread Scott Ford
Michel,

Can you impart a big more information on what your trying to accomplish ?

Scott ford
www.identityforge.com
from my IPAD

'Infinite wisdom through infinite means'


 On Dec 1, 2013, at 2:03 PM, MichealButz michealb...@optonline.net wrote:
 
 Thanks for your help
 
 Two questions
 
 Does BLDL or DESERV have anyway of differentiating between
 TASKLIB/STEPLIB/JOBLIB I think not. TCBJLIB represents the first library
 looked at be it TASK STEP or JOB
 Second is there anyway of getting the associated DSN  name
 
 Thanks 
 
 -Original Message-
 From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
 Behalf Of Peter Relson
 Sent: Sunday, December 01, 2013 1:36 PM
 To: IBM-MAIN@LISTSERV.UA.EDU
 Subject: Re: DESERV function get DCB address
 
 unfortunately DESERV
 FUNC=GET needs a real DCB address as opposed to the zero used invoking 
 BLDL
 
 You need to supply a DCB address that represents a concatenation in which 
 the member for which you are seeking the directory entry exists.
 
 BLDL happens to support 0 as asking to search
 tasklib(s)
 steplib/joblib
 lnklst
 DESERV does not.
 
 TCBJLB of the jobstep program task is either joblib or steplib.
 TCBJLB of subtasks of that task, when different, is a tasklib.
 
 So where is the member? If it's in the lnklst, then use the DCB pointed to 
 by CVTLINK.
 If you don't know where it is, then you may need to do what the system 
 does to locate a module:
 search every tasklib up to/through the ASCBXTCB TCB using its DCB
 search the LNKLST using its DCB
 And if that's not where your member is, then you need to search where it 
 is. In some situations, for example, ISPLLIB is used not as a tasklib.
 Of course it was not even stated why BLDL was being used. 
 
 In some scenarios, it is necessary first to eliminate the possibility that 
 the module is in LPA and not the LNKLST (perhaps by CSVQUERY). 
 
 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
 
 --
 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: DESERV function get DCB address

2013-12-01 Thread Scott Ford
Sorry a 'bit' more

Scott ford
www.identityforge.com
from my IPAD

'Infinite wisdom through infinite means'


 On Dec 1, 2013, at 2:35 PM, Scott Ford scott_j_f...@yahoo.com wrote:
 
 Michel,
 
 Can you impart a big more information on what your trying to accomplish ?
 
 Scott ford
 www.identityforge.com
 from my IPAD
 
 'Infinite wisdom through infinite means'
 
 
 On Dec 1, 2013, at 2:03 PM, MichealButz michealb...@optonline.net wrote:
 
 Thanks for your help
 
 Two questions
 
 Does BLDL or DESERV have anyway of differentiating between
 TASKLIB/STEPLIB/JOBLIB I think not. TCBJLIB represents the first library
 looked at be it TASK STEP or JOB
 Second is there anyway of getting the associated DSN  name
 
 Thanks 
 
 -Original Message-
 From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
 Behalf Of Peter Relson
 Sent: Sunday, December 01, 2013 1:36 PM
 To: IBM-MAIN@LISTSERV.UA.EDU
 Subject: Re: DESERV function get DCB address
 
 unfortunately DESERV
 FUNC=GET needs a real DCB address as opposed to the zero used invoking
 BLDL
 
 You need to supply a DCB address that represents a concatenation in which 
 the member for which you are seeking the directory entry exists.
 
 BLDL happens to support 0 as asking to search
 tasklib(s)
 steplib/joblib
 lnklst
 DESERV does not.
 
 TCBJLB of the jobstep program task is either joblib or steplib.
 TCBJLB of subtasks of that task, when different, is a tasklib.
 
 So where is the member? If it's in the lnklst, then use the DCB pointed to 
 by CVTLINK.
 If you don't know where it is, then you may need to do what the system 
 does to locate a module:
 search every tasklib up to/through the ASCBXTCB TCB using its DCB
 search the LNKLST using its DCB
 And if that's not where your member is, then you need to search where it 
 is. In some situations, for example, ISPLLIB is used not as a tasklib.
 Of course it was not even stated why BLDL was being used. 
 
 In some scenarios, it is necessary first to eliminate the possibility that 
 the module is in LPA and not the LNKLST (perhaps by CSVQUERY). 
 
 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
 
 --
 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: DESERV function get DCB address

2013-12-01 Thread MichealButz
Two questions 

  1) can BLDL or DESERV differentiate between TASK  STEP or JOBLIB

 2) is there any way to get DSN name given a DCB I seem to recall RDJFCB
doing that but that was with EXLST pram on the DCB   

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Scott Ford
Sent: Sunday, December 01, 2013 2:37 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: DESERV function get DCB address

Sorry a 'bit' more

Scott ford
www.identityforge.com
from my IPAD

'Infinite wisdom through infinite means'


 On Dec 1, 2013, at 2:35 PM, Scott Ford scott_j_f...@yahoo.com wrote:
 
 Michel,
 
 Can you impart a big more information on what your trying to accomplish ?
 
 Scott ford
 www.identityforge.com
 from my IPAD
 
 'Infinite wisdom through infinite means'
 
 
 On Dec 1, 2013, at 2:03 PM, MichealButz michealb...@optonline.net
wrote:
 
 Thanks for your help
 
 Two questions
 
 Does BLDL or DESERV have anyway of differentiating between 
 TASKLIB/STEPLIB/JOBLIB I think not. TCBJLIB represents the first 
 library looked at be it TASK STEP or JOB Second is there anyway of 
 getting the associated DSN  name
 
 Thanks
 
 -Original Message-
 From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] 
 On Behalf Of Peter Relson
 Sent: Sunday, December 01, 2013 1:36 PM
 To: IBM-MAIN@LISTSERV.UA.EDU
 Subject: Re: DESERV function get DCB address
 
 unfortunately DESERV
 FUNC=GET needs a real DCB address as opposed to the zero used 
 invoking
 BLDL
 
 You need to supply a DCB address that represents a concatenation in 
 which the member for which you are seeking the directory entry exists.
 
 BLDL happens to support 0 as asking to search
 tasklib(s)
 steplib/joblib
 lnklst
 DESERV does not.
 
 TCBJLB of the jobstep program task is either joblib or steplib.
 TCBJLB of subtasks of that task, when different, is a tasklib.
 
 So where is the member? If it's in the lnklst, then use the DCB 
 pointed to by CVTLINK.
 If you don't know where it is, then you may need to do what the 
 system does to locate a module:
 search every tasklib up to/through the ASCBXTCB TCB using its DCB 
 search the LNKLST using its DCB And if that's not where your member 
 is, then you need to search where it is. In some situations, for 
 example, ISPLLIB is used not as a tasklib.
 Of course it was not even stated why BLDL was being used. 
 
 In some scenarios, it is necessary first to eliminate the possibility 
 that the module is in LPA and not the LNKLST (perhaps by CSVQUERY).
 
 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
 
 -
 - 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: DESERV function get DCB address

2013-12-01 Thread Shmuel Metz (Seymour J.)
In
offd075f55.0378370d-on85257c33.00748a02-85257c33.00796...@us.ibm.com,
on 11/30/2013
   at 05:05 PM, Peter Relson rel...@us.ibm.com said:

A first guess is always that the invocation was off by a  level of
indirection.

Or that it failed to clear bits 0-7 when required.

-- 
 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: DESERV function get DCB address

2013-12-01 Thread Gerhard Postpischil

On 12/1/2013 2:42 PM, MichealButz wrote:

   1) can BLDL or DESERV differentiate between TASK  STEP or JOBLIB
  2) is there any way to get DSN name given a DCB I seem to recall RDJFCB
doing that but that was with EXLST pram on the DCB


For a closed DCB (or any DD name) you can retrieve the JFCB via TIOT and 
SWAREQ lookup, as well as with RDJFCB. However, for a concatenation, you 
would need to know which TIOT entry to use. For an open DCB, after a 
BLDL, you can examine the PDS2CNCT and PDS2LIBF to see whether the 
member was found in a linklib or joblib or in the concatenation (look at 
the IHAPDS macro and the documentation). Using the DCBTIOT offset and 
the concatenation number, you can get the appropriate JFCB, unless the 
entry came from a linklib or joblib (then it's much more difficult, and 
possibly indeterminate).


For DESERV, if you look at the IGWDES macro under DESD, you'll find no 
documented field for a concatenation number; I'm not aware of a GUPI 
that would let you determine either the concatenation number or 
otherwise locate the DSN.


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: DESERV function get DCB address

2013-11-30 Thread Peter Relson
I having been using BLDL to get program directory information I found
the macro to not give correct results.

May I plead that posters post more than just it does not work? The 
actual bad result is very important to those who are listening and trying 
to help.

Using TCBJLB as the input DCB
For DESEREV I get a return code of 
X'0C' reason X'421' invalid DCB 

If any service says that an input is invalid, it is always worth 
eliminating the possibility that the invocation did not result in 
providing valid input. If a valid DCB is used, it will not indicate 
invalid DCB. A first guess is always that the invocation was off by a 
level of indirection. Not showing the expansion can lead only to 
conjecture on the part of the responders, as opposed to leading more 
directly to something helpful.

As for DESERVE, it would appear that linklist DCB's don't get special
treatment

Both BLDL and DESERV do special-case the LNKLST DCB, at least to some 
extent. BLDL also special cases a value of 0. I don't know about DESERV.

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


Re: DESERV function get DCB address

2013-11-29 Thread Shmuel Metz (Seymour J.)
In
!!AAAYAJXIDufoOyhGhgKtFLrs5tbCgAAAEKoZLIDu81dAuZgILTrHA0kBAA==@optonline.net,
on 11/28/2013
   at 02:00 PM, MichealButz michealb...@optonline.net said:

I having been using BLDL to get program directory information I found
the macro to not give correct results.

Please be more specific.
 
-- 
 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: DESERV function get DCB address

2013-11-29 Thread Shmuel Metz (Seymour J.)
In 0c0cd1f6-1815-4b07-8465-c57f54ae0...@optonline.net, on 11/28/2013
   at 03:31 PM, Micheal Butz michealb...@optonline.net said:

Binyamin I saw a previous post by you

Instructing a user to use TCBJLB
For TSOLIB I thought that TSOLIB
Was a task library while TCBJLB 
Points to the joblib DCB 

[JOB|STEP]LIB is a tasklib. You need to run through the TCB chain
trying each tasklib in turn, or use BLDL to find out which is
relevant. You didn't say what the incoorect results were; is the
concatenation number wrong?
 
-- 
 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: DESERV function get DCB address

2013-11-29 Thread Micheal Butz
Using TCBJLB as the input DCB
For DESEREV I get a return code of 
X'0C' reason X'421' invalid DCB 

Sent from my iPhone

 On Nov 29, 2013, at 11:10 AM, Shmuel Metz (Seymour J.) 
 shmuel+ibm-m...@patriot.net wrote:
 
 In
 !!AAAYAJXIDufoOyhGhgKtFLrs5tbCgAAAEKoZLIDu81dAuZgILTrHA0kBAA==@optonline.net,
 on 11/28/2013
   at 02:00 PM, MichealButz michealb...@optonline.net said:
 
 I having been using BLDL to get program directory information I found
 the macro to not give correct results.
 
 Please be more specific.
 
 -- 
 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

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


DESERV function get DCB address

2013-11-28 Thread MichealButz
Hi,

 

I having been using BLDL to get program directory information I found the
macro to not give correct results.

So I have moved on to DESERV FUNC=GET,PDSDE=BLDL_LIST unfortunately DESERV
FUNC=GET needs a real DCB address as opposed to the zero used invoking BLDL

Any suggestions 

 

Thanks


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


Re: DESERV function get DCB address

2013-11-28 Thread Sam Siegel
Try using TCBJLB for STEPLIB DCB or CVTLINK for LINKLIST DCB.  Both are
GUPI.


On Thu, Nov 28, 2013 at 11:00 AM, MichealButz michealb...@optonline.netwrote:

 Hi,



 I having been using BLDL to get program directory information I found the
 macro to not give correct results.

 So I have moved on to DESERV FUNC=GET,PDSDE=BLDL_LIST unfortunately DESERV
 FUNC=GET needs a real DCB address as opposed to the zero used invoking BLDL

 Any suggestions



 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


Re: DESERV function get DCB address

2013-11-28 Thread Micheal Butz
I am running under TSO using TSOLIB

Sent from my iPhone

 On Nov 28, 2013, at 2:11 PM, Sam Siegel s...@pscsi.net wrote:
 
 Try using TCBJLB for STEPLIB DCB or CVTLINK for LINKLIST DCB.  Both are
 GUPI.
 
 
 On Thu, Nov 28, 2013 at 11:00 AM, MichealButz 
 michealb...@optonline.netwrote:
 
 Hi,
 
 
 
 I having been using BLDL to get program directory information I found the
 macro to not give correct results.
 
 So I have moved on to DESERV FUNC=GET,PDSDE=BLDL_LIST unfortunately DESERV
 FUNC=GET needs a real DCB address as opposed to the zero used invoking BLDL
 
 Any suggestions
 
 
 
 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: DESERV function get DCB address

2013-11-28 Thread Micheal Butz
Binyamin I saw a previous post by you

Instructing a user to use TCBJLB
For TSOLIB I thought that TSOLIB
Was a task library while TCBJLB 
Points to the joblib DCB 


Sent from my iPhone

 On Nov 28, 2013, at 3:11 PM, Binyamin Dissen bdis...@dissensoftware.com 
 wrote:
 
 On Thu, 28 Nov 2013 14:00:40 -0500 MichealButz michealb...@optonline.net
 wrote:
 
 :I having been using BLDL to get program directory information I found the
 :macro to not give correct results.
 
 Yesss.
 
 Details, please.
 
 :So I have moved on to DESERV FUNC=GET,PDSDE=BLDL_LIST unfortunately DESERV
 :FUNC=GET needs a real DCB address as opposed to the zero used invoking BLDL
 
 --
 Binyamin Dissen bdis...@dissensoftware.com
 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 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