>I would like to know if there is any question to view SVC in use if it is 
added dynamically ?

Locating a "module" in some system data set will not in general indicate 
if an SVC is "in use" (imagine if the module was added after the IPL 
completed) although for "normal" things, during IPL, the system will 
attempt to locate each SVC module by name according to the naming 
convention and, if found, set the SVC table entry appropriately.

There are probably nicer ways, but if your have access to IPCS "active", 
then you could look at the SVC table itself to answer the question.

Nucleus entry SVCTABLE has 8-byte entries for each SVC. 0-origin. The 
first 4 bytes of each entry are the pointer-defined entry point address.
An entry that is not in use will point within CSECT IEAVESVC, to entry 
IGCERROR.

The entry for each extended SVC (such as SVC 109) points to a table. That 
table has similar 8-byte entries but starts with an 8-byte header, where 
the number of entries in the table is in the 2nd word of the header (maybe 
it's just in the last byte of the 2nd word, I didn't check). An entry that 
is not in use will point within CSECT IEAVESVC, to entry IGXERROR.

Peter Relson
z/OS Core Technology Design


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

Reply via email to