Genmod error in 9.2

  • Follow


Hi
A while back I posted an error with genmod under V9.2 (see below)
After a bit more investigation I have determined its to do with the
amount of missing data in the class variables. If I exclude all the
missing data with a where statement it works OK. There is a related
SAS note about this here:
http://support.sas.com/kb/17/116.html
R

Original post:

Hi
I'm getting an error below  in GENMOD under V 9.2.
ERROR:  Write Access Violation In Task [ GENMOD ]
Exception occurred at (4166E8E3)
Task Traceback
Address   Frame     (DBGHELP API Version 4.0 rev 5)
4166E8E3  07C7E3CC  sasgenmo:mcn_main+0x6D8E3
4166B0B1  07C7E3DC  sasgenmo:mcn_main+0x6A0B1
4164738B  07C7E768  sasgenmo:mcn_main+0x4638B
416013D5  07C7FF8C  sasgenmo:mcn_main+0x3D5
015A27C8  07C7FFA0  sashost:Main+0xC204
0168D038  07C7FFB4  sashost:Main+0xF6A74
7C80B729  07C7FFEC  kernel32:GetModuleFileNameA+0x1BA

The identical code below runs perfectly in 9.1.3
proc genmod data = long.sam2 descending;
  class  idalias time  trans      /param=ref;
model gpvisits=time trans / dist=bin link=logit type3;
repeated subject=IDalias/ ;

Removing the CLASS option PARAM=REF seems to fix it.

Anyone seen this?
0
Reply richard.hockey (93) 12/14/2009 6:00:18 AM

On Dec 14, 4:00=A0pm, Richard <richard.hoc...@gmail.com> wrote:
> Hi
> A while back I posted an error with genmod under V9.2 (see below)
> After a bit more investigation I have determined its to do with the
> amount of missing data in the class variables. If I exclude all the
> missing data with a where statement it works OK. There is a related
> SAS note about this here:http://support.sas.com/kb/17/116.html
> R
>
> Original post:
>
> Hi
> I'm getting an error below =A0in GENMOD under V 9.2.
> ERROR: =A0Write Access Violation In Task [ GENMOD ]
> Exception occurred at (4166E8E3)
> Task Traceback
> Address =A0 Frame =A0 =A0 (DBGHELP API Version 4.0 rev 5)
> 4166E8E3 =A007C7E3CC =A0sasgenmo:mcn_main+0x6D8E3
> 4166B0B1 =A007C7E3DC =A0sasgenmo:mcn_main+0x6A0B1
> 4164738B =A007C7E768 =A0sasgenmo:mcn_main+0x4638B
> 416013D5 =A007C7FF8C =A0sasgenmo:mcn_main+0x3D5
> 015A27C8 =A007C7FFA0 =A0sashost:Main+0xC204
> 0168D038 =A007C7FFB4 =A0sashost:Main+0xF6A74
> 7C80B729 =A007C7FFEC =A0kernel32:GetModuleFileNameA+0x1BA
>
> The identical code below runs perfectly in 9.1.3
> proc genmod data =3D long.sam2 descending;
> =A0 class =A0idalias time =A0trans =A0 =A0 =A0/param=3Dref;
> model gpvisits=3Dtime trans / dist=3Dbin link=3Dlogit type3;
> repeated subject=3DIDalias/ ;
>
> Removing the CLASS option PARAM=3DREF seems to fix it.
>
> Anyone seen this?

Further info:
It appears that only the first obs has to have missing values for the
class variables for this error to occur. (thanks to Srinivas for this
info).
R
0
Reply Richard 12/14/2009 9:51:27 PM


On Dec 15, 7:51=A0am, Richard <richard.hoc...@gmail.com> wrote:
> On Dec 14, 4:00=A0pm, Richard <richard.hoc...@gmail.com> wrote:
>
>
>
> > Hi
> > A while back I posted an error with genmod under V9.2 (see below)
> > After a bit more investigation I have determined its to do with the
> > amount of missing data in the class variables. If I exclude all the
> > missing data with a where statement it works OK. There is a related
> > SAS note about this here:http://support.sas.com/kb/17/116.html
> > R
>
> > Original post:
>
> > Hi
> > I'm getting an error below =A0in GENMOD under V 9.2.
> > ERROR: =A0Write Access Violation In Task [ GENMOD ]
> > Exception occurred at (4166E8E3)
> > Task Traceback
> > Address =A0 Frame =A0 =A0 (DBGHELP API Version 4.0 rev 5)
> > 4166E8E3 =A007C7E3CC =A0sasgenmo:mcn_main+0x6D8E3
> > 4166B0B1 =A007C7E3DC =A0sasgenmo:mcn_main+0x6A0B1
> > 4164738B =A007C7E768 =A0sasgenmo:mcn_main+0x4638B
> > 416013D5 =A007C7FF8C =A0sasgenmo:mcn_main+0x3D5
> > 015A27C8 =A007C7FFA0 =A0sashost:Main+0xC204
> > 0168D038 =A007C7FFB4 =A0sashost:Main+0xF6A74
> > 7C80B729 =A007C7FFEC =A0kernel32:GetModuleFileNameA+0x1BA
>
> > The identical code below runs perfectly in 9.1.3
> > proc genmod data =3D long.sam2 descending;
> > =A0 class =A0idalias time =A0trans =A0 =A0 =A0/param=3Dref;
> > model gpvisits=3Dtime trans / dist=3Dbin link=3Dlogit type3;
> > repeated subject=3DIDalias/ ;
>
> > Removing the CLASS option PARAM=3DREF seems to fix it.
>
> > Anyone seen this?
>
> Further info:
> It appears that only the first obs has to have missing values for the
> class variables for this error to occur. (thanks to Srinivas for this
> info).
> R

BTW I'm using 9.2 TS2M0
R
0
Reply Richard 12/14/2009 9:54:08 PM

2 Replies
527 Views

(page loaded in 0.066 seconds)

Similiar Articles:













7/23/2012 12:52:14 PM


Reply: