Write and run SAS programs in your web browser

SAS DI Error

Reply
Occasional Contributor
Posts: 11

SAS DI Error

Dear Friends,

 

I am using Oracle Bulk Loader option for loading in to oracle, but getting following error.

Please help.

 

...ERROR: Insufficient authorization to access /sasconf/Config_Lev1/Lev1/SASApp/BL_STG_CUSTOMER_DTLS_1.ctl.

 

Thanks & Regards,

Prashant.

Super User
Posts: 1,102

Re: SAS DI Error

Dear @sas_pkc1,

 

I would say you need your SAS Admin to grant your user the required access on the filesystem... although I am a bit concerned that your code is writting BL_STG_CUSTOMER_DTLS_1.ctl in that location. You should probably write that file in a separate location that has the appropiate permissions.

Super Contributor
Posts: 406

Re: SAS DI Error

[ Edited ]

By default your workspace server session runs with that location as current working dir. That will give you issues when you (or some underlying code) use relative pathnames as it is not a place any admin will gladly allow you write access, as @JuanS_OCS rightly said.

 

Have a look at SAS Note 50345 that discusses this and proposes a way of dealing with this for once and for all. You will need your trusted SAS admin to implement this.

 

Alternatively you can direct the bulkload files explicitly to a location of your choosing with the BL_* (BL_DATAFILE, BL_CONTROL etc.) dataset options. Refer to the online docs for details.

 

Hope this helps,

- Jan.

Ask a Question
Discussion stats
  • 2 replies
  • 147 views
  • 1 like
  • 3 in conversation