proc userproc

Reply
N/A
Posts: 1

proc userproc

I'm trying to create a new user-written procedure for SAS. I have written the grammar and now I am trying to use PROC USERPROC to convert the grammar to something C can recognize. Here is my code:

proc userproc gramfunc=match grammar='<path>/gmatch.grm'

                 funcfile='<path>/tester' incllib='<path to SAS toolkit>/stubgrm.grm';

I have tried several different versions of this, and everytime I get an error message as follows:

ERROR: Physical file does not exist, /tmp/gsysut2.dat.12696.

ERROR: Physical file does not exist, /tmp/gsysut6.dat.12696.

Has anyone run into this problem before or know what's going on? Any help is much appreciated.

N/A
Posts: 1

Re: proc userproc

Posted in reply to honeybuns

I'm using SAS 9.2 and was getting that error until I added the path to the toolkit\sasexe folder to my path. 

In my case it was: C:\Program Files\SAS\SASFoundation\9.2\toolkt\sasexe

See this: http://support.sas.com/techsup/unotes/V6/G/G192.html



Ask a Question
Discussion stats
  • 1 reply
  • 402 views
  • 0 likes
  • 2 in conversation