Re: Name of a program's library

2010-10-13 Thread Shmuel Metz (Seymour J.)
In a826b9fd78356242a9d9595912f9b2322cdc6f2...@doittmail03.doitt.nycnet, on 10/08/2010 at 10:39 AM, Barkow, Eileen ebar...@doitt.nyc.gov said: I do not know the DDNAME that TSO CALL uses for the pgmlib allocation, Generated and returned by DYNALLOC. ***routine LOCDEBS locates the DEB for all

Re: Name of a program's library

2010-10-08 Thread Barkow, Eileen
...@bama.ua.edu] On Behalf Of Binyamin Dissen Sent: Wednesday, October 06, 2010 10:34 AM To: IBM-MAIN@bama.ua.edu Subject: Re: Name of a program's library On Wed, 6 Oct 2010 09:18:41 -0500 Etienne Thijsse e.thij...@chello.nl wrote: :Thanks, Eileen, for showing me the way. I have been able

Re: Name of a program's library

2010-10-06 Thread Etienne Thijsse
Thanks, Eileen, for showing me the way. I have been able to create a C program that calls a few assembler modules to do the BLDL call to get the STEPLIB concatenation nr, and then the RDJFCB call to get the dataset name. It was a bit complicated because the C program is 31 bit and RDJFCB must

Re: Name of a program's library

2010-10-06 Thread Binyamin Dissen
On Wed, 6 Oct 2010 09:18:41 -0500 Etienne Thijsse e.thij...@chello.nl wrote: :Thanks, Eileen, for showing me the way. I have been able to create a C :program that calls a few assembler modules to do the BLDL call to get the :STEPLIB concatenation nr, and then the RDJFCB call to get the dataset

Re: Name of a program's library

2010-10-02 Thread Shmuel Metz (Seymour J.)
In listserv%201009290414264560.0...@bama.ua.edu, on 09/29/2010 at 04:14 AM, Etienne Thijsse e.thij...@chello.nl said: Is there a way for a C program (LE) to find out what library (PDSE) it is in? I don't know of a way to do so without resorting to assembler. -- Shmuel (Seymour J.)

Re: Name of a program's library

2010-10-01 Thread Peter Relson
I wonder if it would be possible to enhance FETCH or the LLE(?) to contain the actual DSN/VOLSER of the dataset used. That would only require 44+6 extra bytes of memory. Which I don't think is a big deal in today's environment. Possible, sure? Gonna happen? Not too likely. The control block

Re: Name of a program's library

2010-10-01 Thread Rick Fochtman
snip- I wonder if it would be possible to enhance FETCH or the LLE(?) to contain the actual DSN/VOLSER of the dataset used. That would only require 44+6 extra bytes of memory. Which I don't think is a big deal in today's

Re: Name of a program's library

2010-09-30 Thread Peter Relson
In general, it is not possible. For many cases, the approach of mimicking the system's search order and doing BLDL's with RDJFCB will help. Here are some (not all) cases that don't work -- module was located via some DCB associated with an opened DD that is no longer open -- module was in MLPA

Re: Name of a program's library

2010-09-30 Thread McKown, John
: Re: Name of a program's library In general, it is not possible. For many cases, the approach of mimicking the system's search order and doing BLDL's with RDJFCB will help. Here are some (not all) cases that don't work -- module was located via some DCB associated with an opened DD

Re: Name of a program's library

2010-09-30 Thread Bill Fairchild
, John Sent: Thursday, September 30, 2010 6:52 AM To: IBM-MAIN@bama.ua.edu Subject: Re: Name of a program's library Just doing blue skying here, but I wonder if it would be possible to enhance FETCH or the LLE(?) to contain the actual DSN/VOLSER of the dataset used. That would only require 44+6

Name of a program's library

2010-09-30 Thread William M Klein
Responding to the last note in this thread, original message Just doing blue skying here, but I wonder if it would be possible to enhance FETCH or the LLE(?) to contain the actual DSN/VOLSER of the dataset used. That would only require 44+6 extra bytes of memory. Which I don't think is a big

Re: Name of a program's library

2010-09-30 Thread Fred van der Windt
Every time this topic comes up (and it does fairly often), I again remind people of the existing SHARE requirement: SSLNGC0313587 New LE Callable Service to get (various) Program Names A new LE callable service (with capabilities well beyond CEE3GRN) should be created to obtain

Re: Name of a program's library

2010-09-30 Thread john gilmore
This topic is a recurrent one. Bill Fairchild is only the most recent poster to make it clear clear 1) that this question does not always have an answer and 2) that when it does have an answer that answer may be ambiguous, obsolete/non-current, or wrong. It is important that these

Re: Name of a program's library

2010-09-30 Thread Tony Harminc
On 30 September 2010 07:52, McKown, John john.mck...@healthmarkets.com wrote: Just doing blue skying here, but I wonder if it would be possible to enhance FETCH or the LLE(?) to contain the actual DSN/VOLSER of the dataset used. That would only require 44+6 extra bytes of memory. UNIX

Re: Name of a program's library

2010-09-30 Thread Tom Marchant
On Thu, 30 Sep 2010 06:52:22 -0500, McKown, John wrote: Just doing blue skying here, but I wonder if it would be possible to enhance FETCH or the LLE(?) to contain the actual DSN/VOLSER of the dataset used. I suppose that might be possible if the data set was loaded from LNKLST. It would be

Re: Name of a program's library

2010-09-30 Thread McKown, John
-MAIN@bama.ua.edu Subject: Re: Name of a program's library On 30 September 2010 07:52, McKown, John john.mck...@healthmarkets.com wrote: Just doing blue skying here, but I wonder if it would be possible to enhance FETCH or the LLE(?) to contain the actual DSN/VOLSER of the dataset used

Re: Name of a program's library

2010-09-30 Thread Mike Schwab
Subject: Re: Name of a program's library Just doing blue skying here, but I wonder if it would be possible to enhance FETCH or the LLE(?) to contain the actual DSN/VOLSER of the dataset used. That would only require 44+6 extra bytes of memory. Which I don't think is a big deal in today's

Name of a program's library

2010-09-29 Thread Etienne Thijsse
Hi, Is there a way for a C program (LE) to find out what library (PDSE) it is in? I expected this information in argv[0], but that only contains the member name, not the PDSE itself. Is there an LE function for this? Or can it be found in some control block? Thanks, Etienne

Re: Name of a program's library

2010-09-29 Thread Charles Mills
2:14 AM To: IBM-MAIN@bama.ua.edu Subject: Name of a program's library Hi, Is there a way for a C program (LE) to find out what library (PDSE) it is in? I expected this information in argv[0], but that only contains the member name, not the PDSE itself. Is there an LE function for this? Or can

Re: Name of a program's library

2010-09-29 Thread Etienne Thijsse
To: IBM-MAIN@bama.ua.edu Subject: Name of a program's library Hi, Is there a way for a C program (LE) to find out what library (PDSE) it is in? I expected this information in argv[0], but that only contains the member name, not the PDSE itself. Is there an LE function for this? Or can it be found

Re: Name of a program's library

2010-09-29 Thread Barkow, Eileen
To: IBM-MAIN@bama.ua.edu Subject: Name of a program's library Hi, Is there a way for a C program (LE) to find out what library (PDSE) it is in? I expected this information in argv[0], but that only contains the member name, not the PDSE itself. Is there an LE function for this? Or can it be found

Re: Name of a program's library

2010-09-29 Thread Etienne Thijsse
the JFCBDSNM (dsname) can be obtained. -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Etienne Thijsse Sent: Wednesday, September 29, 2010 9:34 AM To: IBM-MAIN@bama.ua.edu Subject: Re: Name of a program's library Thanks Charles, The thread does

Re: Name of a program's library

2010-09-29 Thread Barkow, Eileen
-Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Etienne Thijsse Sent: Wednesday, September 29, 2010 11:08 AM To: IBM-MAIN@bama.ua.edu Subject: Re: Name of a program's library Thanks

Re: Name of a program's library

2010-09-29 Thread Etienne Thijsse
),MF=L DROP LINKREG LTORG EJECT -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Etienne Thijsse Sent: Wednesday, September 29, 2010 11:08 AM To: IBM-MAIN@bama.ua.edu Subject: Re: Name of a program's library