How to run form from command prompt

Hi,
How to run a form from command prompt
can anybody suggest me the way
prasanth a.s.

Well, if you are running windows, client server forms 6i, and your form is called 'myform', you could put this into a batch file :-
start ifrun60 module=myform

Similar Messages

  • Compiling form from  command prompt...

    hi all,,
    Can any one tell me, :how to compile a form
    from command prompt..
    It would be appreciable if i can get an answer for this...
    Thanks and regards.

    You could use ORACLE_HOME\bin\ifcmp90.exe ........ (for 9i/10g) or ORACLE_HOME\bin\frmcmp.exe....... (for 10gR2).
    with the option batch=yes

  • Can I change user name after running essbase from command prompt??

    Hi,
    I run essbase from command prompt and during this activity I was asked to give user name and password, but by mistake I put wrong user name and now wolud like to chanege it.
    Is it possible??
    cheers,

    It worked,
    now I was able to connect to easbase from planning, I ve created sample aplication and initialize it but cannot connect to Eas to download data for sample application. After I run the validation there is now only one error displayed:
    Essbase / Essbase Administration Services
    FAILED Web App Availability of web application context (POL-MPIKULSKI 10080, eas)
    Error: com.hyperion.cis.utils.BadResponseCodeException: Bad response code: 404
    Recommended Action: Check application is started
    I tried to start the eas from start>programs>epm system>essbase>administration services>start administration services(java embeded) but it didnt help.
    can I start in in different way??
    cheers,

  • How to Get Input from Command Prompt?

    How can i get input from command prompt like
    C:\
    or linux ?
    (Here's what I use now)
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String line;
    Whlie((line=in.readLine())!= null)
    { System.out.prinln( line) ; }
    IS THERE A BETTER WAY?

    The main method within a java class accepts command line input through a String array.
    In this example args is the String array. You can access the parameters as args[0] for the first parameter, args[1] for the second parameter, etc....
    The usage for the example below would be :
    c:\EDIFormat file1 file2
    Where args[0] would equal file1 and args[1] would equal file2.
    public class EDIFormat {
    public static void main(String[] args) {
              if (args.length < 0) {
                   System.out.println("No Parameters supplied. Exiting....");
                   // open input and output files
                   EDIFiles(args[0], args[1]);
    Hope that helps!

  • Cant See RTF Files in JAR but can when running program from command prompt

    posted August 16, 2005 08:26 AM
    Hi ALL:
    I have a Java Swing APP. It has Menus which displays information through File I/O in a JEditorPane.
    When I run my program from Command Prompt using "java myApp" it shows these RTF Files as it is.
    However when I run them after converting Directory into a Executable JAR FILE, it fails. I get a blank JEditorPane. My RTF files are in the CORRECT PATH, just dont get displayed. Rest of the APP works fine.
    Chetan
    any suggetsions

    posted August 16, 2005 08:26 AM
    Hi ALL:
    I have a Java Swing APP. It has Menus which displays information through File I/O in a JEditorPane.
    When I run my program from Command Prompt using "java myApp" it shows these RTF Files as it is.
    However when I run them after converting Directory into a Executable JAR FILE, it fails. I get a blank JEditorPane. My RTF files are in the CORRECT PATH, just dont get displayed. Rest of the APP works fine.
    Chetan
    any suggetsions

  • How to run Ant from command line in Tarantella env?

    I am getting Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.tools.ant.launch.Launcher error message when I run Ant from tarantella command line. Is this Ant version issue? I can only find Ant with version 1.4.2. Where can I find the correct Ant version (1.6.5) and what class path do I need to specify if I want to run Ant from command line. This works if I run Ant inside of Jdeveloper 11g.
    thanks

    Hi
    What is the correct Java version? What are the steps to rectify the problem?

  • Run midlet from command prompt

    Hi all,
    Can someone please detail me, as to how can I run the midlet from the command prompt directly and whether all kind of midlets (including those which use bluetooth and WMA api's ) can be directly run from the command prompt in windows. Any documentaiton or weblink to this will be appreciated.
    TIA
    -Shishir

    I have got around the issue. Previously I had not mentioned the path initially. But now I am getting an ExceptionInitializerError
    Here is the command again
    C:\Program Files\WTK2.5.1>java -cp .\wtklib\kvem.jar;.\wtklib\kenv.zip;.\wtklib\
    lime.jar;.\apps\Games\bin\Games.jar;.\wtklib -Dkvem.home=. com.sun.kvem.midp.Mai
    n DefaultGrayPhone -descriptor .\apps\Games\bin\Games.jadThe errors are
    Warning: Toolbar resources not found
    java.lang.ExceptionInInitializerError
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at com.sun.kvem.environment.EmulatorInvoker.runEmulatorImpl(Unknown Sour
    ce)
            at com.sun.kvem.environment.EmulatorInvoker.main(Unknown Source)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at com.sun.kvem.environment.JVM.main(Unknown Source)
    Caused by: java.lang.NullPointerException
            at com.sun.kvem.util.ToolkitResources.getString(Unknown Source)
            at com.sun.kvem.midp.MIDP.initMenuActions(Unknown Source)
            at com.sun.kvem.midp.MIDP.<clinit>(Unknown Source)

  • VBScript Runs Correctly From Command Prompt, But Not From SQL Server Agent Job

    I'm trying to run this script on my local machine to do some post-batch cleanup and it doesn't run correctly from the scheduled job (or when I invoke the job).
    Here's the script in question:
    Option Explicit
    Const filePath = "C:\Documents and Settings\jmunn\My Documents\Visual Studio 2008\Logs\"
    Const holdDays = 6
    main
    Sub Main()
    ClearArchive
    End Sub
    Sub ClearArchive()
    Dim fso 'As Scripting.FileSystemObject
    Dim fld 'As Scripting.Folder
    Dim f 'As Scripting.File
    Dim delLogName, delLogOut, delCtr
    Set fso = CreateObject("Scripting.FileSystemObject")
    Set fld = fso.GetFolder(filePath)
    delLogName = filePath & "Nightly Backup - Backup Logs Deleted" & ".txt"
    Set delLogOut = fso.CreateTextFile(delLogName, True)
    delLogOut.WriteLine(delLogName)
    delLogOut.WriteLine("")
    delLogOut.WriteLine("-- The following log files were deleted on " & DateValue(Now()) & " at " & TimeValue(Now()))
    delLogOut.WriteLine("")
    delCtr = 0
    For Each f In fld.Files
    If Left(f.Name, 48) = "Nightly Backup - SQL Server Databases_Subplan_1_" And Right(LCase(f.Name), 4) = ".txt" Then
    If DateDiff("d", f.DateCreated, Date()) > holdDays Then
    delLogOut.WriteLine(f.Name)
    fso.DeleteFile f, True
    delCtr = delCtr + 1
    End If
    End If
    Next
    If delCtr = 0 Then
    delLogOut.WriteLine("No log files were deleted this run...")
    End If
    Set fld = Nothing
    Set fso = Nothing
    delLogOut.Close
    End Sub
    If I put the script in its own file and run it from the command prompt, it runs just fine. If the script runs from the SQL Server Agent job, the for-loop will delete the files correctly, but the filenames
    do not get written to the deletion log file and the counter does not get incremented, so according to the job log, nothing was deleted. Why does the script run differently from each invocation? It can't be a permission thing, the service that logs in has full
    access to the directory and the files do get deleted. Any ideas out there?
    Between this and other outstanding issues, I'm quickly losing faith in SQL Server.  >=o(
    Thanks in advance for your thoughts!
    John
    Version Info:
    Microsoft SQL Server Management Studio      10.0.2531.0
    Microsoft Analysis Services Client Tools      10.0.1600.22
    Microsoft Data Access Components (MDAC)      3.85.1132
    Microsoft MSXML      2.6 3.0 4.0 5.0 6.0
    Microsoft Internet Explorer      8.0.6001.18702
    Microsoft .NET Framework      2.0.50727.3603
    Operating System      5.1.2600
    "A bus station is where a bus stops. A train station is where a train stops. On my desk I have a workstation..."

    Hi
    jrmunn
    i am trying to execute VB script to refresh my excel files.. using Vbscript file through SQL Agent job step.
    i have copied VBscript in a file with the extension RefreshExcel.vbs kept in C:\RefreshExcel.vbs
    Below is the script used inside the file (RefreshExcel.vbs)
    //---Script code-----------------------------------------------------------------
    Dim objXL, objWB
    Dim FileLocation, FileName
    On Error Resume Next
    'lgnConn = 1
    FileLocation = "F:\Reports\Reports"
    Set objXL = CreateObject("Excel.Application")
    objXL.DisplayAlerts = False
    FileName = "ReportFile1.xlsx"
    'MsgBox (FileLocation & "/" & FileName)
    Set objWB = objXL.Workbooks.Open(FileLocation & "/" & FileName)
    objWB.EnableConnections
    objXL.CalculateUntilAsyncQueriesDone
    objWB.RefreshAll
    objXL.CalculateUntilAsyncQueriesDone
    objWB.RefreshAll
    objXL.CalculateUntilAsyncQueriesDone
    objWB.Save
    objWB.Close
    Set objWS = Nothing
    Set objWB = Nothing
    objXL.Quit
    Set objXL = Nothing
    'MsgBox ("Refresh Completed")
    ---------------------------------------------------------------------------------------------------//Script complete
    Now when i am trying to call this script file in SQL agent job step (as you mentioned )
    as Type -cmdExec(OperatingSystem)
    cscript "C:\RefreshExcel.vbs"
    Issue: job step executed succesfully ,,but without performing any refresh on the excel. So i am not understandig what is going wrong. the same script file work when i am calling it through a batch file (window scheuler task). But it doesnt support
    to run the file "when user is not logged in"
    that is why  i want to refresh my excel file through sql agent ,which can be scheduled to any time and cab be run as SQL agent credentials.
    Can you please help me on this ...i have tried all the option but nothing working .. found hope by seeing your solution.
    Thanks in advance.
    Please help me. :-(

  • Running java from command prompt?

    What do I need to be able to run java code from the command prompt? I have J Builder and when I have questions, mainly people give want me to run from command line. When I do so it says it does not know what javac is.

    javac, java etc.. commands are in the j2sdk\bin directory.
    So you have to give PATH to that bin directory in order to use it in command line. Go to the JBuilder installation folder and look for the j2sdk. (JBuilder comes with the j2sdk but the name may vary)
    If you find it, then give the PATH to it's bin directory.
    Or you can download the j2sdk from sun seperately, and give the PATH to its bin directory.

  • RunInstaller fails while running from command prompt

    Hi,
    The runInstaller when run fails from command prompt:
    Starting Installation...
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
    Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /vol2/newtmp/OraInstall2009-05-17_11-02-45PM. Please wait ...Success!
    Done!
    [oracle@saudas oracle]$ Oracle Universal Installer, Version 10.2.0.1.0 Production
    Copyright (C) 1999, 2005, Oracle. All rights reserved.
    Unexpected Signal : 11 occurred at PC=0xF7D617CE
    Function=(null)
    Library=/vol2/newtmp/OraInstall2009-05-17_11-02-45PM/jre/1.4.2/lib/i386/client/libjvm.so
    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.
    I have made a temporary directory logged as root user:
    Then login as root:
    $mkdir /vol2/newtmp
    $chown oracle:oinstall /vol2/newtmp
    $chmod 777 /vol2/newtmp
    Then login as oracle:
    $export TMP=/vol2/newtmp
    $export TEMPDIR=/vol2/newtmp
    Any help will be needful for me
    Thanks and Regards

    user598986 wrote:
    I am using Oracle 10g Server Release 2 64 bitThat's a good start.
    The OS is:Red Hat Linux 64 bit.Which version ?
    Did you set DISPLAY env variable ? Did you set the kernel to the required value ?
    Check again all the prerequisites.
    Nicolas.

  • How to run form in the background from command line

    please can anybody tell me to
    how to run form in the background from command line
    vishal

    Ummm....Oracle Forms is a foreground runtime kind of thing. What you want is a database procedure (or an OS utility - it depends on what sort of processing you want to do in the background).
    Cheers, APC

  • How to run non-customised report from command prompt to gen trace file?

    Hi
    how to run non-customised report from command prompt to gen trace file?
    EBS R12 RUP6.
    RHEL5
    rgrds

    Hi,
    See (Note: 285497.1 - Rwrun.sh Does Not Generate Trace Output Using TRACEOPTS in Command Line) and/or (Note: 737445.1 - R12 Concurrent Requests Run Forever; rwrun Errors REP-50125) for the command you need to use.
    Thanks,
    Hussein

  • New in Oracle Web form 9i : How to run fmx from web and login

    oracle form 9i from web.
    I am new in oracle form 9i (web form). Before I use oracle form client 6i. Just set icon with command (D:\ora6i\BIN\ifdbg60.EXE MYFORM.FMX). The login will be prompt out and user can log in to run many oracle 6i forms from oracle menu. In Oralce form 9i designer, I can open form designer and use run form from IE.
    1. How can I depoly these form with menu to other users.
    2. How can I define the url link to public (Application Server)?
    3. SHould there is any login prompt from web usage.
    Tks.

    solved.

  • Unable to run discoverer report from command prompt

    Hi,
    I'm trying to run the discoverer report from command prompt and i need to schedule the same.
    How could i pass multiple values for the parameters?
    If i don't pass the optional parameters, the parameter screen is getting pop-up? How to skip optional parameters?
    Also, how to pass the data ranges (format for date parameters) ?
    I'm using the below command in command prompt:
    cd/d E:\oracle\BIToolsHome_1\bin
    dis51usr /connect username/password@database /opendb "TIMS-PCJ status Report" /sheet "TIMS observation status report (based on performed date)" /parameter "Test Number" 40351 /parameter "From Date" "01-JAN-2007" /parameter "To Date" "28-FEB-2007" /parameter "Observation Status" C /parameter "Observation Name" "Abdominal Girth" /export HTML "C:\DISCOVERER_REPORT_SCHEDULING\DIS_OUTPUT\PCJStatusOutput11"
    Any one please reply me. Its very urgent.
    Regards,
    Sreedhar

    Hi,
    How could i pass multiple values for the parameters? You should be able to use a comma separated list e.g.
    /parameter "Observation Name" "'Abdominal Girth','Abdominal Girth2'"
    How to skip optional parameters?I don't think you can. You have to supply all parameters and then decode out the parameters you don't need in the workbook.
    how to pass the data ranges You cannot pass a date range. You can pass a start and end parameters. The default format for the date parameters is DD-MON-YYYY but this can change depending on the NLS settings and format of the data item.
    Rod West

  • Cant run a program from command prompt

    i am using eclipse 3.2 for java development.
    programs are running from editor window, but whenever i am trying to run it from command prmpt , i am getting folowing error...
    ..........NoClassDefinitionFound
    how to resolve it...??
    regards
    yogesh g k

    Since there have been a lot of posts from people who fail to compile and run their correct code, I would like to suggest to use ant for building and running! It hides the complexities of specifying the correct paths and a lot it's easier to type
    prompt>ant
    at the command line than
    prompt>javac -d . -cp .;longListOfJarsNeededToRun somePackage/*.java aLotOfOtherFilesToCompile.java
    prompt>java -cp .;longListOfJarsNeededToRun somePackage.someClass
    It takes some time to get familiar with the configuration, but once you get it right, you gain back a lot of your invested time!

Maybe you are looking for

  • How to STOP default two sided printing

    I have a macbook air (2013) and a Canon 8350 all in one laser printer...it ALWAYS defaults to two sided printing and I NEVER want to print two sided as I print for business and have no use for it...I often forget to uncheck it and thus end up wasting

  • How do I add an element in Labview 5.1?

    Hi, I have been using LabView 5.1 for a while but I cannot figure out how to put an element into the diagram portion of the program I am making? Any Suggestions? Thanks Muhammad Asfour

  • Lost windows vista cd that came with laptop

    Hey guys, i own a t500 and i have lost my windows vista cd that came with it. I had planned to reformat my computer. What are my options to get a new copy of this cd? and lets say i wanted to upgrade to windows xp or 7, then which version would I nee

  • RLC circuit AC simulation result does not match transient analysis result at resonant frequency!

    Hi, It is a very basic series RLC circuit. (R=0.1 Ohm, L=10mH, C=100nF) which is excited by a sine wave voltage source (100mV peak, 5032 Hz). AC analysis is in-line with hand calculations and shows a peak current of 1A at 5032.9 Hz. Once we do a tran

  • HT4859 I want to exclude 'Mail' from from iCloud backup.

    I want to reduce the amount of data being backed up on iCloud. So I dont want to backup my mails anymore. But now I cant stop the mails being backed up! Need help! Parvez