🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.asm370
Article #234

Re: How to find PDS member name details

#234
From: Raymond H. Earle
Date: Wed, 26 Oct 2005 01:56
65 lines
4411 bytes
I wrote a replacement for the Submit command.  One of the things it did was
place a message in the joblog showing the dataset and member name from which
the JCL had been submitted.  Very handy.

Raymond H. Earle

-----Original Message-----
From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU]
On Behalf Of Edward E. Jaffe
Sent: Tuesday, October 25, 2005 12:44 AM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: How to find PDS member name details

Robert A. Rosenberg wrote:

> At 17:09 -0700 on 10/24/2005, Edward E. Jaffe wrote about Re: How to
> find PDS member name details:
>
>> Mike Baker wrote:
>>
>>  >2: The full-name of the JCL member which was used to execute the
>> Procedure?
>>
>>>
>>> eg: If inside dataset "MY.PDS.JCL" there is a member called
>>> "PROGRUN", and
>>> this executes a PDS member called "MY.PDS.PROCLIB(PROCRUN)", and
>>> inside the
>>> Procedure "PROCRUN" it executes a program called "PROG001", then I
>>> would
>>> like "PROG001" to either issue some Macro/s or chain through MVS
>>> Control
>>> Blocks in order to find the answers to questions 1 + 2 above.
>>>
>>>
>>
>> If I understand what you've written above, you won't be able to get
>> this.
>
>
> The information IS available - The question is if it is accessible
> while the step is running. If you look at the JCL Listing of a job
> that invokes a proc (that is loaded from a Proclib) you will note a
> message that lists the Member Name of the Proc as well as the DSN of
> the Proclib that it was fetched from. The question is how to access
> this JCL listing (and if it can be accessed). Given that SDSF can
> list this while the job is running, I'd say that, at least
> theoretically, you should be able to run Control Block chains and/or
> issue commands to gain access to this data (ie: Use the same type of
> interface code that SDSF does).


If you want to find the job name, step name, and proc step name of an
executing job step -- the information displayed by SDSF -- that's
trivial. Look in the CSCB. But that won't help you in any way find the
DSN and member name of the PDS from which a job was submitted!

--
.-----------------------------------------------------------------.
| Edward E. Jaffe                |                                |
| Mgr, Research & Development    | edjaffe@phoenixsoftware.com    |
| Phoenix Software International | Tel: (310) 338-0400 x318       |
| 5200 W Century Blvd, Suite 800 | Fax: (310) 338-0801            |
| Los Angeles, CA 90045          | http://www.phoenixsoftware.com |
'-----------------------------------------------------------------'
Technical Details
Message-ID: <000501c5d9d0$76ac1060$6601a8c0@nonec8zzl9jkbs>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!sn-xit-04!sn-xit-12!sn-xit-09!sn-xit-08!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!twmi.rr.com!REARLE

Show Full Headers
Complete Article Headers
X-Google-Thread: fcdcb,21dc5dfdb7ef5f7f
X-Google-Attributes: gidfcdcb,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!sn-xit-04!sn-xit-12!sn-xit-09!sn-xit-08!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!twmi.rr.com!REARLE
From: "Raymond H. Earle" <REARLE@twmi.rr.com>
Newsgroups: bit.listserv.asm370
Subject: Re: How to find PDS member name details
Date: Tue, 25 Oct 2005 21:56:21 -0400
Organization: SAS Inc.
Lines: 65
Sender: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>
Message-ID: <000501c5d9d0$76ac1060$6601a8c0@nonec8zzl9jkbs>
NNTP-Posting-Host: mozart.unx.sas.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: foggy.unx.sas.com 1130292148 13858 10.19.150.41 (26 Oct 2005 02:02:28 GMT)
X-Complaints-To: usenet@unx.sas.com
NNTP-Posting-Date: Wed, 26 Oct 2005 02:02:28 +0000 (UTC)
Comments: Gated by NETNEWS@VM.SAS.COM
Return-Path: <owner-assembler-list@LISTSERV.UGA.EDU>
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.6626
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-Virus-Scanned: Symantec AntiVirus Scan Engine
X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.cc.uga.edu id
                      j9Q1uM1I017294
Approved-By: "Raymond H. Earle" <REARLE@TWMI.RR.COM>
In-Reply-To: <435DB7FF.60504@phoenixsoftware.com>
Return-Path: owner-assembler-list@LISTSERV.UGA.EDU
X-OriginalArrivalTime: 26 Oct 2005 02:02:26.0307 (UTC)
                       FILETIME=[4FF97D30:01C5D9D1]
X-Mime-Autoconverted: from 8bit to 7bit by mime827
Originator: daemon@mozart.unx.sas.com