Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!UICVM.BITNET!U23379 From: U23379@UICVM.BITNET (Henry Young 312-413-3626) Newsgroups: comp.lang.asm370 Subject: NUCLEUS/USER memory Message-ID: <8907112017.AA22858@jade.berkeley.edu> Date: 11 Jul 89 19:43:12 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: IBM 370 Assembly Programming Discussion List Distribution: inet Organization: The Internet Lines: 22 I have a problem with a program I have written. It is called as a rexx function. The first time the routine is called it nucxloads itself before execution. The routine has to be in the Nucleus because it calls SQLINIT EXEC & RXSQL MODULE. These programs load various routines into memory (USER AND!! TRANSIENT). If I don't then when control is returned my program aborts (it gets overwritten). My problem now is: when control is passed back from SQLINIT EXEC I get an operation exception (in the user area!!). Somehow control is being passed back to a location in the user area..i.e. 208A4 even though my program resides (should) at D000-E000. Any Ideas as to what is going on? Note: I now call SQLINIT2 which is an exec which does a NUCXMAP and then calls the REAl Sqlinit exec and then again does a NUCXMAP. The map says my program is still in the Nucleus. after that the PGM dies! Any suggestions? I have tried everything I can think of. Thanks!, - Henry -