Different parameters for different sheets- Command Line Script

Hi,
I am using command line script to run my discoverer report.
I have 5 sheets in the workbook out of which, 2 has a PeriodID parameter, and the other 3 sheets does not have parameters.
Is it possible to execute this scenario.
This is the script i use:
string8 = "C:\oracle\BIToolsHome_1\bin\dis51usr.exe /connect uname/pwd@instance /apps_gwyuid APPLSYSPUB/PUB /apps_fndnam APPS /apps_user /apps_responsibility Resp_Name /opendb workbook /sheet sheet1 /sheet sheet2 /sheet sheet3 /parameter PeriodID 2008004 /sheet sheet4 /parameter PeriodID 2008004 /sheet sheet5 /export XLS file_name /batch"
Your inputs are highly appreciated.
Thanks.

Hi
No, you cannot do this. You have to supply the parameters to each worksheet separately, even though different worksheets may use the same parameter(s).
Best wishes
Michael

Similar Messages

  • Command Line Scripts in File Adapter

    Hi,
    In the file adapter, does the command line script support "PERL" Scripts.
    thanks.
    Krishnan

    YES It will support.
    For clarification check below one.
    /people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi
    FTP channel - not processing files, coz one of the files is wrong,

  • [solved]Command line script to equalise volume levels of all mp3 files

    Hello guys,
    I have a bunch of mp3 files within a folder. Unfortunately they have unequal volume levels. Some of them are far too low, others too loud.
    Is there a simple command line script to equalise all of them?
    Regards
    Robert
    Last edited by orschiro (2012-12-30 17:44:59)

    I remember I found such a script a long time ago. I suppose it still works, here it is http://codepad.org/MLu1iscD. Please tell me if it works for you. By the way, it depends on mp3gain and python2-eyed3.
    ps: As far as I can see, this script doesn't change the mp3 files itself, but stores the new volume in the id3 tag. This means, that you won't corrupt your files in any way, but the player needs to be able to get the volume information and adjust it. The script measures both the album and the track gain. Which one is used can be configured in the player.
    Last edited by Army (2012-12-30 16:39:27)

  • How can i launch firefox AND adds-on (web of trust, http header with options for exemple) in commande line ?

    How can i launch firefox AND adds-on (web of trust, http header with options for exemple) in commande line, on windows ?
    firefoxe... -option? <addon name>?....?

    Does opening this page help: <b>about:addons</b>
    *https://developer.mozilla.org/en/Command_Line_Options

  • How to change the owner of a GPO using command line/script? - More than 200!

    I have more than 200 GPOs on the AD DOmain
    Half of the GPos were created by sveeral different people or are owned by the domain admins
    How can I change all of then, to a new owner, using the more "quick and easy" method?
    there a tool/utility for that? (like icacls.exe/subinacl.exe?)
    There is a VBS function or PS cmdlet?

    Hi,
    How is it going? Are the suggestions provided by the above replied helpful? If you need further help regarding this issue, please don’t hesitate to let us know.
    Besides, for scripts, in order to get better help, we can ask for suggestions in the following scripting forums.
    The Official Scripting Guys Forum
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    Windows PowerShell
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverpowershell
    TechNet Subscriber Support
    If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
    Best regards,             
    Frank Shen

  • Using a variable for a whole command line

    Hi,
    Is it possible to put that commandline:
    Execute-MSI -Action Install -Path "$Var_SourceFiles\$($Itemvar_Setup_Parameter[0])" -transform $Itemvar_Setup_Parameter[1] `
    -Parameters $Itemvar_Setup_Parameter[2]`
    -LogName "$var_PackageLongName"
    in a single variable and then just run the variable instead of writing the whole command line?
    Thanks,

    You can put in a script file and call the script.
    .\myscript.ps1
    You canput it in a variable like this:
    $sb=[scriptblock]::Create('Execute-MSI -Action Install -Path $Var_SourceFiles\$Itemvar_Setup_Parameter[0] -transform $Itemvar_Setup_Parameter[1] -Parameters $Itemvar_Setup_Parameter[2] -LogName $var_PackageLongName')
    $sb.Invoke()
    You cannot pu tit in a variable and run it except.
    Your command also leaves a lot to be desired in a PowerShell session.
    ¯\_(ツ)_/¯

  • How to set plug-in Java Runtime parameters on JRE setup command line

    Hi all:
    I need to install JRE and set the Java Runtime Parameters -Xmx
    by command line ..
    I mean I don't want enter Control panel and set this parameter manually in Java Runtime Parameters textBox..
    thanx.
    Best regards
    w.shiha

    Documentation for controlling the installation is sadly lacking in detail. This is the best I have seen for the Windows environment:
    http://java.com/en/download/help/silent_install.xml
    But, there are numerous other PROPERTY variables that are not discussed. Particularly annoying is the addition of yet another JavaUpdate item with the release of 1.5.0_05. If you can get more information, please post a link to it here.

  • How to create an alias for a custom command line with paramters

    Is it possible to create an icon that runs a terminal command line ?
    What i want to do is start firefox with a specific profile. In terminal this is done by using Firefox -P [profileName]
    How can I put this in an alias (or something else) ?
    I tried creating an alias that changing the original but it won't let me insert a command line.
    Any help ?

    In my .profile this works: alias f="/Applications/Firefox.app/Contents/MacOS/firefox -P doug"
    for starting under my profile. Make sure you run source ~/.profile if you add an alias to .profile
    Starting default FFox profile is /Applications/Firefox.app/Contents/MacOS/firefox -P swxazqvy.default
    And for Desktop icon to start whichever profile, open Script Editor and paste with proper changes(and save as an app(maybe to Desktop again?) :
    do shell script "/Applications/Firefox.app/Contents/MacOS/firefox -P doug"
    And you can make an executable with icon in a bash script with above and chmod u+x it and save to Desktop too.
    Message was edited by: doug pennington

  • How to test ODI Agent - using command line / scripts ?

    We can test ODI scheduler Agent from Topology manager, is there a way to test it using command line options / scripts ?

    Go to <ODI_HOME>/oracledi/bin in command prompt and invoke startscen command with teh below parameters.
    Edited by: Guru Sankar on Feb 28, 2011 4:19 PM

  • MS Access to oracle 10g Migration thru command line/script?

    Hi,
    Is there a command line for executing OWMB?..One of the customers currently using multiple databases of Access DB are interested in migrating to Oracle but they want the migration process to be very simple...For ex: On the click of a button or if there is something like silent mode migration through some command..
    Any help is greatly appreciated.
    Thanks,
    Veena

    Hi Veena,
    There's no command line or silent mode migration facility to run the workbench.
    However, the workbench does that have capability of migrating multiple MDB files in the one operation. Using the Exporter Tool for MS Access, which is shipped as part of the OMWB install, the user can select multiple MDB files to export. For each exported MDB file, an associated XML file is generated by the Exporter tool, which contains the database schema information for the MS Access database. The user can then load up all of these XML files, via a wizard, into the workbench, and carry out their migration. The ability to export & migrate multiple database in the one operation should greatly reduce the customer's migration time.
    I hope this helps.
    Regards,
    Hilary

  • -info XML format for Compressor's command line interface?

    Hi Everyone,
    I've got a brand new copy of Final Cut Studio HD that I'm using for an encoding project. I'm trying to figure out how to use Compressor's command line interface. I want to give it a MPEG-2 file and a .scc (closed caption) file. I can see how to specify the source file, but I'm having trouble figuring out how to specify the SCC file. As best as I can understand, I'm going to need to use the -info <XML> option, but I haven't found any documentation for this. Can someone point me to the appropriate documentation?
    Thanks!
    - Kevin

    I get an error when I do exactly what you suggested. My problem is not if the XSU is able to locate the xml file because I know it is able to parse it since it picks up an error in it such as if I make the "ROW" element "row" - ie small caps instead of big which is not recognised by XSU. I use the url of the xml file as specified when I open the xml file in internet explorer. The XSU does confirm it inserts the document successfully with my original command but the document simply doesn't get inserted into the table. Specifically, if anyone is to insert the xml file I have shown in Oracle, how would it be approached successfully?
    Your help is very much appreciated.

  • Looking for a programmatic/command line approach to auditing registry changes

    http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/regedit_audit_key.mspx?mfr=true
    I'm looking to enable auditing on registry keys, but not have the user have to manually go through this process. Can you do this via command line or something? I'm trying to write this into my program, and I need it to set auditing on certain registry keys.

    Hi,
    In addition, we might enable the following audit group policy settings to audit registry changes:
    Global Object Access Auditing
    Under computer configuration/ Windows Settings/Security Settings/Advanced Audit Policy Configuration/
    For more information regarding Global Object Access Auditing, please see:
    Registry (Global Object Access Auditing)
    Global Object Access Auditing is Magic
    Best regards
    Michael Shao
    TechNet Community Support

  • Looking for the parameter/command line to supply the license key during the installation of Adobe Captive CS6 application.

    Hello - We are performing customize installation for Captive CS6 with the help of AAMEE tool. We have couple of licenses which we wish to supply over the installation command line during deployment. However we did not find any parameter or the command line which will allow us to enter the license key during installation.  Has any one succeed in finding the command line where we can pass the license key during installation of this application?
    Thanks.

    Can you post the last bit of your log file?  100 or so lines should be plenty to see what's going wrong.

  • I need help in creating Firefox profiles directly from command line (script like) without having to use the profile manager step-by-step window

    is there a way to provide command line arguments when invoking profile manager so that I can seamlessly create a profile from one invocation? Passing profile name and profile location. I have to bypass user interaction with profile manager window. Thanks.

    http://developer.mozilla.org/en/docs/Command_Line_Options#User_Profile

  • How do I access a .txt file in Xcode for an OSX command line tool?

    I'm in school learning C and C++, and we have to read from and write to .txt files regularly. But I can't figure out how to open a .txt file in Xcode.
    if FILE *buffer = fopen(filename,"r"); where filename is a pointer to a char array holding the name of the file, it works perfectly fine in the terminal. It compiles, in both Xcode and GCC, but when I try to actually open the file in Xcode, my program can never find it and quits the application (so it doesn't crash).
    Long story short, what do I have to do to get my programs in Xcode to read from a .txt file?
    I tried putting a copy of input.txt in every folder within the project, including it in the source files, adding it to target (which I don't wholly understand), I don't know what to do.

    Make sure the filename has an absolute path. If the path is relative it will point to a different location depending on where you run the program from.
    When you run it from within Xcode itself the binary is buried way inside the project hierarchy (you can see where it is by selecting the program in the  Products folder and doing a Show in Finder).
    The safest bet is to always specify a specific directory for any writes you do.
    regards
    As an example for this program in Xcode (assumoing you will be able to see the images)
    The binary is located here

Maybe you are looking for

  • IPod Classic 120GB

    I have a iPod classic 120GB and itunes isn't syncing all of my music. I have over 5,000 songs. But, once it syncs about 500 of the songs itunes freezes and stops syncing and gives me an error. I have tried changing the music files from MP3 to AAC tha

  • Mod_jk binaries or Studio11 FTP dowload

    I need compile mod_jk.so for Soalris10 and SPARC. So i ma two ways: the sorter: download mod_jk.so for SPARC from somewhere. the longer: install studio11 and then compile. Someone know from where i can download studio11 via FTP ?

  • 5.1.0 sp11 Connection pool refresh issue, revisited....again...!!!

    "Hello, From reading of these newsgroups I've seen many different manifestations of what seems to be the same root cause with connection pools and connections which are refreshed/replaced when found broken. In our case weblogic server hangs. Kit: 2xW

  • Batch Determination in SD - Fixed Storage Type

    Hi, We have enable automatic batch determination at the delivery stage (VL01N). for example: Plant: 1000 Storage Location: 3000 Warehouse number: 300 Storage type in warehouse number 300: 910,911,912, NF1, NF2, NF3 In SD batch determination process i

  • Double Buffer

    Hi all, I've just written this Digital Clock in Java and I'm trying to add a double buffer to it to stop it flickering however I get 4 errors when I try to compile it. Here is the code: (START OF CODE)      import java.awt.*; //puts in abstract windo