Re: Findproc CBTTAPE ?

2019-07-10 Thread Rob Scott
Both.

The datasets are returned by SSI call to JES.

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Seymour J Metz
Sent: Tuesday, July 9, 2019 6:52 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Findproc CBTTAPE ?

Static, dynamic or both?


--
Shmuel (Seymour J.) Metz
https://nam01.safelinks.protection.outlook.com/?url=http:%2F%2Fmason.gmu.edu%2F~smetz3&data=02%7C01%7CRScott%40ROCKETSOFTWARE.COM%7C27a06b0fb9c04844cf0508d70496262e%7C79544c1eed224879a082b67a9a672aae%7C0%7C0%7C636982915263937581&sdata=pZWxj4z3HEKMQqGwg6mAXzcVLCupebKMKzBXVfe20Qk%3D&reserved=0


From: IBM Mainframe Discussion List  on behalf of Rob 
Scott 
Sent: Tuesday, July 9, 2019 9:31 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Findproc CBTTAPE ?

In recent versions of SDSF, you can use the "PROC" primary command to show the 
JES2 PROCLIB datasets and then use the "SRCH mask" command to search the 
displayed PDS datasets for a member name pattern.

Rob Scott
Rocket Software

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Anthony Thompson
Sent: Tuesday, July 9, 2019 8:22 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Findproc CBTTAPE ?

Lizette, there's another caveat there too. A procedure is identified by its 
member name, but the contents of that library member may not necessarily 
contain the member name.

An unrealistic example:

.PROCLIB(PLURGH) contains:

IEFBR14 PROC
IEFBR14 EXEC PGM=IEFBR14
IEFBR14 PEND

Batch 3.14 search for PLURGH won't find that.

Ant.

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Lizette Koehler
Sent: Tuesday, 9 July 2019 2:22 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Findproc CBTTAPE ?

That works so long as the proc you are looking for is in the JES2 environment.  
If your users are using JCLLIB statements, then you need to find all of the 
JCLLIB Datasets and scan for those.

You can do the same thing.

JCLLIB statements with all of your proclibs.  Then try the JCL process.

Caveat.  If the proc member is in multiple libraries, you will only find the 
first occurrence.

I will use the 3.14 option in batch and concatenate all of my proclibs and then 
SEARCH for what I am looking for.  Tends to find those in all libraries rather 
than just the first one.


If you have a strong naming convention, like SYS1.**.PROCLIB bring those up in 
3.4 and then SRCHFOR or MEMBER on the command line.


Lizette


> -Original Message-
> From: IBM Mainframe Discussion List  On
> Behalf Of Anthony Thompson
> Sent: Monday, July 08, 2019 8:59 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Findproc CBTTAPE ?
>
> I just run JCL invoking the proc with a deliberate JCL error.
>
> Like so:
>
> //
> /*ROUTE XEQ <--- to pick up any certain system's standard proclib
> order of search
> //FINDPROC EXEC ,JCLERROR=YES
>
> The IEFC001I message in the JESYSMSG dataset tells where the procedure
> was found.
>
> IEFC001I PROCEDURE 
>
> You don't need some clever utility from CBT or any other source to
> figure this out.
>
> Ant.
>
> -Original Message-
> From: IBM Mainframe Discussion List  On
> Behalf Of Jake Anderson
> Sent: Tuesday, 9 July 2019 1:13 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Findproc CBTTAPE ?
>
> Hi
>
> Is there a file within CBTTAPE to find a specific proc among the JES2 procs ?
>
> I am looking through but still didn't get a one yet .
>
> Any pointers would be appreciated
>
> Jake.
>

--
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 
 Rocket Software, Inc. and subsidiaries ■ 77 
Fourth Avenue, Waltham MA 02451 ■ Main Office Toll Free Number: +1 855.577.4323 
Contact Customer Support: 
https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsecure-web.cisco.com%2F1No1VudnsyK-Nju7i0A2a0NVnRWHoXroKfFnfnYKU1tSgGp6Y2vFbbemBrKWJYb_aIWOe4xonwpmWDiJG-2Jx4alb8vzjTux12iOeqjOgPHIfBLd1_HV1kKoq85Qdd42ggGetq2hn6J9fhdY9gtguDK87vjO60hu7sTMkI5_gtIVoVYfZLFEuDNpU-pRvT0qoGJpOwv1eBjgEkA49kc-XFT36yOXPxZEnqrq1c4nraYPqOOxgwBBVjdDcyCSeUAu_0j0h6xuDM2tOrm3xSlbaspQFECzhbm-fwoa4Zxlc0U4vB6qbsJ_XIaAkzS7-YY89k8RTXfx08Un0wG94GIBAUtLFkG3l_kiTbkLATkq4x30Lcgdtopmip1WvkaGYBRiZ7Idea8z7g0BGbaBpAjx4nkYDaYfRN8wu8TC8nwGBgTLXZodX5-qlvcs8JBbLzZt7%2Fhttps%253A%252F%252Fmy.rocketsoftware.com%252FRocketCommunity%252FRCEmailSupport&data=02%7C01%7CRScott%40ROCKETSOFTWARE.COM%7C27a06b0fb9c04844cf0508d70496262e%7C79544

Re: Findproc CBTTAPE ?

2019-07-10 Thread Dana Mitchell
All of our proclibs are named such that I can do a 3.4 and get them all:

=3.4   SYS*.**.PROCLIB

Then simply use SRCHFOR    or MEM x   command on the DSLIST.

Dana

On Wed, 10 Jul 2019 04:29:23 +, Savor, Thomas (Alpharetta) 
 wrote:
>
>Quick and Dirtyand Free:
>If I needed to search members in a chain of PROCLIB's...
>I would allocate those PROCLIB's to a DD under ISPFmaybe set this up in my 
>logon clist.
>Then ISRDDN from Option 6select the PROCLIB DD and search away.
>ISRDDN also has a nice way of telling you where in the concatenation a member 
>was found in first.
>

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


Re: Findproc CBTTAPE ?

2019-07-09 Thread Savor, Thomas (Alpharetta)
>Hi. If you have IBM File Manager then the (FM) FM Enhanced Search 
>facility can be used to search the PROCLIB data sets for a string and 
>return a "smart" list of members containing the string. For z/OS 
>releases prior to
>2.2 SDSF is required. Look for the description of the EFind command in 
>the following section of the FM User's Guide and Reference:
>https://www.ibm.com/support/knowledgecenter/en/SSXJAV_14.1.0/com.ibm.fi
>lemanager.doc_14.1/base/enhancedschfac.html
>

Quick and Dirtyand Free:
If I needed to search members in a chain of PROCLIB's...
I would allocate those PROCLIB's to a DD under ISPFmaybe set this up in my 
logon clist.
Then ISRDDN from Option 6select the PROCLIB DD and search away.
ISRDDN also has a nice way of telling you where in the concatenation a member 
was found in first.

Thanks,

Tom Savor

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


Re: Findproc CBTTAPE ?

2019-07-09 Thread Paul Gilmartin
On Wed, 10 Jul 2019 11:20:05 +0800, Peter Van Dyke wrote:

>Hi. If you have IBM File Manager then the (FM) FM Enhanced Search facility
>can be used to search the PROCLIB data sets for a string and return a
>"smart" list of members containing the string. For z/OS releases prior to
>2.2 SDSF is required. Look for the description of the EFind command in the
>following section of the FM User's Guide and Reference:
>https://www.ibm.com/support/knowledgecenter/en/SSXJAV_14.1.0/com.ibm.filemanager.doc_14.1/base/enhancedschfac.html
> 
Is this JCLLIB-savvy?

--gil

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


Re: Findproc CBTTAPE ?

2019-07-09 Thread Peter Van Dyke
Hi. If you have IBM File Manager then the (FM) FM Enhanced Search facility
can be used to search the PROCLIB data sets for a string and return a
"smart" list of members containing the string. For z/OS releases prior to
2.2 SDSF is required. Look for the description of the EFind command in the
following section of the FM User's Guide and Reference:
https://www.ibm.com/support/knowledgecenter/en/SSXJAV_14.1.0/com.ibm.filemanager.doc_14.1/base/enhancedschfac.html


Regards,
Peter Van Dyke
HCL Software


On Wed, 10 Jul 2019 at 01:52, Seymour J Metz  wrote:

> Static, dynamic or both?
>
>
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
>
> 
> From: IBM Mainframe Discussion List  on behalf
> of Rob Scott 
> Sent: Tuesday, July 9, 2019 9:31 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Findproc CBTTAPE ?
>
> In recent versions of SDSF, you can use the "PROC" primary command to show
> the JES2 PROCLIB datasets and then use the "SRCH mask" command to search
> the displayed PDS datasets for a member name pattern.
>
> Rob Scott
> Rocket Software
>
> -Original Message-
> From: IBM Mainframe Discussion List  On Behalf
> Of Anthony Thompson
> Sent: Tuesday, July 9, 2019 8:22 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Findproc CBTTAPE ?
>
> Lizette, there's another caveat there too. A procedure is identified by
> its member name, but the contents of that library member may not
> necessarily contain the member name.
>
> An unrealistic example:
>
> .PROCLIB(PLURGH) contains:
>
> IEFBR14 PROC
> IEFBR14 EXEC PGM=IEFBR14
> IEFBR14 PEND
>
> Batch 3.14 search for PLURGH won't find that.
>
> Ant.
>
> -Original Message-
> From: IBM Mainframe Discussion List  On Behalf
> Of Lizette Koehler
> Sent: Tuesday, 9 July 2019 2:22 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Findproc CBTTAPE ?
>
> That works so long as the proc you are looking for is in the JES2
> environment.  If your users are using JCLLIB statements, then you need to
> find all of the JCLLIB Datasets and scan for those.
>
> You can do the same thing.
>
> JCLLIB statements with all of your proclibs.  Then try the JCL process.
>
> Caveat.  If the proc member is in multiple libraries, you will only find
> the first occurrence.
>
> I will use the 3.14 option in batch and concatenate all of my proclibs and
> then SEARCH for what I am looking for.  Tends to find those in all
> libraries rather than just the first one.
>
>
> If you have a strong naming convention, like SYS1.**.PROCLIB bring those
> up in 3.4 and then SRCHFOR or MEMBER on the command line.
>
>
> Lizette
>
>
> > -Original Message-
> > From: IBM Mainframe Discussion List  On
> > Behalf Of Anthony Thompson
> > Sent: Monday, July 08, 2019 8:59 PM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: Findproc CBTTAPE ?
> >
> > I just run JCL invoking the proc with a deliberate JCL error.
> >
> > Like so:
> >
> > //
> > /*ROUTE XEQ <--- to pick up any certain system's standard
> proclib
> > order of search
> > //FINDPROC EXEC ,JCLERROR=YES
> >
> > The IEFC001I message in the JESYSMSG dataset tells where the procedure
> > was found.
> >
> > IEFC001I PROCEDURE 
> >
> > You don't need some clever utility from CBT or any other source to
> > figure this out.
> >
> > Ant.
> >
> > -Original Message-
> > From: IBM Mainframe Discussion List  On
> > Behalf Of Jake Anderson
> > Sent: Tuesday, 9 July 2019 1:13 PM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Findproc CBTTAPE ?
> >
> > Hi
> >
> > Is there a file within CBTTAPE to find a specific proc among the JES2
> procs ?
> >
> > I am looking through but still didn't get a one yet .
> >
> > Any pointers would be appreciated
> >
> > Jake.
> >
>
> --
> 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
> 
> Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA
> 02451 ■ Main Office Toll Free Number: +1 855.577.4323
> Contact Customer Support:
> https://secure-web.cisco.com/1No1VudnsyK-Nju7

Re: Findproc CBTTAPE ?

2019-07-09 Thread Seymour J Metz
Static, dynamic or both?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List  on behalf of Rob 
Scott 
Sent: Tuesday, July 9, 2019 9:31 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Findproc CBTTAPE ?

In recent versions of SDSF, you can use the "PROC" primary command to show the 
JES2 PROCLIB datasets and then use the "SRCH mask" command to search the 
displayed PDS datasets for a member name pattern.

Rob Scott
Rocket Software

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Anthony Thompson
Sent: Tuesday, July 9, 2019 8:22 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Findproc CBTTAPE ?

Lizette, there's another caveat there too. A procedure is identified by its 
member name, but the contents of that library member may not necessarily 
contain the member name.

An unrealistic example:

.PROCLIB(PLURGH) contains:

IEFBR14 PROC
IEFBR14 EXEC PGM=IEFBR14
IEFBR14 PEND

Batch 3.14 search for PLURGH won't find that.

Ant.

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Lizette Koehler
Sent: Tuesday, 9 July 2019 2:22 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Findproc CBTTAPE ?

That works so long as the proc you are looking for is in the JES2 environment.  
If your users are using JCLLIB statements, then you need to find all of the 
JCLLIB Datasets and scan for those.

You can do the same thing.

JCLLIB statements with all of your proclibs.  Then try the JCL process.

Caveat.  If the proc member is in multiple libraries, you will only find the 
first occurrence.

I will use the 3.14 option in batch and concatenate all of my proclibs and then 
SEARCH for what I am looking for.  Tends to find those in all libraries rather 
than just the first one.


If you have a strong naming convention, like SYS1.**.PROCLIB bring those up in 
3.4 and then SRCHFOR or MEMBER on the command line.


Lizette


> -Original Message-
> From: IBM Mainframe Discussion List  On
> Behalf Of Anthony Thompson
> Sent: Monday, July 08, 2019 8:59 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Findproc CBTTAPE ?
>
> I just run JCL invoking the proc with a deliberate JCL error.
>
> Like so:
>
> //
> /*ROUTE XEQ <--- to pick up any certain system's standard proclib
> order of search
> //FINDPROC EXEC ,JCLERROR=YES
>
> The IEFC001I message in the JESYSMSG dataset tells where the procedure
> was found.
>
> IEFC001I PROCEDURE 
>
> You don't need some clever utility from CBT or any other source to
> figure this out.
>
> Ant.
>
> -Original Message-
> From: IBM Mainframe Discussion List  On
> Behalf Of Jake Anderson
> Sent: Tuesday, 9 July 2019 1:13 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Findproc CBTTAPE ?
>
> Hi
>
> Is there a file within CBTTAPE to find a specific proc among the JES2 procs ?
>
> I am looking through but still didn't get a one yet .
>
> Any pointers would be appreciated
>
> Jake.
>

--
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

Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA 02451 ■ 
Main Office Toll Free Number: +1 855.577.4323
Contact Customer Support: 
https://secure-web.cisco.com/1No1VudnsyK-Nju7i0A2a0NVnRWHoXroKfFnfnYKU1tSgGp6Y2vFbbemBrKWJYb_aIWOe4xonwpmWDiJG-2Jx4alb8vzjTux12iOeqjOgPHIfBLd1_HV1kKoq85Qdd42ggGetq2hn6J9fhdY9gtguDK87vjO60hu7sTMkI5_gtIVoVYfZLFEuDNpU-pRvT0qoGJpOwv1eBjgEkA49kc-XFT36yOXPxZEnqrq1c4nraYPqOOxgwBBVjdDcyCSeUAu_0j0h6xuDM2tOrm3xSlbaspQFECzhbm-fwoa4Zxlc0U4vB6qbsJ_XIaAkzS7-YY89k8RTXfx08Un0wG94GIBAUtLFkG3l_kiTbkLATkq4x30Lcgdtopmip1WvkaGYBRiZ7Idea8z7g0BGbaBpAjx4nkYDaYfRN8wu8TC8nwGBgTLXZodX5-qlvcs8JBbLzZt7/https%3A%2F%2Fmy.rocketsoftware.com%2FRocketCommunity%2FRCEmailSupport
Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - 
http://secure-web.cisco.com/1BcEAwrBwf6W9x22cfPHJ1AOtc0I753yDhl1hjMLLLt1GLYyV8CkF9yQcib8mPtiiFKMShNi7WinyqRtorJqGCSY7UXypBOJG5-HIDahCwi9XDSReVvIbUkmpGCQTpmqMd6yduzFErqtvKCR2OUn0zaqTRZCNQMK18Lh9qm1a560ra3XiQ8wMSmOTd1R1-qL0S1Ke-nlELj1CdQdXYmEV2fl29SzQG7FVCB_rIu7DUlHwxNw-lXRDztiTo9uwkFlKxN_KifqNszT5WF8oTrpiX4LAMrS1rCPJG5vyVgPPgtfKdG00nNDzVJT0lM7YH_cBMinWGC3gOC9AJ6OLVxHpBgAJ32xjW_newD8B7XWaTtBliYzGpb22Zg2ja2Z_FunD7aAGfZasYdcPFbtesAMemKXOFw17quHTQ5oVf1p5oBjeXRCaEkl582NA2u0vkh6Y/http%3A%2F%2Fwww.rocketsoftware.com%2Fmanage-your-email-preferences
Privacy Policy - 
http://

Re: Findproc CBTTAPE ?

2019-07-09 Thread Lionel B Dyck
The LSTPROC command, written in REXX, found on File 312 of the CBTTAPE, will 
find the JES2 defined Proclibs, then allocates them to temporary DDnames of 
$PROCxxx, then invokes ISRDDN followed by the ONLY $PROC to limit the display 
to just those DDnames.  With ISRDDN you can use any of its commands such as 
Member to find a specific member, or any other of the ISRDDN set of commands.

 

  Current Data Set Allocations Row 1 of 12 

Command ===>  Scroll ===> CSR  

   

 Volume   Disposition Act DDname   Data Set Name   Actions: B E V M F C I Q

 SYVOLD   SHR,KEEP   >$PROCMST SYS2.PROCLIB  

 SYVOLG   SHR,KEEP   > SYS1.PROCLIB   

 SYVOL0   SHR,KEEP   > USER.PROCLIB

 SYVOLB   SHR,KEEP   > TSO.PROCLIB

 SYVOLD   SHR,KEEP   >$PROC00  SYS2.PROCLIB  

 SYVOLG   SHR,KEEP   > SYS1.PROCLIB   

 SYVOL0   SHR,KEEP   > USER.PROCLIB

 SYVOLB   SHR,KEEP   > TSO.PROCLIB

 SYVOLD   SHR,KEEP   >$PROC01  SYS2.PROCLIB  

 SYVOLG   SHR,KEEP   > SYS1.PROCLIB   

 SYVOL0   SHR,KEEP   > USER.PROCLIB

 SYVOLB   SHR,KEEP   > TSO.PROCLIB

-- End of Allocation List -

 

 

Lionel B. Dyck <

Website: http://www.lbdsoftware.com

 

"Worry more about your character than your reputation.  Character is what you 
are, reputation merely what others think you are." - John Wooden

 

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Paul Gilmartin
Sent: Tuesday, July 9, 2019 9:55 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Findproc CBTTAPE ?

 

On Tue, 9 Jul 2019 07:43:09 +0400, Jake Anderson wrote:i

> 

>Is there a file within CBTTAPE to find a specific proc among the JES2 

>procs ?

This seems to be motivation for an RFE.  Perhaps a combination of MSGLEVEL and 
TYPRUN that would show PROC resolution and optionally suppress/allow execution.

 

This should not be an independent utility with the hazard of inconsistency; it 
should execute mainstream initiator code but bypass allocation, ATTACH, and 
system commands.

 

Every language should have such a facility.  HLASM does well in its summary 
epilogue; Rexx fairly well with PARSE SOURCE.  JES, TSO, and ISPF are 
inadequate.

 

-- gil

 

--

For IBM-MAIN subscribe / signoff / archive access instructions, send email to  
<mailto:lists...@listserv.ua.edu> 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: Findproc CBTTAPE ?

2019-07-09 Thread Paul Gilmartin
On Tue, 9 Jul 2019 07:43:09 +0400, Jake Anderson wrote:i
>
>Is there a file within CBTTAPE to find a specific proc among the JES2 procs
>?
This seems to be motivation for an RFE.  Perhaps a combination of
MSGLEVEL and TYPRUN that would show PROC resolution and optionally
suppress/allow execution.

This should not be an independent utility with the hazard of 
inconsistency; it should execute mainstream initiator code but
bypass allocation, ATTACH, and system commands.

Every language should have such a facility.  HLASM does well in its
summary epilogue; Rexx fairly well with PARSE SOURCE.  JES, TSO,
and ISPF are inadequate.

-- gil

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


Re: Findproc CBTTAPE ?

2019-07-09 Thread Rob Scott
In recent versions of SDSF, you can use the "PROC" primary command to show the 
JES2 PROCLIB datasets and then use the "SRCH mask" command to search the 
displayed PDS datasets for a member name pattern.

Rob Scott
Rocket Software

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Anthony Thompson
Sent: Tuesday, July 9, 2019 8:22 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Findproc CBTTAPE ?

Lizette, there's another caveat there too. A procedure is identified by its 
member name, but the contents of that library member may not necessarily 
contain the member name.

An unrealistic example:

.PROCLIB(PLURGH) contains:

IEFBR14 PROC
IEFBR14 EXEC PGM=IEFBR14
IEFBR14 PEND

Batch 3.14 search for PLURGH won't find that.

Ant.

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Lizette Koehler
Sent: Tuesday, 9 July 2019 2:22 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Findproc CBTTAPE ?

That works so long as the proc you are looking for is in the JES2 environment.  
If your users are using JCLLIB statements, then you need to find all of the 
JCLLIB Datasets and scan for those.

You can do the same thing.

JCLLIB statements with all of your proclibs.  Then try the JCL process.

Caveat.  If the proc member is in multiple libraries, you will only find the 
first occurrence.

I will use the 3.14 option in batch and concatenate all of my proclibs and then 
SEARCH for what I am looking for.  Tends to find those in all libraries rather 
than just the first one.


If you have a strong naming convention, like SYS1.**.PROCLIB bring those up in 
3.4 and then SRCHFOR or MEMBER on the command line.


Lizette


> -Original Message-
> From: IBM Mainframe Discussion List  On
> Behalf Of Anthony Thompson
> Sent: Monday, July 08, 2019 8:59 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Findproc CBTTAPE ?
>
> I just run JCL invoking the proc with a deliberate JCL error.
>
> Like so:
>
> //
> /*ROUTE XEQ <--- to pick up any certain system's standard proclib
> order of search
> //FINDPROC EXEC ,JCLERROR=YES
>
> The IEFC001I message in the JESYSMSG dataset tells where the procedure
> was found.
>
> IEFC001I PROCEDURE 
>
> You don't need some clever utility from CBT or any other source to
> figure this out.
>
> Ant.
>
> -Original Message-
> From: IBM Mainframe Discussion List  On
> Behalf Of Jake Anderson
> Sent: Tuesday, 9 July 2019 1:13 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Findproc CBTTAPE ?
>
> Hi
>
> Is there a file within CBTTAPE to find a specific proc among the JES2 procs ?
>
> I am looking through but still didn't get a one yet .
>
> Any pointers would be appreciated
>
> Jake.
>

--
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

Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA 02451 ■ 
Main Office Toll Free Number: +1 855.577.4323
Contact Customer Support: 
https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport
Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - 
http://www.rocketsoftware.com/manage-your-email-preferences
Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy


This communication and any attachments may contain confidential information of 
Rocket Software, Inc. All unauthorized use, disclosure or distribution is 
prohibited. If you are not the intended recipient, please notify Rocket 
Software immediately and destroy all copies of this communication. Thank you.

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


Re: Findproc CBTTAPE ?

2019-07-09 Thread Lionel B Dyck
Look in File 312 for member LSTPROC which will dynamically get the proclibs 
that are defined to JES2 - it doesn't support dynamic proclibs but it should 
get you the static ones.

If you use JES3 then check out LSTPROC3.

Lionel B. Dyck <
Website: http://www.lbdsoftware.com

"Worry more about your character than your reputation.  Character is what you 
are, reputation merely what others think you are." - John Wooden

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Jake Anderson
Sent: Monday, July 8, 2019 10:43 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Findproc CBTTAPE ?

Hi

Is there a file within CBTTAPE to find a specific proc among the JES2 procs ?

I am looking through but still didn't get a one yet .

Any pointers would be appreciated

Jake.

--
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: Findproc CBTTAPE ?

2019-07-09 Thread Anthony Thompson
Lizette, there's another caveat there too. A procedure is identified by its 
member name, but the contents of that library member may not necessarily 
contain the member name. 

An unrealistic example:

.PROCLIB(PLURGH) contains:

IEFBR14 PROC
IEFBR14 EXEC PGM=IEFBR14
IEFBR14 PEND

Batch 3.14 search for PLURGH won't find that.

Ant.

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Lizette Koehler
Sent: Tuesday, 9 July 2019 2:22 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Findproc CBTTAPE ?

That works so long as the proc you are looking for is in the JES2 environment.  
If your users are using JCLLIB statements, then you need to find all of the 
JCLLIB Datasets and scan for those.

You can do the same thing.

JCLLIB statements with all of your proclibs.  Then try the JCL process.

Caveat.  If the proc member is in multiple libraries, you will only find the 
first occurrence.

I will use the 3.14 option in batch and concatenate all of my proclibs and then 
SEARCH for what I am looking for.  Tends to find those in all libraries rather 
than just the first one.


If you have a strong naming convention, like SYS1.**.PROCLIB bring those up in 
3.4 and then SRCHFOR or MEMBER on the command line.


Lizette


> -Original Message-
> From: IBM Mainframe Discussion List  On 
> Behalf Of Anthony Thompson
> Sent: Monday, July 08, 2019 8:59 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Findproc CBTTAPE ?
> 
> I just run JCL invoking the proc with a deliberate JCL error.
> 
> Like so:
> 
> //
> /*ROUTE XEQ <--- to pick up any certain system's standard proclib
> order of search
> //FINDPROC EXEC ,JCLERROR=YES
> 
> The IEFC001I message in the JESYSMSG dataset tells where the procedure 
> was found.
> 
> IEFC001I PROCEDURE 
> 
> You don't need some clever utility from CBT or any other source to 
> figure this out.
> 
> Ant.
> 
> -Original Message-
> From: IBM Mainframe Discussion List  On 
> Behalf Of Jake Anderson
> Sent: Tuesday, 9 July 2019 1:13 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Findproc CBTTAPE ?
> 
> Hi
> 
> Is there a file within CBTTAPE to find a specific proc among the JES2 procs ?
> 
> I am looking through but still didn't get a one yet .
> 
> Any pointers would be appreciated
> 
> Jake.
> 

--
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: Findproc CBTTAPE ?

2019-07-08 Thread Brian Westerman
Here is a Clist that does what you are looking for.  You have to update the 
lines with the proclibs on them to have your proclib names (add more or remove 
some if you don't have the same number of proclibs)

i.e. you need these two lines ofr each proclib:

SET &HINUM = &HINUM + 1
SET &PROC&HINUM = name .of.proclib

.  It allows you to search all of your proclibs and optionally ispf edit or 
browse the member if found;

I.E> TSO FINDPROC JES2 EDIT (will search the proclibs, find the JES2 proc, and 
put you in ispf edit on it).

The order in the clist should match your exact order in your JES2 proceedure.

 /* FINDPROC TSO/E CLIST */
 /* FINDPROC IS A CLIST THAT WILL SEARCH THE JES PROCLIB */
 /* CONCATENATION FINDING A TARGET MEMBER. SEVERAL OPTIONS ARE   */
 /* AVAILABLE:   */
 /*  */
 /*  WRITE  - SHOW LIBRARY NAME AS IT IS SEARCHED*/
 /*  */
 /*  QUIT   - QUIT AFTER FIRST OCCURANCE OF TARGET   */
 /*  */
 /*  EDIT   - EDIT THE TARGET MEMBER WHEN FOUND  */
 /*  */
 /*  BROWSE - BROWSE THE TARGET MEMBER WHEN FOUND*/
 /*  */
 /*  THIS CLIST MUST BE UPDATED WITH THE PROCLIBS IN THE ORDER JES   */
 /*  SEARCHES THEM. THIS IS USUALLY IN THE JES2 PROC OR THE JES3 */
 /*  INISH DECK. */
 /*  */
 /*  */
 /* SYNTAX: FINDPROC PROCNAME {WRITE QUIT EDIT BROWSE}   */
 /*  */
 //
   
PROC 1 MBR WRITE  QUIT EDIT BROWSE 
 SET &PROC = PROC  
SET &HINUM = &HINUM + 1
SET &PROC&HINUM = PZOS.PROCLIB 
SET &HINUM = &HINUM + 1
SET &PROC&HINUM = SYS1.MLTIPROC
SET &HINUM = &HINUM + 1
SET &PROC&HINUM = SYS1.PROCLIB 
SET &HINUM = &HINUM + 1
SET &PROC&HINUM = SYS1.IBM.PROCLIB 
SET &HINUM = &HINUM + 1
SET &PROC&HINUM = UTLS.PD.PROCLIB  
SET &HINUM = &HINUM + 1
SET &PROC&HINUM = CSBP.PD.PROCLIB  
SET &HINUM = &HINUM + 1
SET &PROC&HINUM = CSBP.PD.VENDPROC 
SET &HINUM = &HINUM + 1 
SET &PROC&HINUM = SAPD.PD.PROCLIB   
WRITE SEARCHING SYSTEM PROCLIBS FOR PROC: &MBR  
LOOP: + 
SET &CTR = &CTR + 1 
IF &CTR > &HINUM THEN GOTO OUT  
SET &LIB = &&PROC&CTR   
IF &WRITE =  WRITE THEN DO  
WRITE  SEARCHING '&LIB' 
END 
IF &SYSDSN('&LIB(&MBR)') = OK THEN DO   
IF &WRITE = EDIT |  +   
   &QUIT  = EDIT |  +   
   &BROWSE = EDIT |  +  
   &EDIT  = EDIT THEN  DO   
ISPEXEC EDIT DATASET('&LIB(&MBR)')  
GOTO CHECKXIT   
END 
IF &WRITE = BROWSE | +  
   &QUIT  = BROWSE | +  
   &BROWSE = BROWSE | + 
   &EDIT  = BROWSE THEN DO  

Re: Findproc CBTTAPE ?

2019-07-08 Thread Lizette Koehler
That works so long as the proc you are looking for is in the JES2 environment.  
If your users are using JCLLIB statements, then you need to find all of the 
JCLLIB Datasets and scan for those.

You can do the same thing.

JCLLIB statements with all of your proclibs.  Then try the JCL process.

Caveat.  If the proc member is in multiple libraries, you will only find the 
first occurrence.

I will use the 3.14 option in batch and concatenate all of my proclibs and then 
SEARCH for what I am looking for.  Tends to find those in all libraries rather 
than just the first one.


If you have a strong naming convention, like SYS1.**.PROCLIB bring those up in 
3.4 and then SRCHFOR or MEMBER on the command line.


Lizette


> -Original Message-
> From: IBM Mainframe Discussion List  On Behalf Of
> Anthony Thompson
> Sent: Monday, July 08, 2019 8:59 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Findproc CBTTAPE ?
> 
> I just run JCL invoking the proc with a deliberate JCL error.
> 
> Like so:
> 
> //
> /*ROUTE XEQ <--- to pick up any certain system's standard proclib
> order of search
> //FINDPROC EXEC ,JCLERROR=YES
> 
> The IEFC001I message in the JESYSMSG dataset tells where the procedure was
> found.
> 
> IEFC001I PROCEDURE 
> 
> You don't need some clever utility from CBT or any other source to figure
> this out.
> 
> Ant.
> 
> -Original Message-
> From: IBM Mainframe Discussion List  On Behalf Of
> Jake Anderson
> Sent: Tuesday, 9 July 2019 1:13 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Findproc CBTTAPE ?
> 
> Hi
> 
> Is there a file within CBTTAPE to find a specific proc among the JES2 procs ?
> 
> I am looking through but still didn't get a one yet .
> 
> Any pointers would be appreciated
> 
> Jake.
> 

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


Re: Findproc CBTTAPE ?

2019-07-08 Thread Anthony Thompson
I just run JCL invoking the proc with a deliberate JCL error.

Like so: 

//
/*ROUTE XEQ <--- to pick up any certain system's standard proclib 
order of search
//FINDPROC EXEC ,JCLERROR=YES

The IEFC001I message in the JESYSMSG dataset tells where the procedure was 
found.

IEFC001I PROCEDURE 

You don't need some clever utility from CBT or any other source to figure this 
out.

Ant.

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Jake Anderson
Sent: Tuesday, 9 July 2019 1:13 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Findproc CBTTAPE ?

Hi

Is there a file within CBTTAPE to find a specific proc among the JES2 procs ?

I am looking through but still didn't get a one yet .

Any pointers would be appreciated

Jake.

--
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


Findproc CBTTAPE ?

2019-07-08 Thread Jake Anderson
Hi

Is there a file within CBTTAPE to find a specific proc among the JES2 procs
?

I am looking through but still didn't get a one yet .

Any pointers would be appreciated

Jake.

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