At 22:15 +0100 on 12/23/2010, Lindy Mayfield wrote about Re: Authorized Rexx Assembler Function:

Why on earth would one write an SVC to put an address into authorized state when the SVC can do authorized stuff already.

Because it is "simpler" to have a single function SVC to authorize the caller so that the caller can do what it needs to be authorized to do then to do all the different things that the caller needs to do in the SVC. This is why you write different programs than have a single "one size fits all" program that does everything.

Note: I am not agreeing with the need for the Magic SVC but only answering your query about what use it can serve. It bypasses the need to go through the hassle and paper work to get the processing program APF-Authorized and placed into an APF authorized library (all the Magic SVC does is place the program in the same site as it would be if linked and loaded as APF Authorized [ignoring any SubPool or Key differences).

As to the need for a Magic SVC, I may be wrong but I have a vague memory of an IBM supplied program (possibly in the MVS days) that had (or needed) a Magic SVC to do one of its functions. I am flashing on it being ISPF and the need to call IEBCOPY to compress/copy PDSs although this impression of who it was may be wrong.

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