Tidal Scheduler Command line issue

I am unable to pass command parameters with quotes (I need quotes also to be stored in command parameters). The SACmd.exe is not displaying any quotes when Command parameters are passed. I need quotes because I am calling FTP script in Command and source and destination in command parameters. Example is below:
Command : frppro.exe
Command parameters should be:  -s "Shared Path!Source" -d "C:\program files\".
But i am unable to get quotes in command string. Is this a command line issue or let me know is there anyway to get quotes too from command line.

Try the "fix" I documented at
http://blog.configmgrftw.com/two-osd-application-install-issues/
Jason | http://blog.configmgrftw.com

Similar Messages

  • Acroread command line issue nUp and a custom page size

    When I use the dialog box with the settings I need - It works fine..
    Using acroread 9.5.5 on a Linux box.
    Does not work in command line with -toPostScript -nUp 6 4 0 -size=1296x1440 -pairs <file_name>.pdf <out_file_name>.ps
    If I choose size=legal or size=tabloid the resulting ps has reduced size pages and does flow correctly but
    I want to use Large Paper 18"x20" and not downsize the original PDF input files.
    Basically placing the images side by side

    Were you ever able to get it to print on large paper?  I'm facing a similar issue.  A pdf with page size 11x17 but when I run it thru acroread it changes the page size to 8.5x11. 

  • Command Line Issue

    Hey All,
    This batch file works:
    d:\oracle\BIToolsHome_4\bin\dis51usr.exe /connect userid/password@database /opendb BatchTest /sheet 2010 /batch /export HTML d:\batchtest
    but this one does not:
    d:\oracle\BIToolsHome_4\bin\dis51usr.exe /connect userid/password@database /opendb "00000 Workbook Analysis Begininng 01 Jan 2009" /sheet ALL /batch /export HTML d:\batchall
    The first batch file executes only ONE worksheet and exports the output to a file successfully. The second batch file executes ALL sheets in the workbook but does not produce the output file. Its execution does not produce any error messages but no output is generated. Removing the '/batch /export HTML d:\batchall' commands opens Discoverer Desktop and executes all worksheets successfully.
    I guess I am just being a silly goose but I cannot find the problem. Any help towards solving the problem will be appreciated.
    Thanks,
    Jerre

    Hi Jerre
    Interesting indeed. The export command, taken from my book, is as follows:
    /export <format><export-file-name> This exports the results of executing a worksheet to the file named, in the format specified. If you do not specify a worksheet on the command line, Discoverer exports the results from the active worksheet. If you nominate /sheet ALL on the command line, Discoverer exports all of the worksheets in the workbook and names the output files as <file><sheet-name>.<ext>, identically to the behavior of the Export Data command.
    First of all, because you are using the ALL sheets switch the file name has to be unique and cannot be named the same as a folder. Do you happen to have a folder named batchall? That would cause a problem.
    Next, I am wondering if there is something with the sheet names that could be causing the issue. Can you take a look at the sheet names and see if there are any characters that might cause an issue? As a test, try renaming the sheets to all one word with underscores.
    Best wishes
    Michael

  • Setup a printer from command line issues

    I have been trying to figure out why my arguments are not working. I was originally creating a .bat file with the PrinterUIEntry commands, but I was getting an "Invalid Argument" error. I switched to the cscript method and I am still not understanding
    why it get errors on the driver install and printer install. The user of the created batch file will be non-IT users. I want to send a package with them with the unzipped printer drivers and install using the .inf file. I can't seem to get it
    working properly and don't want to waste more time trying to figure out what is wrong. Any help would be appreciated. Thanks!
    ====First method attempted====
    rundll32 printui.dll,PrintUIEntry /ia /c\\L638 /l "C:\Temp\NC Print Drivers\dellopd_A06\dellopd.inf"
    ----Error read "Invalid Arguments"
    rundll32 printui.dll,PrintUIEntry /if /c\\L638 /f "C:\Temp\dellopd_A06\dellopd.inf" /b"Dell 5210n" /u /r "IP_192.168.10.157"
    ----Error read "Invalid Arguments"
    =====Current method====
    cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prnport.vbs -a -r IP_192.168.10.157 -h 192.168.10.157
    ----This creates the port just fine, no errors
    cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prndrvr.vbs -a -i "C:\Temp\dellopd_A06\dellopd.inf" -h "C:\Temp\dellopd_A06"
    ----Error reads "Unable to add printer driver Error 0x80041008"
    cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs -a -p "Dell 5210n" -r "192.168.10.157"
    ----Error reads "Unable to add printer Dell 5210n Error 0x80041008 invalid parameter
                              Operation PutInstance
                              Provider CIMWin32
                              Description
                              Win32 Error Code"

    Hi,
    Would you please try following commands?
    Please don't add quotes on the inf file path: change the driver folder name NC Print Drivers as NCPrintDrivers.
    rundll32 printui.dll PrintUIEntry /if /f C:\Temp\NCPrintDrivers\dellopd_A06\dellopd.inf /r "192.168.10.157"
    Make sure to run the command as admin.
    Let me know if it can work fine.
    Kate Li
    TechNet Community Support

  • Security command-line issue in Yosemite

    I have a script that sets up a printer and a keychain password using the Security and lpadmin commands.  It works fine with OS X 10.6 to 10.9 but the update to Yosemite has flummoxed it.  There have been changes to the lpadmin command that I have managed to fix (by changing the order of the switches) but can't find any information on what has changed for the Security command.
    The Security command that previously worked goes like this:
    security add-internet-password -a ‘<user name>’ -s ‘<server name>’ -w <password> -D 'Network password' -p ‘<queue name>’ -r 'smb ' -T /System/Library/CoreServices/NetAuthAgent.app/Contents/MacOS/NetAuthSysAgent -T group://NetAuth -U
    Previously, the command would have exited normally and returned to the command prompt but now it exits to a '>' cursor as if it's waiting for something else.  I've tried inputting other switches at this point but it doesn't seems to help and only pressing ctrl-c to exit it gets me out.  The man page for Security  doesn't seems to shed any light on it and changing the switches around doesn't seem to help either as even cutting out most or all of them results in this happening again.
    Does anyone have any ideas what the problem might be?

    Getting > can also indicate unbalanced quoting.  The > coming from the shell prompting for the rest of the command until the final quote is entered.
    You can figure out if it is 'security' internally prompting, or the shell prompting by giving the PS2 variable a unique value.  Then if it is the shell prompting, you will see your unique value, and know that it is an unbalanced quote situation
    PS2="The Shell Wants More> "
    security add-internet-password -a ‘<user name>’ -s ‘<server name>’ -w <password> -D 'Network password' -p ‘<queue name>’ -r 'smb ' -T /System/Library/CoreServices/NetAuthAgent.app/Contents/MacOS/NetAuthSysAgent -T group://NetAuth -U

  • 10.5.7 softwareupdate command-line issue

    Hello,
    I started to update from 10.5.6 to 10.5.7 via ssh, worked fine for iTunes, but when it came to 10.5.7 got stuck @ 20, disconnected me from ssh.
    From then I get 2 stupid errors:
    1. Since then when I try to connect via ssh to osx server I get,
    "Received disconnect from Serverip: 2: Too many authentication failures for username."
    2. In serveradmin > system log I get TONS of errors since then... this is the most agressive,
    "May 19 03:28:47 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:28:48 macserver mds[107]: (Error) Import: importer:0x910a00 Importer start failed for 89 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:28:51 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:28:52 macserver mds[107]: (Error) Import: importer:0x910a00 Importer start failed for 89 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:28:55 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:28:56 macserver mds[107]: (Error) Import: importer:0x910a00 Importer start failed for 89 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:28:59 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:00 macserver mds[107]: (Error) Import: importer:0x910a00 Importer start failed for 89 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:03 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:04 macserver mds[107]: (Error) Import: importer:0x910a00 Importer start failed for 89 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:07 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:08 macserver mds[107]: (Error) Import: importer:0x910a00 Importer start failed for 89 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:11 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:12 macserver mds[107]: (Error) Import: importer:0x910a00 Importer start failed for 89 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:15 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:16 macserver mds[107]: (Error) Import: importer:0x910a00 Importer start failed for 89 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:19 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:20 macserver mds[107]: (Error) Import: importer:0x910a00 Importer start failed for 89 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:23 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:24 macserver mds[107]: (Error) Import: importer:0x910a00 Importer start failed for 89 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:27 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:28 macserver mds[107]: (Error) Import: importer:0x910a00 Importer start failed for 89 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:31 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:32 macserver mds[107]: (Error) Import: importer:0x910a00 Importer start failed for 89 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:35 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:36 macserver mds[107]: (Error) Import: importer:0x910a00 Importer start failed for 89 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:39 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:40 macserver mds[107]: (Error) Import: importer:0x910a00 Importer start failed for 89 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:43 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:44 macserver mds[107]: (Error) Import: importer:0x910a00 Importer start failed for 89 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:47 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:48 macserver mds[107]: (Error) Import: importer:0x910a00 Importer start failed for 89 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:51 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:52 macserver mds[107]: (Error) Import: importer:0x910a00 Importer start failed for 89 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:55 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:56 macserver mds[107]: (Error) Import: importer:0x910a00 Importer start failed for 89 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:47 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:48 macserver mds[107]: (Error) Import: importer:0x910a00 Importer start failed for 89 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:51 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:52 macserver mds[107]: (Error) Import: importer:0x910a00 Importer start failed for 89 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:55 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:56 macserver mds[107]: (Error) Import: importer:0x910a00 Importer start failed for 89 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:59 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:29:59 macserver mds[107]: (Error) Import: importer:0x8b5200 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    May 19 03:30:01 macserver mds[107]: (Error) Import: importer:0x910a00 Importer start failed for 89 (kr:268435459 (ipc/send) invalid destination port)
    Thank you for your time.
    George

    Getting a very similar error in my logs, were you able to make any headway with this issue?
    6/17/09 3:05:35 PM mds[22] (Error) Import: importer:0x840a00 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    6/17/09 3:05:39 PM mds[22] (Error) Import: importer:0x840a00 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    6/17/09 3:05:43 PM mds[22] (Error) Import: importer:0x840a00 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    6/17/09 3:05:47 PM mds[22] (Error) Import: importer:0x840a00 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    6/17/09 3:05:51 PM mds[22] (Error) Import: importer:0x840a00 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    6/17/09 3:05:55 PM mds[22] (Error) Import: importer:0x840a00 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    6/17/09 3:05:59 PM mds[22] (Error) Import: importer:0x840a00 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    6/17/09 3:06:03 PM mds[22] (Error) Import: importer:0x840a00 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    6/17/09 3:06:07 PM mds[22] (Error) Import: importer:0x840a00 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    6/17/09 3:06:11 PM mds[22] (Error) Import: importer:0x840a00 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    6/17/09 3:06:15 PM mds[22] (Error) Import: importer:0x840a00 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    6/17/09 3:06:19 PM mds[22] (Error) Import: importer:0x840a00 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    6/17/09 3:06:19 PM mds[22] (Error) Import: importer:0x840a00 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    6/17/09 3:06:19 PM mds[22] (Error) Import: importer:0x840a00 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    6/17/09 3:06:23 PM mds[22] (Error) Import: importer:0x840a00 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    6/17/09 3:06:23 PM mds[22] (Error) Import: importer:0x840a00 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)
    6/17/09 3:06:27 PM mds[22] (Error) Import: importer:0x840a00 Importer start failed for 501 (kr:268435459 (ipc/send) invalid destination port)

  • SQLPlus command line log

    Hi all,
    I am trying to find out how i can search the last # of prompt command line.....meaning what are the last # of command line issue at SQL>
    Does it have anythign to do with the autotrace?
    thanks

    Trying to get a history of the SQL>
    for example;
    SQL> 1
    SQL>2
    SQL>3
    SQL> Clear screen
    How can I get the previous SQL> line statement what was executed?
    Sorry, I am a newbie and still trying to figure out the lingo
    thanks

  • Prevent Startup Form from Loading using Command Line Arguments

    Hi there
    I'm developing a VB.NET windows forms application in VS2013.
    The application will have 2 ways of being executed, one being by the user manually and the other being automated by the task scheduler.
    When executed by the task scheduler, command line arguments will be used so that the application is aware that it is being run automatically and not by a user.
    My problem is that I want the startup form to load when run by a user but I don't want it to load when it is run automatically, I just want to execute code.
    Is it possible to prevent the startup form from loading by using the commandline arguments from the MyApplication_Startup event?
    Cheers

    Hi Aureuz,
    >>Is it possible to prevent the startup form from loading by using the commandline arguments from the MyApplication_Startup event
    It is impossible to accomplish it in the MyApplication_Startup event, we can use Form.Shown event:
    #Form.Shown Event
    http://msdn.microsoft.com/en-us/library/system.windows.forms.form.shown(v=vs.110).aspx
    If we start a form by using the commandline arguments, the count of CommandLineArgs will be above one, if so, use Me.Hide() method to hide this form.
    Private Sub Form1_Shown(sender As Object, e As EventArgs) Handles MyBase.Shown
    Dim args As String() = Environment.GetCommandLineArgs()
    If args.Count > 1 Then
    Me.Hide()
    Else
    Me.Show()
    End If
    End Sub
    You can also uncheck "Enable application framework" on the project properties application tab and select your startup object to a module object:
    Module Module1
    Sub Main()
    Dim args As String() = Environment.GetCommandLineArgs()
    If args.Count > 1 Then
    'Run your background code
    Else
    Dim f As New Form1
    f.ShowDialog()
    End If
    End Sub
    End Module
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Financial Reporting - Exporting Batch for Command Line Scheduling Issue

    Financial Reporting 11.1.2.2
    When I export, a successfully run scheduled batch, for command line scheduling the xml file that is exported only has the following information in it. I think that it is missing alot of information.
    Any ideas what I am doing wrong, if anything?
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <JOB_OBJECT OBJECT_ID="0">
    <DATA_SOURCE_USER_CREDENTIALS DS_PASSWD="" DS_USER_NAME=""/>
    <HR_USER_CREDENTIALS HR_PASSWD="" HR_USER_NAME=""/>
    <OUTPUT_OPTIONS>
    <HTML VALUE="No"/>
    <MHTM VALUE="No"/>
    <PDF EXPORT_PDF_FOLDER_LABEL="" VALUE="Yes"/>
    <SAVE_AS_SNAPSHOT VALUE="No"/>
    <PRINT VALUE="No"/>
    </OUTPUT_OPTIONS>
    </JOB_OBJECT>

    Hi again,
    I am not sure if you can extract the formatting to Excel... I had also issues.
    Can you please try to retrieve the report into Excel via Smartview? Check page 136 of  http://docs.oracle.com/cd/E40248_01/epm.1112/smart_view_user.pdf
    Regards,
    Thanos

  • Scheduling workbooks using the command line

    Hi, can anyone tell me if it's possible to schedule workbooks in Discoverer using the command line interface? If so, could you point me in the direction of any relevant documentation?
    We've got 300+ reports to schedule on a regular basis and it would be useful if we had different options to schedule the workbooks e.g. for batch processing.
    Thanks and regards
    Geoff Butler

    Inspired by your MacOS fix, I went looking to see if their was an easier Windows fix than my 'Repair Bonjour' process. Turns out there might be.
    In the Bonjour 'Program Files' folder, there is an application named 'mDNSResponder.exe' which brings up a DOS dialog. After running this application and then opening iTunes, I had a stable AppleTV-iTunes connection through the evening until I put my computer to sleep.
    I haven't done any thorough testing around this (the kind that Apple should have done before releasing iTunes 7.6), but it does seem to at least temporarily resolve the issue until iTunes is closed again. What would be nice is if this works without having to restart a faulty iTunes session (which the 'Repair' fix doesn't).

  • Execute a job in Tidal from SAP command line

    I am looking for an example of a script to execute from an SAP Unix server command line that will start the execution of a batch job in Tidal???

    Hello Jennifer,
    What version of BusinessObjects Enterprise would you be using?
    There's no out-of-the-box command-line utility for scheduling reports. 
    Options are:
    Schedule using the [BusinessObjects Enterprise SDK|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/BOE_SDK/default.htm] using Java or .NET code
    Schedule using the [Business Process BI|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/WS_SDK/wssdk_portal/doc/wssdk_bpbi_doc.pdf] Web Services.
    One restriction on using the SDK is that it's tested/fully support only in web applications, and not desktop/command-line applications.
    Sincerely,
    Ted ueda

  • Scheduling Report  through  Command Line

    Post Author: gunjesh
    CA Forum: Administration
    Hi All,
              I would like to know how to schedule a  Webi (infoview) report of Bussiness Objects XI Release2    through Command line , Not through CMS.
    Command line options
    1. To schedule a report from CMS but using a command line. What all parameters are needed in order to do this ?
    2. To stop/reschedule a report being refreshed/running at this moment. What all parameters are needed in order to do this ?

    Post Author: sgolby
    CA Forum: Administration
    Did you have any luck finding out how to do this ?   We would like to trigger reports from the command line on demand. (or via an API is fine too)
    Thanks,
    Scott

  • Query runs from command line, but not from scheduler

    We use Control-M to schedule shell scripts to be run on a Solaris server. Some of the scripts have to access an Oracle database and in that case our security team will include the DB user and password in the script, then encrypt it and the sys admin team schedules the encrypted shell script with Control-M. That works fine, but we've been trying to have the DB user and password on a separate encrypted file so that we don't have to ask for file encryption every time it's necessary to modify a script (this is a test environment).
    We have the script at ~/system_name/scripts, the query at ~/system_name/sql and the encrypted file and key at ~/system_name/keys. The SQLPlus call in the script is:
    ${ORACLE_HOME}/bin/sqlplus "`decrypt -a 3des -k ./../keys/key.3des.system -i ./../keys/login.system`"@instance_name <<EOF
    @${DIR_SQL}/TEST_QUERY.SQL
    quit
    EOF
    The security analyst has tested is successfully from command line, but when we schedule it with Control-M the job abends and we get the following in the sysout:
    + decrypt -a 3des -k ./../keys/key.3des.system -i ./../keys/login.system
    decrypt: cannot open ./../keys/key.3des.system
    decrypt: invalid key.
    + /u00/app/oracle/product/11.1.0/db_1/bin/sqlplus @instance_name
    + 0<<
    @/sistemas/hmp/system_name/sql/TEST_QUERY.SQL
    quit
    SQL*Plus: Release 11.1.0.6.0 - Production on Mon May 3 09:41:55 2010
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    SP2-0310: unable to open file "instance_name.sql"
    Enter user-name: SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER|SYSASM}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] [edition=valu\
    e] | /
    SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER|SYSASM}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] [edition=valu\
    e] | /
    Enter password:
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    0000000080
    Any ideas?

    Looks like the command is being split in some way - the connection to sqlplus is being made before it completes the whole string
    It appears to be seeing the @instance_name as a script to execute rather than a db to connect to.
    Is the database on the same server as the script?
    If so, try setting your environment to the correct databsae, so that you can omit the @instance_name part of the syntax and see if it helps
    Also just noticed the failure to open the decrypt script. It would appear uyou are not using a full path name. Have you checked which directroy the scheduled job starts in? You may need to look at running some environment specific scripts first.
    Edited by: LindaA on 05-May-2010 07:43

  • Scheduling BOXI 3 Deski reports through Command Line

    Can we schedule BO XI 3 Deski reports through Command Line.?
    How can we do this?
    Need help Plzzzzzzz!!!!!

    Hi
    you can use the BOE SDK to write a java or .NET program that does this. You can find some examples here:
    http://www.sdn.sap.com/irj/boc/index?rid=/webcontent/uuid/a09374f5-a982-2b10-0297-85c67690b4f2 [original link is broken]
    Regards,
    Stratos

  • Create an Application Object schedule from command line?

    Hi everyone - long-time lurker, first-time poster here.
    Is there a way create an availability schedule for an Application Object via a command line (or any other programmatic method)? The utilities I've obtained from Cool Solutions are great for replicating AOs (Application Objects) and setting certain properties, but none of them seem to have a method of creating a schedule that you would otherwise create within the AO's property book via Availability > Schedule. BTW, we are using Zen 6.5.
    We have a rollout around the corner for which there are several AOs that drive the process, and we are going to have an instance of each of these AOs for every target group (of which there are dozens), and each group will have their own distinct schedule. The schedules are basically going to be "wait until day X to become available and then remain available for the next 2 months".
    For some of the AOs we can use the Schedule Type of Range of days, which is not so terrible to set manually because you just specify a start date and an end date. But most of the AOs must have the Schedule Type of Specified days in order to ensure they do not ever launch during business hours; manually selecting 60 days from the date picker for a single instance is a daunting task, and I shudder at the thought of having to do so for dozens of AO instances.
    I believe that the field in the ZENworks database that corresponds with an Application Object's schedule has a data type of Binary (which may be why there doesn't seem to be an existing solution), but does anyone have any ideas for accomplishing what I'm talking about?
    Thanks in advance,
    Gavin

    Originally Posted by AndersG
    Jeemo,
    > basically going to be "wait until day X to become available and then
    > remain available for the next 2 months".
    >
    Just to clarify, you want:
    Range of days, start date, end date. Nothing fancier than that?
    - Anders Gustafsson (Sysop)
    The Aaland Islands (N60 E20)
    In a perfect world this is what I would like to be able to do:
    For the AOs where we're going to use the "Range of Days" schedule type, be able to specify the start date, end date and also the days of the week when we do not want it to run (or just the days we do want it, if easier).
    For the AOs with the "Specified days" schedule type, we would like to add (or remove) a specific date, and optionally be able to specify that Start Time and End Time that applies to the dates. As for adding multiple dates, I was planning on having a script that enumerates all the dates in our desired range, and for each date in the range it would call the utility with that date passed as a parameter to add it or remove it.
    If all of the above is too much to put together then I would not complain if it is only partially fulfilled. To be honest I would not mind building a mechanism myself that could handle this, it's just that I don't know where to start. I'd be happy to take a crack at it if someone could point me in the right direction for how to send commands to the database (or directory).
    Thank you again for your help.

Maybe you are looking for