BookmarkSubscribeRSS Feed
elwayfan446
Barite | Level 11

Hello everyone,

 

I have searched and searched for a resolution to my problem but none of the information I am finding is working.  I am trying to create a scheduled task to run a SAS EG project.  However, the task that is created fails to run the generated .vbs file.  I get an "object required" error.

 

"Microsoft VBScript runtime error: Object Required"

 

I have tried the following solutions with no luck.

 

http://blogs.sas.com/content/sasdummy/2011/05/03/using-sas-enterprise-guide-to-run-programs-in-batch...

https://stackoverflow.com/questions/29663480/windows-task-scheduler-run-vbscript

http://support.sas.com/kb/35/654.html

 

I have also made sure the eg .exe is registered.

 

If I run a command file manually that points to the .vbs file, it runs fine.  I just can't get it to work in any task scheduler I try.

1 REPLY 1
elwayfan446
Barite | Level 11

Also, I currently use SAS EG 6.1, 64bit and I have a 64bit Windows 10 machine.

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
  • 1 reply
  • 1156 views
  • 0 likes
  • 1 in conversation