BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Sajid01
Meteorite | Level 14

I was planning to automate running SAS EGP to run in batch.
Scheduler calls a power shell script that would run the EG project. The EG log will not be written to any file and the error code would be caught.

The following link gives the error code that SAS program would return when running on batch mode on windows.

http://support.sas.com/documentation/cdl/en/hostwin/69955/HTML/default/viewer.htm#n0d8f2zgsbjtqwn1f3...

Are these codes the same if we run the SAS enterprise guide project in windows in batch mode using power shell script (not VB script).

 

1 ACCEPTED SOLUTION

Accepted Solutions
SASKiwi
PROC Star

@Sajid01 Correct. Those codes are returned regardless of the way you run the SAS program in batch.

 

BTW, PC-based scheduling has other issues. For example network glitches, software updates, someone else being logged on, someone turning it off...the list goes on. Server-based scheduling is inherently more reliable (I'm assuming you have remote SAS servers here) if that is important to you. The downside is having to export your code from EGPs first.

View solution in original post

2 REPLIES 2
SASKiwi
PROC Star

@Sajid01 Correct. Those codes are returned regardless of the way you run the SAS program in batch.

 

BTW, PC-based scheduling has other issues. For example network glitches, software updates, someone else being logged on, someone turning it off...the list goes on. Server-based scheduling is inherently more reliable (I'm assuming you have remote SAS servers here) if that is important to you. The downside is having to export your code from EGPs first.

Sajid01
Meteorite | Level 14
Thanks.
This will be on Windows Server

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 2 replies
  • 1372 views
  • 0 likes
  • 2 in conversation