Question about SVC 109

2006-12-21 Thread Lindy Mayfield
Can someone please tell me if I have gotten this right? (:

SVC's are numbered from 0 to 255.

>From 0 to 199 are reserved for IBM use.

SVC 109 is basically an SVC that can call an SVC from 0 to 255, and again IBM 
has reserved 0 - 199 for their own use.  This in essence extends the range of 
SVC's from 256 to 256*2.

SVC's called by SVS 109 can only be type-4 SVC's.

Why not type-3?  Nowdays, I cannot see any differences between type-3 and 
type-4.  Am I missing something?

thanks so much.
Lindy

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


Re: Question about SVC 109

2007-01-14 Thread Capomaestro
Sorry I'm late to the game, folks!

File CBT531 contains a Rexx, SVCSRCH, that displays the first 160 bytes in
hex for any/all SVCs. When it encounters an ESR SVC in also displays the table.

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


Re: Question about SVC 109

2006-12-21 Thread Robert Wright
Lindy Mayfield wrote on 12/21/2006 15:13:04:

> Can someone please tell me if I have gotten this right? (:
>
> SVC's are numbered from 0 to 255.
>
> From 0 to 199 are reserved for IBM use.
>
> SVC 109 is basically an SVC that can call an SVC from 0 to 255, and
> again IBM has reserved 0 - 199 for their own use.  This in essence
> extends the range of SVC's from 256 to 256*2.
>
> SVC's called by SVS 109 can only be type-4 SVC's.
>
> Why not type-3?  Nowdays, I cannot see any differences between
> type-3 and type-4.  Am I missing something?

SVC 109 is a distinct type-4 SVC in its own right, and it is a middle-man.
By the early 1970s when it was created, IBM was running out of the 128 SVC
numbers that we'd claimed for our own.  SVC 109 was part of the answer.  It
steals one of the GPRs that other type-4 SVCs might want to use as part of
their API and uses its contents as a function code.  The function code
determines which module, in turn, receives control from the middle-man.
The functional module(s) deliver the function(s).  SVC 109 has none of its
own.

Bob Wright - MVS Service Aids
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Question about SVC 109

2006-12-21 Thread Lindy Mayfield
Hello Rob,

I see what you are saying, but one thing that was a bit confusing (after some 
research) was the doc here that says "ESR (type 4) SVC - is type-2".
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2V260/1.4.3.112?SHELF=IEA2BK61&DT=20050713173259

But, I also from that see that I was a bit wrong in what I said:  SVC 109 can 
route to a type-3 or type-4 SVC routine.

So I guess my question here is really this:  If I want to write an SVC routine 
and install it as an ESR SVC (SVC 109) and call it that way, then what type 
should my user-written SVC be?  Type-3 or Type-4, or does it matter?

The doc above says specifically:
ESR (type 4) SVC - is type 2

But I didn't quite understand that.  Seems SVC 109 is a type-2 that only calls 
type-4 SVC's, but that doesn't quit jive for me (yet).  That was my question. 
(-:

Lindy



-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of 
Robert Wright
Sent: Thursday, December 21, 2006 10:34 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Question about SVC 109

Lindy Mayfield wrote on 12/21/2006 15:13:04:

> Can someone please tell me if I have gotten this right? (:
>
> SVC's are numbered from 0 to 255.
>
> From 0 to 199 are reserved for IBM use.
>
> SVC 109 is basically an SVC that can call an SVC from 0 to 255, and
> again IBM has reserved 0 - 199 for their own use.  This in essence
> extends the range of SVC's from 256 to 256*2.
>
> SVC's called by SVS 109 can only be type-4 SVC's.
>
> Why not type-3?  Nowdays, I cannot see any differences between
> type-3 and type-4.  Am I missing something?

SVC 109 is a distinct type-4 SVC in its own right, and it is a middle-man.
By the early 1970s when it was created, IBM was running out of the 128 SVC
numbers that we'd claimed for our own.  SVC 109 was part of the answer.  It
steals one of the GPRs that other type-4 SVCs might want to use as part of
their API and uses its contents as a function code.  The function code
determines which module, in turn, receives control from the middle-man.
The functional module(s) deliver the function(s).  SVC 109 has none of its
own.

Bob Wright - MVS Service Aids
archives at http://bama.ua.edu/archives/ibm-main.html

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


Re: Question about SVC 109

2006-12-21 Thread Edward Jaffe

Lindy Mayfield wrote:

The doc above says specifically:
ESR (type 4) SVC - is type 2

But I didn't quite understand that.  Seems SVC 109 is a type-2 that only calls 
type-4 SVC's, but that doesn't quit jive for me (yet).  That was my question. 
(-:
  


SVC 109 is a type-2 standard SVC routine that performs routing for 
type-3 or type-4 extended SVC routines.


--
Edward E Jaffe
Phoenix Software International, Inc
5200 W Century Blvd, Suite 800
Los Angeles, CA 90045
310-338-0400 x318
[EMAIL PROTECTED]
http://www.phoenixsoftware.com/

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


Re: Question about SVC 109

2006-12-21 Thread Lindy Mayfield
So type-3 or type-4 is the same nowdays?

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of 
Edward Jaffe
Sent: Thursday, December 21, 2006 11:07 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Question about SVC 109

Lindy Mayfield wrote:
> The doc above says specifically:
> ESR (type 4) SVC - is type 2
>
> But I didn't quite understand that.  Seems SVC 109 is a type-2 that only 
> calls type-4 SVC's, but that doesn't quit jive for me (yet).  That was my 
> question. (-:
>   

SVC 109 is a type-2 standard SVC routine that performs routing for 
type-3 or type-4 extended SVC routines.

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


Re: Question about SVC 109

2006-12-21 Thread Thompson, Steve (SCI TW)
-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Lindy Mayfield
Sent: Thursday, December 21, 2006 3:07 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Question about SVC 109

So type-3 or type-4 is the same nowdays?



As I recall, TYPE 3 are single page SVCs, while TYPE 4 may be larger
than 4096 in size.

But for all intents and purposes, they are the same now. But as a
purist, and to prevent some weird and hard to diagnose error, I honor
the difference.

Regard,
Steve Thompson

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


Re: Question about SVC 109

2006-12-21 Thread McKown, John
> -Original Message-
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Edward Jaffe
> Sent: Thursday, December 21, 2006 3:07 PM
> To: IBM-MAIN@BAMA.UA.EDU
> Subject: Re: Question about SVC 109
> 
> 
> Lindy Mayfield wrote:
> > The doc above says specifically:
> > ESR (type 4) SVC - is type 2
> >
> > But I didn't quite understand that.  Seems SVC 109 is a 
> type-2 that only calls type-4 SVC's, but that doesn't quit 
> jive for me (yet).  That was my question. (-:
> >   
> 
> SVC 109 is a type-2 standard SVC routine that performs routing for 
> type-3 or type-4 extended SVC routines.
> 
> -- 
> Edward E Jaffe

And just to confuse things futher, I cannot see any significant
difference between a type 2, type 3, or type 4 SVC. In the past, a type
3 SVC was dynamically loaded from SVCLIB into a transient area (I think
that's what it was called). This area was fixed in size, so a type 3
could not be larger than that (4K?). If you had an SVC which needed to
be larger, you created a type 4 SVC. The only difference between a type
3 and a type 4 was that a type 4 could do an XCTL to another "segment"
of itself (an independant module in SVCLIB). This was a sort of dynamic
overlay structure. Today, a type 3 can be as large as you need, so I see
absolute NO need for a type 4 any more. In fact, the type 3 should be
more efficient because it would not do the XCTL. Both are LPA resident,
so that is the same. A type 2 SVC is NUCLEUS resident (but can now be
loaded as an independant module in SYS1.NUCLEUS). IIRC, the nucleus is
still non-pageable (true?). In the past, I remember some SVCs being type
2 so that they could modify themselves (like do a GETMAIN on the very
first call, and save the address in the SVC's "data" area). As far as I
can see, in today's z/OS environment, everything could be architected as
a type 1, 3, or 6 SVC with no real impact on functionality. If I'm
blowing smoke, please educate me on the advantages of a type 2 (other
than no paging, I guess) or a type 4.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it. 

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


Re: question about SVC 109

2006-12-21 Thread john gilmore

John McKown wrote:



 As far as I can see, in today's z/OS environment, everything could be 
architected as
 a type 1, 3, or 6 SVC with no real impact on functionality. If I'm 
blowing smoke, please
 educate me on the advantages of a type 2 (other than no paging, I guess) 
or a type 4.




and it would be possible to go further.  PC-based schemes could replace all 
SVCs; and they could do so to advantage, but not to great enough advantage 
to justify the use of the resources that would be required to accomplish 
such a conversion.  (The use of an SVC ab initio in a new facility would 
indeed raise questions about the technical judgment of its designer, but to 
say this is not to say that there is any rationale for getting rid of most 
of those we have.)


What was important about SVC 109 was its use a router in the fashion that is 
very well described in Bob Wright's post.


John Gilmore
Ashland, MA 01721-1817
USA

_
Get FREE Web site and company branded e-mail from Microsoft Office Live 
http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/


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


Re: Question about SVC 109

2006-12-21 Thread Robert A. Rosenberg
At 21:13 +0100 on 12/21/2006, Lindy Mayfield wrote about Question 
about SVC 109:



Can someone please tell me if I have gotten this right? (:

SVC's are numbered from 0 to 255.

From 0 to 199 are reserved for IBM use.

SVC 109 is basically an SVC that can call an SVC from 0 to 255, and 
again IBM has reserved 0 - 199 for their own use.  This in essence 
extends the range of SVC's from 256 to 256*2.


SVC's called by SVS 109 can only be type-4 SVC's.

Why not type-3?  Nowdays, I cannot see any differences between 
type-3 and type-4.  Am I missing something?


A Type3-SVC has a Module name of IGC00xxx (for SVC XXX with the 3rd X 
being signed [ie: A-I or X'C0']). A Type4-SVC has the Module Name of 
IGCyyxxx (XXX is the SVC Number and signed as above while the YY is 
the module number - 00 is the base module called via "SVC XXX" while 
any YY not equal to 00 is called by another IGCyyxxx Module). Most 
NEW SVCs are single Module and thus in theory Type3 but most old SVCs 
(Such as OPEN, CLOSE, and others), are still multi-Module and thus 
Type4.


SVC 109 SVCs are all Type4 (even if only one module) but are named 
IGXyyxxx. You call "SVC 109" with yyxxx in R15. Thus if I load 
F'15245' into R15 and issue a SVC 109 it will link to IGX15245. Note 
that there are two other SVCs that do the same thing for Type1 and 
Type2 Extended SVCs.




thanks so much.
Lindy


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


Re: Question about SVC 109

2006-12-22 Thread Lindy Mayfield
Really?  So I got the SVC 109 half wrong then?  Is this correct?

SVC routines go from 0 to 255 with 200 to 255 reserved for users.

SVC 109 routines 0 through 199 are reserved for IBM use.  Otherwise I can go 
from ... 200 to 9?  

Why did you say IGXyyxxx? What is the reason for yy vs ?  I have to admit 
that my references here are mostly Cannatello's book plus IBM docs that I can 
find.

Lindy 

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of 
Robert A. Rosenberg
Sent: Friday, December 22, 2006 5:03 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Question about SVC 109

At 21:13 +0100 on 12/21/2006, Lindy Mayfield wrote about Question 
about SVC 109:

>Can someone please tell me if I have gotten this right? (:
>
>SVC's are numbered from 0 to 255.
>
>From 0 to 199 are reserved for IBM use.
>
>SVC 109 is basically an SVC that can call an SVC from 0 to 255, and 
>again IBM has reserved 0 - 199 for their own use.  This in essence 
>extends the range of SVC's from 256 to 256*2.
>
>SVC's called by SVS 109 can only be type-4 SVC's.
>
>Why not type-3?  Nowdays, I cannot see any differences between 
>type-3 and type-4.  Am I missing something?

A Type3-SVC has a Module name of IGC00xxx (for SVC XXX with the 3rd X 
being signed [ie: A-I or X'C0']). A Type4-SVC has the Module Name of 
IGCyyxxx (XXX is the SVC Number and signed as above while the YY is 
the module number - 00 is the base module called via "SVC XXX" while 
any YY not equal to 00 is called by another IGCyyxxx Module). Most 
NEW SVCs are single Module and thus in theory Type3 but most old SVCs 
(Such as OPEN, CLOSE, and others), are still multi-Module and thus 
Type4.

SVC 109 SVCs are all Type4 (even if only one module) but are named 
IGXyyxxx. You call "SVC 109" with yyxxx in R15. Thus if I load 
F'15245' into R15 and issue a SVC 109 it will link to IGX15245. Note 
that there are two other SVCs that do the same thing for Type1 and 
Type2 Extended SVCs.

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


Re: Question about SVC 109

2006-12-22 Thread Peter Relson
SVC 109 by itself might be said to consist of just a table which identifies
the extended SVC routines. That table is treated the same as a type 2 SVC,
being in the nucleus, and having its name formed by the standard nucleus
SVC convention of "IGC" concatenated to the decimal SVC number.

The extended SVC routine that a user provides are expected to be in LPA
(which is part of the definition of a type 3 / type 4 SVC).

Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Question about SVC 109

2006-12-22 Thread Lindy Mayfield
Hi Peter,

Thanks very much for your answers.  Perhaps I should be more specific about my 
questions:

What is the range of numbers for an SVC routine that is invoked by SVC 109 that 
are reserved for IBM use?

What is the entire range that can be user-written SVC routines that are invoked 
by SVC 109?

Can a user-written SVC routine invoked by SVC 109 be a type-3 or type-4, or is 
it only type-4?  

Surely, if there is a link to the docs that you can point me to where I can 
read this, I'm happy to do the work myself. (-: I just didn't find it (yet).

Happy Holy Days!
Lindy

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of 
Peter Relson
Sent: Friday, December 22, 2006 2:50 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Question about SVC 109

SVC 109 by itself might be said to consist of just a table which identifies
the extended SVC routines. That table is treated the same as a type 2 SVC,
being in the nucleus, and having its name formed by the standard nucleus
SVC convention of "IGC" concatenated to the decimal SVC number.

The extended SVC routine that a user provides are expected to be in LPA
(which is part of the definition of a type 3 / type 4 SVC).

Peter Relson
z/OS Core Technology Design
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Question about SVC 109

2006-12-22 Thread Rob Scott
Authorized Assembler Services Guide - Chapter 25 "User-Written SVC
Routines" 


Rob Scott
Rocket Software, Inc
275 Grove Street
Newton, MA 02466
617-614-2305
[EMAIL PROTECTED]
http://www.rs.com/portfolio/mxi_g2

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Lindy Mayfield
Sent: 22 December 2006 08:06
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Question about SVC 109

Hi Peter,

Thanks very much for your answers.  Perhaps I should be more specific
about my questions:

What is the range of numbers for an SVC routine that is invoked by SVC
109 that are reserved for IBM use?

What is the entire range that can be user-written SVC routines that are
invoked by SVC 109?

Can a user-written SVC routine invoked by SVC 109 be a type-3 or type-4,
or is it only type-4?  

Surely, if there is a link to the docs that you can point me to where I
can read this, I'm happy to do the work myself. (-: I just didn't find
it (yet).

Happy Holy Days!
Lindy

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Peter Relson
Sent: Friday, December 22, 2006 2:50 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Question about SVC 109

SVC 109 by itself might be said to consist of just a table which
identifies the extended SVC routines. That table is treated the same as
a type 2 SVC, being in the nucleus, and having its name formed by the
standard nucleus SVC convention of "IGC" concatenated to the decimal SVC
number.

The extended SVC routine that a user provides are expected to be in LPA
(which is part of the definition of a type 3 / type 4 SVC).

Peter Relson
z/OS Core Technology Design

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


Re: Question about SVC 109

2006-12-23 Thread Peter Relson
SVC 109 routines 0 through 199 are reserved for IBM use.
200 to 255 are available for users, not 9.

Peter Relson
z/OS Core Technology Design

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


Re: Question about SVC 109

2006-12-23 Thread Warner Mach
The discussion about SVC 109 got me curious, so I did a 
search on Google. Good writeup on SVC's and routing
and associated issues at:

http://www.goldisconsulting.com/SVC.swf
 

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


Re: Question about SVC 109

2006-12-23 Thread Rick Fochtman

--

The discussion about SVC 109 got me curious, so I did a 
search on Google. Good writeup on SVC's and routing

and associated issues at:

http://www.goldisconsulting.com/SVC.swf
 


--
Having just finished reading this paper, I must recommend it most 
highly, not just for information about SVC Routers, but to help 
understand better the processes involved in auditing SVC's and the 
implications of carelessness or apathy. Good stuff here, folks.


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


Re: Question about SVC 109

2006-12-23 Thread Lindy Mayfield
How do you audit it?  

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Rick 
Fochtman
Sent: Saturday, December 23, 2006 6:33 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Question about SVC 109

--

>The discussion about SVC 109 got me curious, so I did a 
>search on Google. Good writeup on SVC's and routing
>and associated issues at:
>
>http://www.goldisconsulting.com/SVC.swf
>  
>

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


Re: Question about SVC 109

2006-12-23 Thread Rick Fochtman

Lindy Mayfield wrote:


<>How do you audit it?


The discussion about SVC 109 got me curious, so I did a 
search on Google. Good writeup on SVC's and routing

and associated issues at:

http://www.goldisconsulting.com/SVC.swf


---
You really need a tool that will display the SVC table(s), such as 
SHOWZOS or CA-EXAMINE. I recommend SHOWZOS. You also really should have 
a mechanism to display the first few bytes of the modules that are 
identified; IPCS can do it if you're looking at the active system. And 
you need enough control over your security system so that any updates 
and/or additions to you operating system can be very closely monitored. 
The IMON tool from Greg Price is also a very good way to check this out. 
As Mr. Goldis points out, it really needs to be a real-time examination, 
as opposed to a simple PARMLIB check.


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


Re: Question about SVC 109

2006-12-23 Thread Rick Fochtman

---


SVC 109 routines 0 through 199 are reserved for IBM use.
200 to 255 are available for users, not 9.
 



Peter, if that's the case, why are so many vendors using slots in the 
0-199 range for their own "goodies"? or are they using slots for 
obsolete products that are no longer supplied or supported by IBM?


When are you folks going to allow (E)SPIE to process MONITOR CALL 
instructions? :-) Could allow for some wonderful debugging tools; why 
should GTF be the sole user?


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


Re: Question about SVC 109

2006-12-23 Thread Shmuel Metz (Seymour J.)
In <[EMAIL PROTECTED]>,
on 12/21/2006
   at 09:13 PM, Lindy Mayfield <[EMAIL PROTECTED]> said:

>Can someone please tell me if I have gotten this right? (:

>SVC 109 is basically an SVC that can call an SVC from 0 to 255, 

It's an extended SVC router (ESR); the routines that it calls are
logically part of the ESR rather than SVC routines in their own right.

>SVC's called by SVS 109 can only be type-4 SVC's.

They can 't be SVCs at all.

>Why not type-3? 

The ESR routines aren't type anything.

>Nowdays, I cannot see any differences between type-3 and type-4.

Back in OS/360 days the difference was only documentation, not
functional. A type 3, or even a type 2, SVC could do an XCTL and it
would work just fine.

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


Re: Question about SVC 109

2006-12-23 Thread Shmuel Metz (Seymour J.)
In <[EMAIL PROTECTED]>,
on 12/21/2006
   at 03:15 PM, "McKown, John" <[EMAIL PROTECTED]> said:

>And just to confuse things futher, I cannot see any significant
>difference between a type 2, type 3, or type 4 SVC.

What are the most important three factors in real estate? The
difference is location. Type 2 is in the nucleus, and thus external
symbols in the nucleus will be resolved at IPL time. Types 3 and for
are in the LPA list and external references can only be resolved at
link/bind time.

>In the past, a type 3 SVC was dynamically loaded from SVCLIB into a
> transient area (I think that's what it was called). 

Yes. Likewise type 4.

>This area was fixed in size, so a type 3 could not be larger than
>that (4K?).

1 kiB in OS/360, 2 in OS/VS1.

>The only difference between a type 3 and a type 4 was that a type 4
>could do an XCTL to another "segment" of itself (an independant
>module in SVCLIB).

That was a documentation difference; the Supervisor actually supported
XCTL from types 2, 3 and 4.

>IIRC, the nucleus is still non-pageable (true?).

Aren't there both pageable and nonpageable csects in the nucleus these
days?

>As far as I can see, in today's z/OS environment, everything could
>be architected as a type 1, 3, or 6 SVC with no real impact on
>functionality.

No. You need type 2 to resolve references to other nucleus symbols.

>If I'm blowing smoke, please educate me on the advantages of a type 2
>(other than no paging, I guess) or a type 4.

Over what? The advantage of type 2 over 3 or 4 is as above. The
advantage over type 1 is that you can issue other SVCs.

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


Re: Question about SVC 109

2006-12-23 Thread Shmuel Metz (Seymour J.)
In <[EMAIL PROTECTED]>, on 12/21/2006
   at 10:03 PM, "Robert A. Rosenberg" <[EMAIL PROTECTED]> said:

>Most NEW SVCs are single Module and thus in theory Type3 but most 
>old SVCs (Such as OPEN, CLOSE, and others), are still multi-Module 
>and thus Type4.

I don't know about most, but OPEN, CLOSE and EOV were restructured as
part of the original AOS2 (OS/VS2) development; the WTG table uses
addresses rather than TTRs.

>SVC 109 SVCs are all Type4 (even if only one module) but are named 
>IGXyyxxx.

Those are ESR routines rather than SVC routines.

>You call "SVC 109" with yyxxx in R15.

No, just yy.

>Thus if I load F'15245' into R15 and issue a SVC 109 it will link 
>to IGX15245.

No, but load if you load F'15' into R15 and issue a SVC 109 it will
link to IGX15109.

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


Re: Question about SVC 109

2006-12-23 Thread Shmuel Metz (Seymour J.)
In <[EMAIL PROTECTED]>,
on 12/22/2006
   at 11:28 AM, Lindy Mayfield <[EMAIL PROTECTED]> said:

>SVC 109 routines 0 through 199 are reserved for IBM use.  Otherwise I
>can go from ... 200 to 9? 

No; the ESR number goes from 0 to 99.

>Why did you say IGXyyxxx? 

The xxx is the SVC number, in this case, 109.


In <[EMAIL PROTECTED]>,
on 12/22/2006
   at 02:06 PM, Lindy Mayfield <[EMAIL PROTECTED]> said:

>What is the entire range that can be user-written SVC routines that
>are invoked by SVC 109?

SVC 109 does not invoke user-specified SVC routines, it invokes ESR
routines.

>Can a user-written SVC routine invoked by SVC 109 be a type-3 or
>type-4, or is it only type-4? 

SVC 109 cannot invoke a user-written SVC routine, so there is no SVC
type to worry about.


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


Re: Question about SVC 109

2006-12-25 Thread Shmuel Metz (Seymour J.)
In <[EMAIL PROTECTED]>, on 12/23/2006
   at 06:32 PM, "Shmuel Metz (Seymour J.)"
<[EMAIL PROTECTED]> said:

>No; the ESR number goes from 0 to 99.

My appologies; I recalled the naming convention as having been
IGXxx109 for SVC 109 with R15=xx, but in fact it seems to be IGX00xxx.
 
-- 
 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 [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html