BookmarkSubscribeRSS Feed
Krohn
Obsidian | Level 7

Hello,

 

Is there a way to deal with this error? it shouldnt return code 0.

The main doubt is the return code and not the error message.

 

The sas code didnt run, the following error message was echoed in the log and its return code was 0.

ERROR: Access denied.

ERROR: Access denied.

 

This code was submitted when the environment wasnt ok.

/example/example/sasgsub -GRIDSUBMITPGM /example/code.sas -GRIDCONFIG /example/sasgsub.cfg -GRIDWAITRESULTS -GRIDWATCHOUTPUT -GRIDJOBNAME code.sas -GRIDSASOPTS '( -nodms -nonews -noterminal -errorabend)' -GRIDJOBOPTS '(-QUEUE=Batch)' -METAPROFILE /example/metadataConfig.xml

 

1 REPLY 1
Patrick
Opal | Level 21

@Krohn

If you're sure that /example/example/sasgsub hasn't received a non zero return code from the SAS job and you're not just looking in the wrong place then I'd contact SAS TechSupport with this issue.  

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 958 views
  • 0 likes
  • 2 in conversation