Skip to Content
author's profile photo Former Member
Former Member

Removing prompt to run scripts

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 14, 2010 at 06:01 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 13, 2010 at 06:28 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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.

  • Posted on Dec 14, 2010 at 05:37 AM

    Hi,

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

    Regards,

    Santosh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 14, 2010 at 05:42 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.