on 12-13-2010 3:59 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Could you please provide more details on the type of script you are running? Is it a Default Logic script?
Regards,
Santosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
User | Count |
---|---|
14 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.