Running esscmds on unix

please let me know how to create a batch script for esscmds for automation on unix.

In our environment we use mostly Maxl scripts. The scripts are executed using Unix Korn shell commands. The database administration guide outlines the syntax required. JMS

Similar Messages

  • Does Oracle 8.1.5 Run On Tru64 Unix 5.1

    Does Oracle 8.1.7 Run On Tru64 Unix 5.1
    We plan to upgrade the OS and Oracle in two steps.
    1. First weekend - upgrade the operating system from Tru64 4.0d to Tru64 5.1.
    2. Second weekend - upgrade Oracle from 8.1.5 to 8.1.7
    Questions:
    1. Will Oracle 8.1.5 run successfully on Tru64 5.1 during the one-week transition period?
    2. Does it make any difference if we upgrade the OS to Tru64 5.1a instead of 5.1?
    Thanks in advance,
    Alan Holsted
    Metro, Portland, OR.
    null

    A question along the same lines, does Oracle 7.3.4 run On Tru64 Unix 5.1?
    We plan to upgrade the OS and Oracle in two steps.
    1. Firstly - upgrade the operating system from Tru64 4.0F to Tru64 5.1 (via 5.0A).
    2. Secondly - upgrade Oracle from 7.3.4 to 8.1.7 or perhaps 9.x
    Questions:
    1. Will Oracle 7.3.4 run successfully on Tru64 5.1 during the transition period?
    2. Does it make any difference if we upgrade the OS to Tru64 5.1A instead of 5.1?
    TIA
    Chris

  • Connecting on ODBC to an old installation of 7.1 running on DEC Unix 4.0f

    We are attempting to connect on ODBC to an existing installation of Oracle 7.1.6.2 running on DEC Unix 4.0f, and are facing a problem.
    The TCP/IP adaptor is installed (using CD of Oracle 7.2) and the listener service is running.
    We are unable to connect to the server from our client (client is a PC in windows).
    The error reported is ORA 12500
    Any input will be helpful
    Tx

    The newer technology stacks (e.g. .NET data access) requires higher versions of Oracle, which in turn is not compatible with that old server.
    The long gone Microsoft ODBC for Oracle driver, was built with Oracle7 in mind (but 7.3), but I can't remember ever seeing it with Sql*net v1. In any case you would need to get your hands on a 7.x Client for Windows, which may not be easy, and then you need to get it to install, which probably means you need an old version of Window.
    Even if some combination do exist, you will be far off from supported (or supportable) territory. Why can't you upgrade? Developing a new app for such an old environment seems ver far fetched. Are there no other options available to you?
    Message was edited by:
    orafad

  • How to run forms6i on Unix Machine

    Hi all,
    I have just migrated a form4.5 to form6i. We have character mode application.
    Can anyone give me some idea how to run form6i on unix machine.
    Is it the same way we run form4.5(f45gen xyz.fmb $Path) or bit different
    Thanks
    regds
    Lasily Thomas

    We run some Forms6i character-mode forms on Linux (using "f60run") and just started having some problems after we upgraded our database from 8i to 9i, and especially after applying the latest patch to 9.2.0.4. We get lots of ORA-03113 errors now. We also have problems with at least some calls to server-side (user-written, not built-in) stored functions (not procedures). The Forms compiler crashes on these unless we re-write those function calls to call new wrapper procedures that we wrote (that in turn call the existing functions).

  • How to run script file ( unix script file like ksh or sh file) using Java

    How to run script file ( unix script file like ksh or sh file) using Java Program?.
    I am using the following code snippet to run the simple commands like top or ls ,etc....
    Runtime runtime = Runtime.getRuntime();
    Process proc = runtime.exec("top");
    Thanks In Adavance
    -Siva

    String [] { "ksh" , "-c" , "script", "arg 1", "arg 2", "arg 3"}

  • How to run import from Unix Oracle 8.0.5 database with Windows Oracle client?

    How to run import from Unix Oracle 8.0.5 database via network with Windows Oracle client? Is it possible? When I try to do it Oracle client just hangs... If not which ones are compatible Aix or Solaris to Unix or it must be a Unix client to connect to Unix Oracle database. Thank's for any help.

    Hi,
    In our project we are using this type. Since in this project server in UNIX(DEC) and client is running on windows. We have created a listener which always listen requests from client and doing the according to the request.
    Step1. create a request table, where u are inserting ur request.
    step2. create PRO*C proram, which is listening request on the table. If there is any request, call the imp (executable). This is happening on server side.
    Benifit. U can make a request from cleint and ftp the file client sit.
    Are u interested in more details and code, pls send a mail to me
    ---- Boby Jose Thekkanath
    [email protected]
    Dharma Computers(p) Ltd. Bangalore.
    null

  • HELP - Getting INS0034 Error while running RuntimeAssistant on UNIX

    Hy all,
    hope anyone here can help me.
    The Problem:
    OWB 10.1.0.1.4 is installed on a UNIX Cluster-Server (OS: Solaris 10)
    (I connect remote to the Server via a tunneled ssh connect x-session).
    So, i still have run the reposinst.sh via that connection - No Problem.
    Next step was to create a runtime repository. I started the runtimeinst.sh, the wizzard opened in the GUI and i´ve inserted the SYS passord, ip-adress, Port, sid.
    Then i made a cklick on Next,... and then : INS0034....needs to run on the server where the Database is installed.
    I don´t understand what´s the Problem. The Database is installed on this server.
    The owb Software is installed on this server.
    The owb is in a different oracle Home installed.
    Connect to the Databes is ok.
    I can build a design repository, but the runtimeinst.sh said evrytime : INS0034.
    Where´s my Fault?
    I´ve tried with the IP Adress, with 'localhost',..... The Port and SID is absolutely ok.
    I realy hope anyone can help me, i still looked on so much Sites in the web, and in the Oracle Installation Guide.
    Thanks in Advance
    LoneWolf

    Yes , it does. I might be wrong but, I think the problem comes from stage initalization. Because I check the logs and every thing is ok. My environment is:
    OS: ubuntu 11.10 - 64 bit
    jdk: jdk1.7.0_03 - 32bit
    javafx: JavaFX 2.1 build b17
    Thanks
    sdemirci
    Edited by: sdemirci on 20.Mar.2012 07:19

  • Run report from Unix prompt

    Hi,
    for audit reasons we need to run a report again. Therefore a changed the where-clause of the report. Since the report needs to run on our production system and the prodcution-version of the report can not be changed, I need to run the report from the unix prompt. Can anyone tell me how to run an Oracle reports 2.5 from the uni prompt. We are using Oracle Applications and therefor still on reports 2.5....
    I tried to run the report from the client, but since the report fetches alot of data, my harddrive with 1.7GB of free space ran out of resources. Therefore I can only run the report on the production system (a little bit more resources...).
    Thanks in advance, Roel.

    Hi Roel,
    Go to $ORACLE_HOME/bin directory. You can see the reports executables r25runm - Runtime, r25clim - Client.
    You can run your report like this:
    r25runm report=myreport.rdf userid=scott/tiger@mydb destype=file desformat=pdf desname=myreport.pdf
    (or)
    r25clim report=myreport.rdf userid=scott/tiger@mydb destype=file desformat=pdf desname=myreport.pdf server=myserver
    Please, Change the desformat and destype as per your requirement.
    -Siva B

  • How to access SQL server in oracle running in aix unix?

    Hi all,
    I have oracle database running in IBM AIX OS, and I need to query data in
    SQL SERVER 2000.
    How to do that?
    Is there free Sqlserver ODBC drivers for unix?
    Thanks

    Hi,
    I prefer heterogenous services over ODBC for this!
    I have my notes here, which may help.
    http://www.dba-oracle.com/t_heterogeneous_database_connections_sql_server.htm
    1. Install Oracle ODBC drivers on the server (your local Oracle database) that will access the remote SQL Server database using the database link.
    2. Setup the ODBC connection on the local Oracle database using the Windows ODBC Data Source Administrator
    3. Test the ODBC drivers to ensure that connectivity is made to the SQL Server database.
    4. Ensure that your global_names parameter is set to False.
    5. Configure the Oracle Heterogeneous services by creating an initodbc.ora file within the Oracle database.
    7. Modify the Listener.ora file.
    SID_NAME is the DSN for the remote database.
    ORACLE_HOME is the actual Oracle home file path.
    PROGRAM tells Oracle to use heterogeneous services.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME=Cas30C) -- Enter the DSN on this line
    (ORACLE_HOME = c:\oracle10gdb) -- Enter your Oracle home on this line
    (PROGRAM = hsodbc) ) )
    8. Modify the Tnsnames.ora file. This is the Oracle database installation accessed by the users to connect to the ODBC drivers
    (DESCRIPTION=
    (ADDRESS_LIST=
    (Address=(PROTOCOL=TCP)
    (HOST=
    -- (Server x)
    (PORT=1521))) -- Enter the port on which the server x Oracle installation
    -- is listening
    (CONNECT_DATA=(SID=Cas30c)) - Enter the DSN name
    (HS=OK) -- Enter this value. It tells Oracle to use hetergeneous services
    9. Reload the listener on local Oracle database
    10. Create a database link on the local Oracle installation that accesses the heterogeneous connection, which, in turn, connect to SQL Server.
    11. Run a SQL Server Select statement from the Oracle installation using the database link.
    Hope this helps. . .
    Don Burleson
    Oracle Press author
    Author of “Oracle Tuning: The Definitive Reference”
    http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm

  • Can we create logical/ physical schema by running any script (unix/window)?

    I wish to create logical/ physical schema in oracle data integrator
    by running any windows or preferably unix script.
    is there any method or scripts provided in ODI?

    I think you could insert info into Matser Respository tables:
    Connect info: snp_connect
    Logical Schemas : snp_lschema
    Physical Schemas: snp_pschema
    Or you may write some sql to do this.

  • Run SQL from UNIX

    How could I run sqlplus from an Unix machine?

    If want to Install
    1. Need to Install Oracle Client
    2. Use SQL *PLUS
    or
    If dont want to install
    1. Use iSQLPLUS

  • Maxl/esscmds on unix : hiccups

    im kinda doubtful if the environment variables have to be set in the script if the path is already set in the .profile in essbase.should i set the server ,user and password for eg :server =xyzexport server etc i also feel i have a problem with setting the user as changes are not reflecting in the root.also what is the best way to create a maxl or an esscmd script in unix for scheduling.

    This is an excerpt from a script to enable logins after a nightly archive process:############################################################# Backup the old enable log file and start a new log file. #############################################################mv ${LOG_PATH}/${DB_NAME}_enable.log ${LOG_PATH}/${DB_NAME}_enable.log.bak >${LOG_PATH}/${DB_NAME}_enable.logESSCMD << end_esscmdOUTPUT 1 "${LOG_PATH}/${DB_NAME}_enable.log"IFERROR "quit_scr";LOGIN "${SERVER}" "${USER_ID}" "${USER_PWD}";IFERROR "quit_scr";ENABLELOGIN "${APP_NAME}";:quit_screxit;end_esscmd################################################### Log a message if the script fails at any point ###################################################$COMMON_SCRIPT_PATH/chkstat.sh ${LOG_PATH}/${APP_NAME}_enable.logif [ $? != 0 ]then(and so on)##################################################many of the variables are set in the user's profile as part of the connection, others are set in other places of the script. Because it's Unix, the script doesn't have to have any specific extension, as long as it's been marked as an executable. The syntax here shows how the inline code allows the script to be interpreted and fed to the esscmd processor without creating a separate file.As for scheduling, chron works, other things may work better. That's between you and your support department to work out.Good Luck,-Doug

  • Run .sh in UNIX shell

    Hi everyone,
    I was just wondering if anyone knew how to run a .sh file in the UNIX shell cygwin through LabVIEW.  I will need to open cygwin (I'm guessing through the sysexec.vi) then I need to load the .sh file into it and keep it open.  Does anyone know how I can accomplish this?
    Thanks

    STigmata08,
    For starters, .sh files and cygwin are not something I am familiar with, but for the link below should get you started using cygwin with LabVIEW.
    http://zone.ni.com/devzone/cda/tut/p/id/5412
    Good luck!
    Drew T.
    Drew T.
    NIC AE Specialist

  • How run JInitiator on Unix browser(Netscape)

    Exist some solution o version for running JInitiator on platform Unix (Solaris 2.6 with Netscape 4.7 browser)
    Thanks

    Jinit is windows only - see OTN client platform statement of direction white paper which explaines what you can run on unix.
    Regards
    Grant Ronald

  • Running jar in unix using runtime exec command

    Hi, i want to run a jar in unix with the runtime.exec() command,
    but i couldn't manage to do it
    Here is the code
    dene = new String[] {"command","pwd","java tr.com.meteksan.pdocs.pdf.html2pdf "+ f.getAbsolutePath() + " " + pdfPath};
              System.out.println("Creating PDF");
              FileOutputStream fos = new FileOutputStream(new File(pdfPath));
              Runtime rt = Runtime.getRuntime();
              for(int i = 0 ; i < dene.length ; i++)
                  System.out.println("komut = "+dene);
              Process proc = rt.exec(dene);
              // any error message?
              StreamGobbler errorGobbler = new StreamGobbler(proc.getErrorStream(), "ERROR"); // any output?
              StreamGobbler outputGobbler = new StreamGobbler(proc.getInputStream(), "OUTPUT", fos); // kick them off
              errorGobbler.start();
              outputGobbler.start();
              // any error???
              int exitVal = proc.waitFor();
              System.out.println("ExitValue: " + exitVal);
              fos.flush();
              fos.close();
    when i run this program, the exit value of the process is 0
    can you tell me whats wrong?

    i changed the string to be executed to:
                             dene = new String[] {"sh","-c","java -classpath \"" + Sabit.PDF_TOOL_PATH
                                  + "avalon-framework-4.2.0.jar:" + "" + Sabit.PDF_TOOL_PATH
                                  + "batik-all-1.6.jar:" + Sabit.PDF_TOOL_PATH
                                  + "commons-io-1.1.jar:" + Sabit.PDF_TOOL_PATH
                                  + "commons-logging-1.0.4.jar:" + "" + Sabit.PDF_TOOL_PATH
                                  + "fop.jar:" + Sabit.PDF_TOOL_PATH + "serializer-2.7.0.jar:"
                                  + Sabit.PDF_TOOL_PATH + "Tidy.jar:" + Sabit.PDF_TOOL_PATH
                                  + "xalan-2.7.0.jar:" + "" + Sabit.PDF_TOOL_PATH
                                  + "xercesImpl-2.7.1.jar:" + Sabit.PDF_TOOL_PATH
                                  + "xml-apis-1.3.02.jar:" + Sabit.PDF_TOOL_PATH
                                  + "xmlgraphics-commons-1.0.jar:" + "" + Sabit.PDF_TOOL_PATH
                                  + "html2pdf.jar:\" tr.com.meteksan.pdocs.pdf.html2pdf "
                                  + f.getAbsolutePath() + " " + pdfPath};     
    and it works now ;)
    thanks...

Maybe you are looking for

  • How to connect to wifi prompt with Apple TV?

    To connect to wifi in public locations (e.g., Starbucks, hotels), you often have to click an "I agree" button after selecting the network.  For business presentations in hotels and other venues, I carry an Apple TV with me.  I connect the Apple TV to

  • Is there a way to delete an unused iCloud account?

    Hi! I have bought an used iPhone from a retail store. They have forgotten to detach their iCloud account from the phone, and I realized it today. I have tried contacting them, but they have disappeared, and now I'm stucked on their Cloud. Furthermore

  • PO Lead Time cannot capture the time taken for shipping!

    Dear All I understand that we have PO lead time = PO Processing Time (Working Day) + Planned Delivery Time (Calendar Day) + GR processing time (working day). And this PO lead time will be added on top of my PO Creation Date to defer the actual goods

  • Ff.5 upload error

    we have defined one house bank SCB01, account ID SCB01, G/L 10600120 in FBZP G/L 10600120 is for bank reconcillation purpose. in the bank determination/bank selection/bank accounts of FBZP, I defined SCB01/ check/ USD/SCB01/10600122 for bank subaccou

  • How to avoid report running for all the values in roll up of guided naviga

    Hi Thanks in Advance I have 3 reports on three different pages of a dashboard. (Implemented guided navigation on one column of each report).When I click on value of guided navigation column it guides me to report 2 for that particular value (is promp