Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SAS & VB6 integration

Status
Not open for further replies.

unifex

Programmer
Joined
Nov 5, 2002
Messages
31
Location
GB
All,

I've been playing with the SAS Integrated Object Manager from VB6 and have created a simple form which submits a proc upload from our mvs system onto out local pc.

It works fine on 3 of the 5 machines i've put it on but on 2 the SAS log reports an "ERROR: Insufficient authorization to access....." for the logon script to our mainframe. In all cases the SAS submitted 'normally' runs fine.

I'm not certain what's wrong. I'm using v 8.2 and i think my colleagues with the issue are running 8.0 or 8.1 so i guess that may be a cause but i wanted to know if there was anyone who'd come across this before.

Thanks
 
Yes! I have the same problem, I'm trying to start a SAS script from the command line like so:

C:\Program Files\SAS Institute\SAS\V8\sas.exe -sysin mycode.sas

and I keep getting "ERROR: Insufficient authorization to access U:\mycode.log."

The annoying bit is, I actually use PROC PRINTO LOG=fileref
in my code!
Exactly why it is trying to use my U: drive I have no idea.

I just put a "CD C:" prior to the SAS command line and it seems ok.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top