Mary, It would help us to help you if you could let us know what you are trying to accomplish. There is no reason to write a PC routine if it won't help you to reach your goal.
Incidentally, if you are trying to intercept all GETMAINs, there are many other paths to GETMAIN beside SVC 10, including branch entry GETMAIN (which issues no SVCs at all). And if you change the length of GETMAIN requests, you would also need to change the length of FREEMAIN requests. This whole concept is fraught with peril and pitfalls for the un-initiated. I think such a daunting task would be a challenge even for Ed Jaffe and Chris Craddock. Maybe there is a simpler way to accomplish what you want to do. Tom Harper -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] Behalf Of mary george Sent: Friday, September 09, 2005 4:50 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: pc I basically need to write a simple pc routine first (leave the interception for now). Can you guide me on any source which will give me good start. Binyamin Dissen <[EMAIL PROTECTED]> wrote: On Thu, 8 Sep 2005 23:29:02 -0700 (PDT) mary george wrote: :>I basically have to write an pc routine that would intercept svc 10.The front end program must change the length of the getmain. :>I understand that these are the following steps to be followed :>(pl correct if I am wrong): :>1)wrtie pc routine :>2)code lxres,atset,etdef,etcre,etcont etc... :>3)invoke the pc routine :>As an initial step I need to write the pc routine for interception. :>Could you please guide me sources which would provide me information :>as to how my requirement is to achieved? Your request does not make any sense. Why would you make a PC routine to intercept SVC 10? How do you expect the PC routine to get control? ---------------------------------------------------------------------- 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