Re: Storage Obtained By an SRB
Jim Mulder opined: >There is an implicit and (and unfortunately, >unenforceable) restriction that if you are writing >any SRB mode code, you need to have a considerable >amount of knowledge about how z/OS works. And of course if IBM hadn't closed-sourced its code, learning would have been significantly easier for (particularly) late arrivals. My concern (as a mug end-user) is more that we have no way of ascertaining the competence of the authors of the code we are invariably exhorted must be installed into authorised libraries. I see so many side-effects and potential exposures it just doesn't sit well. Shane ... -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Storage Obtained By an SRB
On Mon, 10 Dec 2012 17:45:30 -0500 Micheal Burn wrote: :>I read and searched chapter 9 of the authorized assembler guide and it :>Didn't see any restriction on subpool :>Usage for a program running in SRB mode :>I did the same looking at the storage macro :>My question was based on logic :>Since storage is owned by the TCB :>And psaold is zero in SRB mode :>Was their any restrictions on sub pool :>Usage in SRB mode The manuals explicitly state what happens when PSATOLD is zero. :>On Dec 10, 2012, at 5:25 PM, John Gilmore wrote: :> :>> Scott, :>> :>> It is, I think, a how-to-use-this-list-effectively question. None of :>> us wants to discourage the OP from asking questions, but he does need :>> to learn 1) do his own homework first and 2) state his questions with :>> more precision. :>> :>> John Gilmore, Ashland, MA 01721 - USA :>> :>> -- :>> 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 -- Binyamin Dissen http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel Should you use the mailblocks package and expect a response from me, you should preauthorize the dissensoftware.com domain. I very rarely bother responding to challenge/response systems, especially those from irresponsible companies. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Storage Obtained By an SRB
Jim Mulder wrote: There is an implicit and (and unfortunately, unenforceable) restriction that if you are writing any SRB mode code, you need to have a considerable amount of knowledge about how z/OS works. This is 'more than true', but it is also true that we learn by doing. One of the more useful functions of IBM-MAIN is to provide relative novices with a forum in which they can ask questions about functions that they are underqualified to implement. My problem with the OP's position is that he is aggressively defensive about his ignorance. His ignorance---We were all once in tht state---requires no defense, but there are protocols for asking other for help in dissipating it. John Gilmore, Ashland, Ma 01721 - USA -- John Gilmore, Ashland, MA 01721 - USA t. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Storage Obtained By an SRB
> I read and searched chapter 9 of the authorized assembler guide and it > Didn't see any restriction on subpool > Usage for a program running in SRB mode > I did the same looking at the storage macro > > My question was based on logic > Since storage is owned by the TCB > And psaold is zero in SRB mode > Was their any restrictions on sub pool > Usage in SRB mode When you do a STORAGE OBTAIN,LINKAGE=SYSTEM in SRB mode, and you don't specify a TCB via the TCBADDR parameter, and TCB ownership is applicable to the subpool that you specified, then VSM operates as if you had specified the TCB whose address is the ASCBXTCB field of the ASCB for the target address space. There is no restriction on which subpools you can specify on STORAGE OBTAIN in SRB mode. There is an implicit and (and unfortunately, unenforceable) restriction that if you are writing any SRB mode code, you need to have a considerable amount of knowledge about how z/OS works. Jim Mulder z/OS System Test IBM Corp. Poughkeepsie, NY -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Storage Obtained By an SRB
John, I totally agree Scott ford www.identityforge.com Tell me and I'll forget; show me and I may remember; involve me and I'll understand. - Chinese Proverb On Dec 10, 2012, at 5:25 PM, John Gilmore wrote: > Scott, > > It is, I think, a how-to-use-this-list-effectively question. None of > us wants to discourage the OP from asking questions, but he does need > to learn 1) do his own homework first and 2) state his questions with > more precision. > > John Gilmore, Ashland, MA 01721 - USA > > -- > 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: Storage Obtained By an SRB
I read and searched chapter 9 of the authorized assembler guide and it Didn't see any restriction on subpool Usage for a program running in SRB mode I did the same looking at the storage macro My question was based on logic Since storage is owned by the TCB And psaold is zero in SRB mode Was their any restrictions on sub pool Usage in SRB mode Sent from my iPhone On Dec 10, 2012, at 5:25 PM, John Gilmore wrote: > Scott, > > It is, I think, a how-to-use-this-list-effectively question. None of > us wants to discourage the OP from asking questions, but he does need > to learn 1) do his own homework first and 2) state his questions with > more precision. > > John Gilmore, Ashland, MA 01721 - USA > > -- > 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: Storage Obtained By an SRB
Hi Michael, A search form more like this would have a much better chance of narrowing the hits down to what you are looking for. Most of the time, a good result will be on the first page of hits. srb subpool "authorized Assembler Services guide" v1r13 site:redbooks.ibm.com or srb subpool "authorized Assembler Services guide" v1r13 site: ibm.com substitute v1r13 with the release level you need the info for. Using :site limits the finds to the site that you specify . I use Google a lot, but whenever Google can't find something, I generally have great results at www.dogpile.com Please do give this a try, and please give us a better idea of what you are trying to accomplish. HTH, Linda - Original Message - From: "micheal butz" To: IBM-MAIN@LISTSERV.UA.EDU Sent: Sunday, December 9, 2012 10:33:00 PM Subject: Re: Storage Obtained By an SRB SRB's are documented in CHapter 9 of The Authorized Assembler Guide I did a search using keyword subpool and came up with no hits for chapter 9 search on keyword storage yielded 3 hits for chapter 9 none of which were relevant On Sun, Dec 9, 2012 at 6:40 PM, John Gilmore wrote: > Micheal, > > Let me use EJ's response to make my point again. He is a valuable > resource. When you dissipate his patience with trivial questions that > you can easily answer for yourself there is at least the possibility > that you will reduce his willingness to answer your more important and > problematic questions. > > Do you know how to use the IBM publications website to download copies > of the manuals you need [at no cost]? Do you have copies of the basic > ones immediately at hand on your workstation? Familiarity with them > and practice in using them will make your life much easier. > > [End of avuncular advice] > > John Gilmore, Ashland, MA 01721 - USA > > -- > 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 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Storage Obtained By an SRB
Scott, It is, I think, a how-to-use-this-list-effectively question. None of us wants to discourage the OP from asking questions, but he does need to learn 1) do his own homework first and 2) state his questions with more precision. John Gilmore, Ashland, MA 01721 - USA -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Storage Obtained By an SRB
Is it a manual question or a design question ? Scott ford www.identityforge.com Tell me and I'll forget; show me and I may remember; involve me and I'll understand. - Chinese Proverb On Dec 10, 2012, at 3:13 PM, Andy Wood wrote: > On Sun, 9 Dec 2012 15:12:44 -0800, Edward Jaffe > wrote: > >> On 12/9/2012 2:56 PM, Micheal Butz wrote: >>> Can you issue STORAGE OBTAIN,LENGTH=LENGTH_VALUE,SP=0 >>> >>> In Srb mode >> >> RTFM. It took me less time to look up than it did to copy/paste below! >:0 > > . . . > > There could be more to it than that. > > If the question relates specifically to SP 0, rather than "private area > storage" as originally stated, then although you *can* issue an OBTAIN for > SP=0, I don't think that is what you would get. > > It is hard to imagine an SRB that does not run in supervisor state, and SP 0 > requests from supervisor state callers are translated to SP 252. Depending > on what the SRB is is going to do with the storage, that translation may or > may not be to your advantage. You certainly would not want an SRB to be using > actual SP 0 (often key 8 or other user key) storage as a general work area. > > -- > 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: Storage Obtained By an SRB
On Sun, 9 Dec 2012 15:12:44 -0800, Edward Jaffe wrote: >On 12/9/2012 2:56 PM, Micheal Butz wrote: >> Can you issue STORAGE OBTAIN,LENGTH=LENGTH_VALUE,SP=0 >> >> In Srb mode > >RTFM. It took me less time to look up than it did to copy/paste below! >:0 . . . There could be more to it than that. If the question relates specifically to SP 0, rather than "private area storage" as originally stated, then although you *can* issue an OBTAIN for SP=0, I don't think that is what you would get. It is hard to imagine an SRB that does not run in supervisor state, and SP 0 requests from supervisor state callers are translated to SP 252. Depending on what the SRB is is going to do with the storage, that translation may or may not be to your advantage. You certainly would not want an SRB to be using actual SP 0 (often key 8 or other user key) storage as a general work area. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Storage Obtained By an SRB
On Mon, 10 Dec 2012 01:33:00 -0500, micheal butz wrote: >SRB's are documented in CHapter 9 of The Authorized Assembler Guide > >I did a search using keyword subpool and came up with no hits for >chapter 9 > >search on keyword storage yielded 3 hits for chapter 9 none of which >were relevant But as your question was about STORAGE OBTAIN, the place you should have looked was in the Authorized Assembler Reference, at the macro description itself. Part of being a good z/OS programmer (especially in authorized code) is learning which manual to look at. -- Walt -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Storage Obtained By an SRB
SRB's are documented in CHapter 9 of The Authorized Assembler Guide I did a search using keyword subpool and came up with no hits for chapter 9 search on keyword storage yielded 3 hits for chapter 9 none of which were relevant On Sun, Dec 9, 2012 at 6:40 PM, John Gilmore wrote: Micheal, Let me use EJ's response to make my point again. He is a valuable resource. When you dissipate his patience with trivial questions that you can easily answer for yourself there is at least the possibility that you will reduce his willingness to answer your more important and problematic questions. Do you know how to use the IBM publications website to download copies of the manuals you need [at no cost]? Do you have copies of the basic ones immediately at hand on your workstation? Familiarity with them and practice in using them will make your life much easier. [End of avuncular advice] John Gilmore, Ashland, MA 01721 - USA -- 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: Storage Obtained By an SRB
Micheal, Let me use EJ's response to make my point again. He is a valuable resource. When you dissipate his patience with trivial questions that you can easily answer for yourself there is at least the possibility that you will reduce his willingness to answer your more important and problematic questions. Do you know how to use the IBM publications website to download copies of the manuals you need [at no cost]? Do you have copies of the basic ones immediately at hand on your workstation? Familiarity with them and practice in using them will make your life much easier. [End of avuncular advice] John Gilmore, Ashland, MA 01721 - USA -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Storage Obtained By an SRB
On 12/9/2012 2:56 PM, Micheal Butz wrote: Can you issue STORAGE OBTAIN,LENGTH=LENGTH_VALUE,SP=0 In Srb mode RTFM. It took me less time to look up than it did to copy/paste below! >:0 STORAGE: Environment: Dispatchable unit mode: For LINKAGE=SVC: Task For LINKAGE=SYSTEM, LINKAGE=BRANCH, or LINKAGE=GLOBALBRANCH: Task or SRB -- Edward E Jaffe Phoenix Software International, Inc 831 Parkview Drive North El Segundo, CA 90245 http://www.phoenixsoftware.com/ -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Storage Obtained By an SRB
Can you issue STORAGE OBTAIN,LENGTH=LENGTH_VALUE,SP=0 In Srb mode -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of John Gilmore Sent: Sunday, December 09, 2012 5:35 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Storage Obtained By an SRB The generic answer to your question is that the alphabetically relevant Authorized Assembler Services Manual (almost) always specifies whether and under what circumstances an SRB routine can use the services of a particular macro, but there are often many detailed restrictions. There are, for example, some GETMAIN facilities than can be used by an SRB routine, but there are others than cannot. You are again asking a very general question without providing much context. Please make what you want to do clearer. Taking the time to do so now will get you better advice more quickly. John Gilmore, Ashland, MA 01721 - USA -- 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: Storage Obtained By an SRB
The generic answer to your question is that the alphabetically relevant Authorized Assembler Services Manual (almost) always specifies whether and under what circumstances an SRB routine can use the services of a particular macro, but there are often many detailed restrictions. There are, for example, some GETMAIN facilities than can be used by an SRB routine, but there are others than cannot. You are again asking a very general question without providing much context. Please make what you want to do clearer. Taking the time to do so now will get you better advice more quickly. John Gilmore, Ashland, MA 01721 - USA -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Storage Obtained By an SRB
Hi, Get an SRB obtain private area storage Thanks -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN