> I believe that as long as you invoke the program via ISPEXEC SELECT CMD(...) 
> rather than ISPEXEC SELECT PGM(...) then the program does not need to worry 
> about the LIBDEF for ISPLLIB

Good point - I was blinkered by my own use of SELECT PGM() 

Rob Scott
Lead Developer
Rocket Software
275 Grove Street * Newton, MA 02466-2272 * USA
Tel: +1.617.614.2305
Email: rsc...@rs.com
Web: www.rocketsoftware.com


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of 
Walt Farrell
Sent: 22 July 2011 15:28
To: IBM-MAIN@bama.ua.edu
Subject: Re: dynamic STEPLIB

On Fri, 22 Jul 2011 12:45:24 +0000, Rob Scott <rsc...@rocketsoftware.com> wrote:

>Products that can be invoked under LIBDEF for ISPLLIB must be coded to 
>recognize and support it - otherwise any bog-standard LOADs could be 
>issued without awareness of the tasklib DCB requirements  and you end up with 
>an S806. If the product sticks to just "ISPEXEC SELECT" to invoke any other 
>programs, then you are probably OK - however if there is a "LOAD" lurking in 
>the code, then it must be handled correctly.

I believe that as long as you invoke the program via ISPEXEC SELECT CMD(...) 
rather than ISPEXEC SELECT PGM(...) then the program does not need to worry 
about the LIBDEF for ISPLLIB, Rob. 

Also, of course, if there's just one library involved and if you can invoke the 
program via the TSO/E CALL command instead of ISPEXEC SELECT PGM then the 
program won't need to worry about its LOADs.

In both cases the LOADs will simply work, because both CALL and ISPEXEC SELECT 
CMD establish real tasklibs.

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

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

Reply via email to