Re: "whereis" command for TSO.

2011-10-10 Thread Walt Farrell
On Fri, 7 Oct 2011 13:52:51 -0700, Donald Russell  wrote:

>Thanks so much Dave,
>
>That sounds like what I had done before, in a previous life that will be
>perfect for my needs.
>

Don't forget, though, that:
(a) you'll need to use CSVQUERY to see if the module is in LPA, but only if 
BLDL indicates that the module is in the LINKLIST, rather than in a 
JOBLIB/STEPLIB/TASKLIB.

(b) If you're running APF-authorized then the rules about which copy of a 
module the system will actually use are different from the non-APF case, and 
BLDL won't necessarily show you the module that the system will actually choose.

-- 
Walt Farrell
IBM STSM, z/OS Security Design

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: "whereis" command for TSO.

2011-10-10 Thread Mark Baron
Sorry all - the package is in file 761.  Thanks to Herman Stocker at Avis for 
pointing out my error ...

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: "whereis" command for TSO.

2011-10-10 Thread Mark Baron
I contributed a "FIND" package to the CBTTape a number of years ago and updated 
it sometime in 2009.  I based the code on an old version of FINDALL that was on 
the tape when Wall Street still had its wall.  This latest version puts the 
results into a scrollable ISPF Browse dialog.

It's in file 769 and I would like to think that the installation and use 
documentation that I wrote is clear and concise enough to be followed without 
too much trouble.

Enjoy it !!!

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: "whereis" command for TSO.

2011-10-09 Thread Scott Ford
Sounds like a good song title.


Scott J Ford
Software Engineer
http://www.identityforge.com
 



From: Shmuel Metz (Seymour J.) 
To: IBM-MAIN@bama.ua.edu
Sent: Sunday, October 9, 2011 10:08 AM
Subject: Re: "whereis" command for TSO.

In <2CCE03A07DDC46038A691B078D8EB215@ericnbPC>, on 10/07/2011
   at 11:37 PM, Eric Bielefeld  said:

>I use ISRDDN all the time, but I miss a lot of the single use
>programs I used to have when I worked at P&H before they got rid of
>z/OS.

While I stopped using them once ISRDDN did the job. Different folks,
different strokes.

-- 
     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...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: "whereis" command for TSO.

2011-10-09 Thread Lindy Mayfield
Also ISRFIND will help you locate a load module.

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of 
Donald Russell
Sent: Friday, October 07, 2011 6:31 PM
To: IBM-MAIN@bama.ua.edu
Subject: "whereis" command for TSO.

Many years ago, at a job far far away, I wrote a TSO WHEREIS command for 
finding load modules.

i.e. I could say TSO %WHEREIS mymodule
and it would tell me the DSN, or perhaps just "linklist".

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: "whereis" command for TSO.

2011-10-09 Thread Shmuel Metz (Seymour J.)
In <2CCE03A07DDC46038A691B078D8EB215@ericnbPC>, on 10/07/2011
   at 11:37 PM, Eric Bielefeld  said:

>I use ISRDDN all the time, but I miss a lot of the single use
>programs I used to have when I worked at P&H before they got rid of
>z/OS.

While I stopped using them once ISRDDN did the job. Different folks,
different strokes.
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see  
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...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: "whereis" command for TSO.

2011-10-08 Thread Don Imbriale
ISRDDN XYZ E should work as a replacement for FINDQ XYZ

In ISPF option 3.4, line command ISRDDN / E can be used to show enqueues on
the specified data set.

- Don Imbriale

On Sat, Oct 8, 2011 at 12:37 AM, Eric Bielefeld wrote:

> I use ISRDDN all the time, but I miss a lot of the single use programs I
> used to have when I worked at P&H before they got rid of z/OS.  FINDQ was a
> great program.  By itself it showed any ENQs that were waiting.  If you said
> FINDQ SYS2.ABC   it would show you everything that is enqued on
> SYS2.ABCwhatever.  LOC was another good one.  It showed what library a load
> module was in.
>
> The thing about ISRDDN is it takes time to get into ISRDDN, and then you
> have to issue the command you want.  It's faster to just issue   FINDQ XYZ
>
> Eric Bielefeld
> Sr. Systems Programmer
>
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: "whereis" command for TSO.

2011-10-07 Thread Eric Bielefeld
I use ISRDDN all the time, but I miss a lot of the single use programs I 
used to have when I worked at P&H before they got rid of z/OS.  FINDQ was a 
great program.  By itself it showed any ENQs that were waiting.  If you said 
FINDQ SYS2.ABC   it would show you everything that is enqued on 
SYS2.ABCwhatever.  LOC was another good one.  It showed what library a load 
module was in.


The thing about ISRDDN is it takes time to get into ISRDDN, and then you 
have to issue the command you want.  It's faster to just issue   FINDQ XYZ


Eric Bielefeld
Sr. Systems Programmer

- Original Message - 
From: "Elardus Engelbrecht" 



Scott Ford wrote:


Elardus:
I hadnt used ISRDDN for this function before and its nice...thank you.


You are very welcome! It is a big lion pleasure for me to help out! :-D

And I learn from your posts you kindly placed here on IBM-MAIN. ;-D


I used it for doing storage displays when I was looking at control blocks.


ISRDDN can shows you the module as loaded in storage and then if you wish, 
you can see that module as it is written in a dataset.


ISRDDN is one of those gems which could perhaps replace those similar 
programs as found in CBT like those ENQ searchers and linklib searchers, 
etc .


I use ISRDDN to locate that missing CLIST/REXX program or ISPF panel I 
need to update or ...


... Being a RACF admin, I use that utility to verify my RACF + SMF modules 
are really loaded correctly after an IPL.


Groete / Greetings
Elardus Engelbrecht


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: "whereis" command for TSO.

2011-10-07 Thread Donald Russell
Thanks so much Dave,

That sounds like what I had done before, in a previous life that will be
perfect for my needs.

I'm glad I learned about ISRDDN though... that's very cool.

Cheers,


On Fri, Oct 7, 2011 at 11:58, Dave Kreiss  wrote:

> Donald,
>
> If you want to write some assembler you can do the following:
> Get TCBJLB which points to the joblib DCB.
> Make a copy of the DCB and add an exit (exit 19) to its EXLST (DCBEXLSA) to
> fetch the ARL and do a RDJFCB.  You now have all the datasets ARAs pointed
> to by the ARL.
> The DCBTIOT field points to the TIOT entry which will be steplib or joblib
> (if no steplib) or zero which is linklist (neither joblib or steplib
> present).
> You can do a BLDL for your program against TCBJLB and field PDSCNCT (see
> IHAPDS) contains the concatenation number zero based.  Use this to look at
> the nth ARA returned to determine the dataset name.
> By the way PSATOLD->TCB and that TCBJSCB->job step TCB and its TCBJSCB
> points to the JSCB and JSCBPGMN is your EXEC PGM=.
> I have written such a program (though I never tested with that program in
> linklist).
>
> Dave
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On
> Behalf Of Donald Russell
> Sent: Friday, October 07, 2011 9:41 AM
> To: IBM-MAIN@bama.ua.edu
> Subject: Re: "whereis" command for TSO.
>
> I had a quick look at ISRDDN that is very cool, but I'm not sure now
> how
> to use it in my application:
>
> From a rexx program running in a batch job, I call module "mymodule".
> Prior to that, I want to write some information about that module to a new
> DD. At the very least I want the DSN that "mymodule" will run from when I
> do
>   address linkmvs 'MYMODULE'
>
> If I included those other attributes, that would be cool, but not a
> requirement.
>
> Thanks
>
>
> On Fri, Oct 7, 2011 at 08:43, Elardus Engelbrecht <
> elardus.engelbre...@sita.co.za> wrote:
>
> > Donald Russell wrote:
> >
> > >Many years ago, at a job far far away, I wrote a TSO WHEREIS command for
> > finding load modules.
> > >i.e. I could say TSO %WHEREIS mymodule and it would tell me the DSN, or
> > perhaps just "linklist".
> >
> > Why not use TSO ISRDDN? This will do all and more you want.
> >
> > TSO ISRDDN
> > then type on command line LPA
> > then MEM IEFBR14
> >
> > or MEM IEFBR14 LINKLIST (search in LNKLST)
> > or MEM  LPALIB (search in LPALIB)
> > or MEM xxx STEPLIB (search your own TSO Steplib)
> >
> > >I've been away from MVS programming for a long, long time.
> >
> > IBM has re-invented that wheel (ISRDDN) many moons ago. :-D
> >
> > Groete / Greetings
> > Elardus Engelbrecht
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
> > Search the archives at http://bama.ua.edu/archives/ibm-main.html
> >
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: "whereis" command for TSO.

2011-10-07 Thread Elardus Engelbrecht
Scott Ford wrote:

>Elardus: 
>I hadnt used ISRDDN for this function before and its nice...thank you.

You are very welcome! It is a big lion pleasure for me to help out! :-D

And I learn from your posts you kindly placed here on IBM-MAIN. ;-D

>I used it for doing storage displays when I was looking at control blocks.

ISRDDN can shows you the module as loaded in storage and then if you wish, you 
can see that module as it is written in a dataset.

ISRDDN is one of those gems which could perhaps replace those similar programs 
as found in CBT like those ENQ searchers and linklib searchers, etc .

I use ISRDDN to locate that missing CLIST/REXX program or ISPF panel I need to 
update or ...

... Being a RACF admin, I use that utility to verify my RACF + SMF modules are 
really loaded correctly after an IPL.

Groete / Greetings
Elardus Engelbrecht


Joke of the week:

Paddy to vet: "I think my goldfish has epilipsy!"
The vet looked at the fish and said, "It is looking healthy for me".
"Wait, I'll take it out of the water and you will see I'm right'".

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: "whereis" command for TSO.

2011-10-07 Thread Chicklon, Thomas
TSO ISRDDN or DDLIST seem to be suffering from a lack of exposure and thus low 
use.

There are other hidden gems in there too. Con (contention) and Enq (enqueue) 
are ones I frequently use.

The valid list primary commands are:  
 ApfBrowse ConCList  COUnt  CUstom   
 DUPlicates EnqEXcludeFind   Locate LOAD 
 LONg   LPaMember MList  Only   Parmlib  
 Reset  Select SHort 


-


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of 
Scott Ford
Sent: Friday, October 07, 2011 12:58 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: "whereis" command for TSO.

Elardus:
 
I hadnt used ISRDDN for this function before and its nice...thank you.
I used it for doing storage displays when I was looking at control blocks.

Scott J Ford
Software Engineer
http://www.identityforge.com
 



From: Elardus Engelbrecht 
To: IBM-MAIN@bama.ua.edu
Sent: Friday, October 7, 2011 11:43 AM
Subject: Re: "whereis" command for TSO.

Donald Russell wrote:

>Many years ago, at a job far far away, I wrote a TSO WHEREIS command for 
>finding load modules.
>i.e. I could say TSO %WHEREIS mymodule and it would tell me the DSN, or 
>perhaps just "linklist".

Why not use TSO ISRDDN? This will do all and more you want.

TSO ISRDDN 
then type on command line LPA
then MEM IEFBR14

or MEM IEFBR14 LINKLIST (search in LNKLST)
or MEM  LPALIB (search in LPALIB)
or MEM xxx STEPLIB (search your own TSO Steplib)

>I've been away from MVS programming for a long, long time.

IBM has re-invented that wheel (ISRDDN) many moons ago. :-D

Groete / Greetings
Elardus Engelbrecht

Search the archives at http://bama.ua.edu/archives/ibm-main.html

This e-mail transmission contains information that is confidential and may be 
privileged.   It is intended only for the addressee(s) named above. If you 
receive this e-mail in error, please do not read, copy or disseminate it in any 
manner. If you are not the intended recipient, any disclosure, copying, 
distribution or use of the contents of this information is prohibited. Please 
reply to the message immediately by informing the sender that the message was 
misdirected. After replying, please erase it from your computer system. Your 
assistance in correcting this error is appreciated.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: "whereis" command for TSO.

2011-10-07 Thread Scott Ford
Elardus:
 
I hadnt used ISRDDN for this function before and its nice...thank you.
I used it for doing storage displays when I was looking at control blocks.

Scott J Ford
Software Engineer
http://www.identityforge.com
 



From: Elardus Engelbrecht 
To: IBM-MAIN@bama.ua.edu
Sent: Friday, October 7, 2011 11:43 AM
Subject: Re: "whereis" command for TSO.

Donald Russell wrote:

>Many years ago, at a job far far away, I wrote a TSO WHEREIS command for 
>finding load modules.
>i.e. I could say TSO %WHEREIS mymodule and it would tell me the DSN, or 
>perhaps just "linklist".

Why not use TSO ISRDDN? This will do all and more you want.

TSO ISRDDN 
then type on command line LPA
then MEM IEFBR14

or MEM IEFBR14 LINKLIST (search in LNKLST)
or MEM  LPALIB (search in LPALIB)
or MEM xxx STEPLIB (search your own TSO Steplib)

>I've been away from MVS programming for a long, long time.

IBM has re-invented that wheel (ISRDDN) many moons ago. :-D

Groete / Greetings
Elardus Engelbrecht

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: "whereis" command for TSO.

2011-10-07 Thread Donald Russell
I had a quick look at ISRDDN that is very cool, but I'm not sure now how
to use it in my application:

>From a rexx program running in a batch job, I call module "mymodule".
Prior to that, I want to write some information about that module to a new
DD. At the very least I want the DSN that "mymodule" will run from when I do
   address linkmvs 'MYMODULE'

If I included those other attributes, that would be cool, but not a
requirement.

Thanks


On Fri, Oct 7, 2011 at 08:43, Elardus Engelbrecht <
elardus.engelbre...@sita.co.za> wrote:

> Donald Russell wrote:
>
> >Many years ago, at a job far far away, I wrote a TSO WHEREIS command for
> finding load modules.
> >i.e. I could say TSO %WHEREIS mymodule and it would tell me the DSN, or
> perhaps just "linklist".
>
> Why not use TSO ISRDDN? This will do all and more you want.
>
> TSO ISRDDN
> then type on command line LPA
> then MEM IEFBR14
>
> or MEM IEFBR14 LINKLIST (search in LNKLST)
> or MEM  LPALIB (search in LPALIB)
> or MEM xxx STEPLIB (search your own TSO Steplib)
>
> >I've been away from MVS programming for a long, long time.
>
> IBM has re-invented that wheel (ISRDDN) many moons ago. :-D
>
> Groete / Greetings
> Elardus Engelbrecht
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: "whereis" command for TSO.

2011-10-07 Thread Elardus Engelbrecht
Donald Russell wrote:

>Many years ago, at a job far far away, I wrote a TSO WHEREIS command for 
>finding load modules.
>i.e. I could say TSO %WHEREIS mymodule and it would tell me the DSN, or 
>perhaps just "linklist".

Why not use TSO ISRDDN? This will do all and more you want.

TSO ISRDDN 
then type on command line LPA
then MEM IEFBR14

or MEM IEFBR14 LINKLIST (search in LNKLST)
or MEM  LPALIB (search in LPALIB)
or MEM xxx STEPLIB (search your own TSO Steplib)

>I've been away from MVS programming for a long, long time.

IBM has re-invented that wheel (ISRDDN) many moons ago. :-D

Groete / Greetings
Elardus Engelbrecht

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html