proc userproc

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.

Posts: 1

Re: proc userproc

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:

Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation