CM - you are assuming that the guy with the question can issue console
commands.  

I would NEVER let a general user near my console much less the SETPROG
command

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of CM Poncelet
Sent: Monday, March 14, 2016 11:00 PM
To: [email protected]
Subject: Re: Cannot allocate Steplib?

If the routine's APF'd loadlib is added to an APF'd STEPLIB, the STEPLIB
will override the LNKLST CBT requirement.

Meanwhile, APF-authorizing/unauthorizing a loadlib 'on the fly' can be done
in batch with:

"//* 
APF-AUTHORIZE:

"
"//ADDAPF  EXEC 
PGM=IEBGENER                                                             "
"//SYSPRINT  DD SYSOUT=*                                                 
                "                                               
"//SYSIN     DD 
DUMMY                                                                    "
"//SYSUT2    DD 
SYSOUT=(*,INTRDR)                                                        "
"//SYSUT1    DD 
*,DLM=@@                                                                 "
"/*$VS,'SETPROG 
APF,FORMAT=DYNAMIC'                                                      "
"/*$VS,'SETPROG APF,ADD,DSN=<whatever loadlib>,{VOLUME=<whatever non-SMS 
volume>|SMS}'   "
"@@

"
"//* 
 

"
"//* EXECUTE REXX TO CONCAT AHEAD OF STEPLIB FROM 
LISTCAT:                               "
"//WHATREXX EXEC 
PGM=IKJEFT01,                                                           "
"//             
REGION=8192K,                                                            "
"//             
DYNAMNBR=25                                                              "
"//SYSTSIN   DD 
*                                                                        "
"     ISPSTART CMD(%<whatever>) NEWAPPL(<whatever APPL>) 
PASSLIB                         "
"//SYSEXEC   DD DISP=SHR,DSN=<REXX 
library>                                              "
"//STEPLIB   DD DISP=SHR,DSN=<whatever APF'd 
loadlib(s)>

"
" <... etc. ... 
 >
"
"//*

"
"//* 
APF-UNAUTHORIZE:

"
"//DELAPF  EXEC PGM=IEBGENER                                             
                "                                          
"//SYSPRINT  DD 
SYSOUT=*                                                                 "
"//SYSIN     DD 
DUMMY                                                                    "
"//SYSUT2    DD 
SYSOUT=(*,INTRDR)                                                        "
"//SYSUT1    DD 
*,DLM=@@                                                                 "
"/*$VS,'SETPROG APF,DELETE,DSN=<whatever loadlib>,{VOLUME=<whatever non-SMS
volume>|SMS}'"
"@@

"
"//* 
 

"

Just my ha'pennyworth ... CP (retired sysprog)


Steve Beaver wrote:

>The STEPLIB TMP will work -- The caveat this routine MUST be placed on 
>the LNKLST in an APF Authorized library.
>
>Steve   
>
>-----Original Message-----
>From: IBM Mainframe Discussion List [mailto:[email protected]] 
>On Behalf Of Dan D
>Sent: Monday, March 14, 2016 8:32 PM
>To: [email protected]
>Subject: Re: Cannot allocate Steplib?
>
>CBT file 452 contains the STEPLIB TSO command.
>
>Dan D.  (CBT File owner)
>
>"Steve Horein" <[email protected]> wrote in message 
>news:<camjizqv9uxodkfmhiqp8quvs77sqbqrfgexcy3girxkbhvt...@mail.gmail.com>..
.
>  
>
>>DSC is a product offered by IBM. It was once known as ISPF 
>>Productivity Tool, or SPIFFY.
>>However, one of the CBTTape files offers a STEPLIB utility (I don't 
>>recall which file number.) At the shop where I got my start, I used 
>>the CBTTape offering to
>>    
>>
>supplement
>  
>
>>dynamic ISPF applications.
>>
>>On Mon, Mar 14, 2016 at 6:02 PM, Jesse 1 Robinson
>>    
>>
><[email protected]>
>  
>
>>wrote:
>>
>>    
>>
>>>I did a simple search in Google and found something called Data Set 
>>>Commander, which appears to include a STEPLIB command. DSC seems to 
>>>be
>>>      
>>>
>at
>  
>
>>>8.1. Looks like a program product.
>>>
>>>.
>>>.
>>>.
>>>J.O.Skip Robinson
>>>Southern California Edison Company
>>>Electric Dragon Team Paddler
>>>SHARE MVS Program Co-Manager
>>>323-715-0595 Mobile
>>>626-302-7535 Office
>>>[email protected]
>>>
>>>
>>>-----Original Message-----
>>>From: IBM Mainframe Discussion List
>>>[mailto:[email protected]] On Behalf Of Lindy Mayfield
>>>Sent: Monday, March 14, 2016 3:50 PM
>>>To: [email protected]
>>>Subject: (External):Re: Cannot allocate Steplib?
>>>
>>>I love Linux, but my real love is mainframe.  I had a senior moment, 
>>>and
>>>      
>>>
>I
>  
>
>>>haven't been on mainframe as much as I like to be.
>>>
>>>It was SYSPROC that was commonly reallocated by CLIST and Rexx 
>>>scripts
>>>      
>>>
>in
>  
>
>>>order to do testing in the right order test/dev/prod or whatever.  
>>>Not STEPLIB.
>>>
>>>I think there is a steplib command, but I don't remember when I used 
>>>it, and that's outside the scope of this.
>>>
>>>Sorry about that.  :-(
>>>
>>>Lindy
>>>      
>>>
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions, send 
>email to [email protected] with the message: INFO IBM-MAIN
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions, send 
>email to [email protected] with the message: INFO IBM-MAIN
>
>
>  
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email
to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to