cancel
Showing results for 
Search instead for 
Did you mean: 

Removing prompt to run scripts

Former Member
0 Kudos

Hi,

I wonder if there is a way to do the following in order to run a script:

1. remove completely the prompt

2. take the "current view- action pane" as the new prompt and coordinate this one to run the script with these parameters (at least taking the time dimension)

Thanx in advance.

Velázquez

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Velázquez,

If you place your script is in the DEFAULT.LGF, then it is executed when you send data from an Input schedule and the scope is restricted to the members in the current view.

Alternately if you want to use Data Manager or custom script file , you will not be able to achieve this as you cannot pass the parameters from current view in this case.

Hope this helps.

Regards,

Shoba

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

I don't know if this is going to be helpful but one way of running scripts with hardcoded prompt values is by using the Selection file. Here you can hardcode the prompt values for which it needs to run and save the .esf file, which is then picked up while running the logic.

Regards,

Santosh

Former Member
0 Kudos

Hi,

Could you please provide more details on the type of script you are running? Is it a Default Logic script?

Regards,

Santosh

Former Member
0 Kudos

Hi,

You can remove all the prompt statement. But you will have to remove the SELECTINPUT statement also. Because SELECTINPUT is the variable which stores the prompt values. However, the problem is to pass the members from CV to DM. And this is not possible.

Former Member
0 Kudos

Nilanjan,

Thanx for your response, in this case, i'd have to hard core every parameter in my script but by the time i run this, my calc is going to be made to every account, every month, every year, etc... and this is something that I want to avoid.

In your experience, is there any other possibility to perform this ?

At least with a command ?

Regards

Velázquez

Former Member
0 Kudos

Hi,

There are basically 2 things.

1. If the script is default, then while sending the data to the database, the members are also passed to the logic. And your logic need not be static.

2. If the logic is not default, then the values has to be passed to the script from the prompt. There is no other way to capture the values of the members, other than keeping them static.

Hope you got the idea.