BookmarkSubscribeRSS Feed
ViruB
Calcite | Level 5

Hi,

I managed to schedule a EG project. Problem is with the parameters in the project.

When i run the project (as vbscript) the parameters are filled with the defaults. How can i fill the parameters as something else by changing the VBscript? I cant see the parameter/prompt names...

How can i give it to the VBscript in a batch file?

1 REPLY 1
DF
Fluorite | Level 6 DF
Fluorite | Level 6

Have a look at example 2 from this page: http://support.sas.com/kb/40/781.html .

It sets the parameter objects to certain values before running code, and you should be able to use it as a starting point. 

This page http://support.sas.com/documentation/onlinedoc/guide/ has a download (albeit for EG 4.1) that outlines the object model EG uses, but should let you see the other variables available for each object (e.g. the Parameter name or default value, etc.).

I've never really had to do this level of automation beyond some minor tinkering, so I don't have anything pre-written that you could base this on, but hopefully the above should give you a start (unless of course someone else has some pre-written code for you!).

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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