Loading a program through terminal

Hi
im not exactly sure what command to use in xterm when i want to load a certain program. how do i go about finding what command to use, to load the program i want?
so far ive figured out that typing in the name of most programs in xterm will then load them, but sometimes this isnt the case
for example, i just installed openoffice and i do not know how to load it (specifically the writer) through the xterm
how do i know what command to use????

thanks for the replies that was quite helpful
but i have a couple of inqueries...
what if I type in "man PKGNAME"
but then there are no manual enteries for a that specific program
for example the package name of open office is  "openoffice-en-GB"
and if i type in "man openoffice-en-GB" nothing comes up
so what do i do if there are no man enteries, what should be my preceeding steps??
also im using openbox  and thunar right now
im trying to get open office to load in my menu, so i opened up obmenu and typed in the execute box "soffice -writer" to load writer but it does not work im not sure what to do, i also went in to the menu.xml manually and tried to change the command as well but it didnt work
Last edited by Kevinn (2010-02-07 23:47:35)

Similar Messages

  • Opening program through terminal on install disc

    okay, so here is my situation: I am booting from the OS X install disc (can't get onto my internal HDD), and then going to Disk Utility (I have external HDD attached), mounting a disk image on the external HDD (the application is also directly on the /Volumes/External HD), and trying to run this program from Terminal on the install disc by changing to the directory, and then doing "open programname", only to find that "open" isn't a command that exists. However, I am pretty sure that is the command. Anyone know how to do this? (the program is a .app btw).

    I've used the open command in Terminal to launch a program which will open the particular file, you add the application option to the open command:
    Tigin:~ francine$ open -a TextWrangler /Users/francine/Desktop/mwindex.html
    You can also open a program in Terminal with the complete path to the program's executable, ie:
    Tigin:~ francine$ /Volumes/Not200/Applications/Utilities/BatChmod.app/Contents/MacOS/BatChmod
    It will only run as long as the Terminal window is open.
    Francine
    Francine
    Schwieder

  • Turn off authenticate to install a program through terminal

    Hello,
    I am trying to install a program called Pearl speaks NONMEM (PsN), an academic open-source program which pairs with another academic program, NONMEM. However, when it get's to the point:
    "mkdir /Library/Perl/5.12/PsN_3_5_3"
    it cut's out, saying "Permission denied". I assume this is because to create folders in Library, it needs me to authenticate, but PsN is not sophisticated enough to cope with authentication. Is there any way I can turn authenticate off briefly to install the program (and then turn it back on again)?
    Thanks for any help!
    Rollo

    I question whether you should be doing this without more shell knowledge, but you can temporarily acquire root privileges from an admin account by prefacing the command with "sudo" and entering your login password when prompted; e.g., "sudo mkdir..." If you make a mistake, there's a very real possiblility of destroying all your data, even including backups under some circumstances.

  • Running Java Program Through Terminal

    Situation in Eclipse:
    package name: test
    class name: example
    I go into the package and after compiling, I do... java example, but I get an error. Then I take it out of the package and it works. How do you do this with the package name?

    Error message:
    Exception in thread "main" java.lang.NoClassDefFoundError: Welcome (wrong name: chapter1/Welcome)
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
            at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)I am in ..eclipse_workspace/my_projects/chapter1 where the compiled classes are.

  • Can i load the cube through an customised abap program??

    Hi all,
    I have loaded the ODS using the customised abap pgrm. is it possible to load the CUBES through the abap program.
    If not what is the reasons for not loading it?
    Thanks
    Pooja

    Hi Pooja,
    For me ..
    I'm afraid to upload directly by program to info cube tables .. Because, i don't know what tables it will be taken into account for uploading ..
    But ..
    If the requirement is to upload it by ABAP Program ..
    I make like this ..
    1. I create the ABAP Program to create .csv files. So all uploaded data will be written into .csv files.
    2. I create info-package, that upload data from file. And i define the path to refer to that corresponding .csv files.
    3. Beside ABAP Program is used to write .csv files, i also use it to trigger the info-package.
    So by that techniques, i'm able to upload data by ABAP Program.
    Hopefully it can help you a lot.
    Regards,
    Niel.

  • Help with Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.

    This was all working yesterday, but this morning, I cannot run in the dev fabric, or even setting the website project as a startup project directly, I get the following error:
    Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.BadImageFormatException: Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Assembly Load Trace: The following information can be helpful to determine why the assembly 'msshrtmi' could not be loaded.
    === Pre-bind state information ===
    LOG: User = Andrew-VAIO\Andrew
    LOG: DisplayName = msshrtmi
    (Partial)
    WRN: Partial binding information was supplied for an assembly:
    WRN: Assembly Name: msshrtmi | Domain ID: 3
    WRN: A partial bind occurs when only part of the assembly display name is provided.
    WRN: This might result in the binder loading an incorrect assembly.
    WRN: It is recommended to provide a fully specified textual identity for the assembly,
    WRN: that consists of the simple name, version, culture, and public key token.
    WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
    LOG: Appbase = file:///C:/Users/Andrew/Desktop/Beko2011Azure/Website/
    LOG: Initial PrivatePath = C:\Users\Andrew\Desktop\Beko2011Azure\Website\bin
    Calling assembly : (Unknown).
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: C:\Users\Andrew\Desktop\Beko2011Azure\Website\web.config
    LOG: Using host configuration file:
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/cb955b02/eef106e2/msshrtmi.DLL.
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/cb955b02/eef106e2/msshrtmi/msshrtmi.DLL.
    LOG: Attempting download of new URL file:///C:/Users/Andrew/Desktop/Beko2011Azure/Website/bin/msshrtmi.DLL.
    ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.
    Stack Trace:
    [BadImageFormatException: Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
    System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
    System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +39
    System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks) +132
    System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +144
    System.Reflection.Assembly.Load(String assemblyString) +28
    System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46
    [ConfigurationErrorsException: Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
    System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +618
    System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +209
    System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +130
    System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178
    System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies() +94
    System.Web.Compilation.BuildManager.CallPreStartInitMethods() +332
    System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +677
    [HttpException (0x80004005): Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
    System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9079228
    System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97
    System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +258
    Note that the dev machine is x64 Win7.
    I have not tried deploying this to staging since the issue started as I'm a bit nervous of touching the staging/live environment until this is solved.
    Removing the PlatformTarget element from the project file has no effect
    Removing the msshrtmi.dll file from the bin directory of the website project ends up with 
    'Could not load file or assembly 'Microsoft.WindowsFabric.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified'
    I have used Git to revert to the last working build to no effect (But I don't have the obj/bin folders in GIT), but it has atleast reset the project files etc.
    If I return msshrtmi.dll to the bin folder and switch the model and website projects to x64 there is no change
    If I switch both to x86 then I get an error Could not load file or assembly 'BekoModel2011' or one of its dependencies. An attempt was made to load a program with an incorrect format.
    which is the model project - presumably because to run on my x64 machine I need the 64bit version?
    I really need to be able to debug and then publish some changes ASAP.
    Andrew

    Hi,
    Is it true that you're using IIS to host the application? Could you check whether the process is x64 or x86 one via task manager or config in IIS manager?
    http://blogs.msdn.com/b/rakkimk/archive/2007/11/03/iis7-running-32-bit-and-64-bit-asp-net-versions-at-the-same-time-on-different-worker-processes.aspx
    Allen Chen [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • ABAP Error:Illegal interruption of the event LOAD-OF-PROGRAM (in MIGO-Goods issue to Production)

    Hi Experts,
    while i am doing MIGO(Goods Issue to Production Order, I am getting the below ABAP Error:
    Please give solution, It is urgent requirement.
    THE ERROR IS:
    Short text
         Illegal interruption of the event LOAD-OF-PROGRAM.
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "/MRSS/SAPLRAP_INT_OB" had to be terminated because it
          has come across a statement that unfortunately cannot be executed.
    Error analysis
         During the flow of the event LOAD-OF-PROGRAM (event for the
         initialization of an ABAP program), a condition occurred under which
         the event was to be left early. This is not permitted as it would
         result in an inconsistent status in the ABAP program.
    Trigger Location of Runtime Error
        Program /MRSS/SAPLRAP_INT_OB
        Include /MRSS/LRAP_INT_OBF00
        Row                                     34
        Module type                             (FORM)
        Module Name                             GLOBAL_INIT
    Source Code Extract
    Line  SourceCde
        4
        5 *&---------------------------------------------------------------------*
        6 *&      Form global_init
        7 *&---------------------------------------------------------------------*
        8 *       text
        9 *----------------------------------------------------------------------*
       10 FORM global_init.
       11
       12 * local data
       13   DATA lv_badi_impl_exists TYPE flag.
       14
       15
       16 * get ref to BAdIs
       17   CALL METHOD cl_exithandler=>get_instance "#EC CI_BADI_GETINST
       18     CHANGING
       19       instance = gv_ref_badi_inter_company.
       20 *  CALL METHOD cl_exithandler=>get_instance
       21 * CHANGING
       22 *      instance = gv_ref_badi_rap_back.
       23 *  CALL METHOD cl_exithandler=>get_instance
       24 *    CHANGING
       25 *      instance = gv_ref_badi_ps_int.
         26   CALL METHOD cl_exithandler=>get_instance "#EC CI_BADI_GETINST

    Hi Rob thanks for your response.  I thought about doing an OSS note however; I would think I would need to get the problem in config corrected first as it contradicts each other.  The problem I am talking about is how they are to return material to vendor....I have never even seen this as a process in my 10 years....
    Process.....when the PO is a return to vendor PO they go to migo and choose the goods receipt and mvmt type 101 and the system will default the 161 in the item level....the two are inconsistent.  If I try to change the top level to a 161 mvmt (as this is what I am used to seeing) it gives the error that the PO is not a stock transport order... Would you agree that I should correct that problem first before creating an OSS note?

  • How can i exit in "LOAD-OF-PROGRAM" event?

    Hi, experts.
    I want to know how to exit in "load-of-program event".
    Recently our system was upgraded from 4.6c to ecc 6.0.
    Some programs have a coding as follows.
    LOAD-OF-PROGRAM.
    IF SY-TCODE = 'XXXXX' OR SY-TCODE = 'YYYYY'.
      IF SY-UNAME = 'AAAAA'.
        MESSAGE E000 WITH TEXT-001.
      ENDIF.
    ENDIF.
    CLEAR ............
    PERFORM ..............
    It's running well in 4.6c but occurred error in ecc 6.0 as follows.
    Runtime Errors         SYSTEM_LOAD_OF_PROGRAM_FAILED
    Short text
        Illegal interruption of the event LOAD-OF-PROGRAM.
    During the flow of the event LOAD-OF-PROGRAM (event for the
    initialization of an ABAP program), a condition occurred under which
    the event was to be left early. This is not permitted as it would
    result in an inconsistent status in the ABAP program.
    I think that used a option "message type;e" in the load-of-program event.
    For example, it's ok with "s,i,w" options...
    Teach me how to exit in load-of-program. Thanks.
    p.s That programs' type  is module-pool.
    Regards.
    ytkim.

    Thank you for your answer.
    But my question has not been answered yet.
    It still occured a error as follows.
    Runtime Errors         SYSTEM_LOAD_OF_PROGRAM_FAILED
    Short text
        Illegal interruption of the event LOAD-OF-PROGRAM.
        Error in the ABAP Application Program
        The current ABAP program "YT_TEST06" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
        During the flow of the event LOAD-OF-PROGRAM (event for the
        initialization of an ABAP program), a condition occurred under which
        the event was to be left early. This is not permitted as it would
        result in an inconsistent status in the ABAP program.
    I think that i maybe use the keyword "exit"...

  • Program was terminated by signal 10

    Hi All,
    I am getting error "Program was terminated by signal 10"
    I think doc id 225283.1 will work for be but
    fact: Oracle Application Object Library 11.5.3
    fact: Solaris Operating System (SPARC)
    symptom: Program terminated with signal 10
    symptom: Postscript/Bitmap Reports error out with signal 10
    cause: The Concurrent Managers are running in WE8ISO8859P1.
    The $ORACLE_HOME/gui60common/tk60/admin/Tk2Motif.rgb
    still has it's fontMapCs set to UTF8.
    This is causing a Signal 10 error for Postscript/Bitmap reports run from the
    commandline or through the concurrent managers.
    fix:
    Set the value for $ORACLE_HOME/gui60common/tk60/admin/Tk2Motif.rgb
    Tk2Motif*fontMapCs: iso8859-1=WE8ISO8859P1 to equal the env setting for NLS_LANG
    $NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1.
    If these are not in sync, a signal 10 error will be produced.
    so above fix I am confused because I have follwoing.
    the value for NLS_LANG is American.America.US7ASCII
    and the value in the file /global/applstk/prod3_ifmisnode/prod3ora/8.0.6/guicommon6/tk60/admin/Tk2Motif.rgb is
    !Tk2Motif*fontMapCs: iso8859-2=EE8ISO8859P2
    Please advise what change do I need.
    This is error is coming some time only I think when the volume of data is very big.
    Reg
    Chirag Patel

    Hi,
    answer : what values should I put here?
    I think this line starting with "!" meaning it is commentedRemove the ! mark and set this parameter to match the value of the database chanracter set.
    I have done this with active users completed without any error.
    It is with data because when I run for particular department then it ok.
    But when i run for all the department then it is completing with signal 10 or signal 11.In this case, I believe this error is irrelevant to the value of Tk2Motif*fontMapCs.
    Please enable trace and debug for this concurrent program, and check the log file for details about the error.
    Note: 759389.1 - How Can Trace and Debug Be Turned On For A Concurrent Request?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=759389.1
    Regards,
    Hussein

  • Program was terminated by signal 11

    Hello,
    I am getting error when i submit 'Autoinvoice Master Program' then it is calling 'Autoinvoice Import Program' but it is comleted with error.
    Receivables: Version : 11.5.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    RAXTRX module: Autoinvoice Import Program
    Current system time is 16-NOV-2010 11:05:41
    raagsp()+ Current system time is 16-NOV-2010 11:05:41
    raagsp()- Current system time is 16-NOV-2010 11:05:41
    raaini()+ Current system time is 16-NOV-2010 11:05:41
    raaapx()+ Current system time is 16-NOV-2010 11:05:41
    raaapx()- Current system time is 16-NOV-2010 11:05:41
    raagbo()+ Current system time is 16-NOV-2010 11:05:41
    Dumping data fetched from RA_BATCH_SOURCES
    batch_source_name = PROJECTS_INVOICES
    auto_trx_numbering_flag = N
    copy_doc_number_flag = N
    cust_trx_type_rule = I
    sold_customer_rule = I
    bill_customer_rule = I
    bill_address_rule = I
    bill_contact_rule = I
    ship_customer_rule = I
    ship_address_rule = I
    ship_contact_rule = I
    memo_reason_rule = I
    term_rule = I
    invoicing_rule_rule = N
    accounting_rule_rule = N
    unit_of_measure_rule = I
    agreement_rule = N
    inventory_item_rule = N
    fob_point_rule = N
    ship_via_rule = N
    invalid_lines_rule = R
    salesperson_rule = I
    sales_credit_type_rule = R
    accounting_flexfield_rule = I
    invalid_tax_rate_rule = C
    rev_acc_allocation_rule = A
    gl_date_period_rule = R
    create_clearing_flag = Y
    derive_date_flag = N
    sales_credit_rule = P
    sales_territory_rule = I
    receipt_method_rule = I
    customer_bank_account_rule = I
    related_document_rule = N
    memo_line_rule = I
    allow_sales_credit_flag = N
    receipt_handling_option = N
    allow_duplicate_trx_num_flag = N
    The Functional Currency is EURO
    Error calling afpoget() - AR_EBS_AUTOINV_PREPROCESSOR
    raader()- Current system time is 16-NOV-2010 11:05:48
    raavpm()+ Current system time is 16-NOV-2010 11:05:48
    AR_INVALID_MANDATE_FLAG_VALUE
    raavpm()- Current system time is 16-NOV-2010 11:05:48
    raavti()+ Current system time is 16-NOV-2010 11:05:48
    raavti()- Current system time is 16-NOV-2010 11:05:49
    raavfl()+ Current system time is 16-NOV-2010 11:05:49
    raavfl()- Current system time is 16-NOV-2010 11:05:49
    raavac()+ Current system time is 16-NOV-2010 11:05:49
    raavac()- Current system time is 16-NOV-2010 11:05:49
    raanti()+ Current system time is 16-NOV-2010 11:05:49
    raanti()- Current system time is 16-NOV-2010 11:05:49
    raavdn()+ Current system time is 16-NOV-2010 11:05:49
    raavdn()- Current system time is 16-NOV-2010 11:05:49
    raanti()+ Current system time is 16-NOV-2010 11:05:49
    raanti()- Current system time is 16-NOV-2010 11:05:49
    raaihd()+ Current system time is 16-NOV-2010 11:05:49
    raaihd()- Current system time is 16-NOV-2010 11:05:50
    Starting Module: Sales Tax Rate Assignments
    Calling ARP_TAX.SET_DEFAULT_TAX_CODE
    set_sql ===> select
         l.interface_line_id,
         stsu.site_use_id,
         btsu.site_use_id,
         l.inventory_item_id,
         NULL,
         l.set_of_books_id,
         l.trx_date,
    l.cust_trx_type_id,
    l.customer_trx_id,
    l.interface_line_id,
         nvl(l.orig_system_ship_customer_id,
    l.orig_system_bill_customer_id),
         l.memo_line_id,
         'AR',
         'GL_ACCT_FIRST'
    from
         ra_interface_lines_gt l,
         hz_cust_site_uses stsu,
         hz_cust_site_uses btsu,
         ra_cust_trx_types t
    where
    l.request_id = :b1
    and     l.customer_trx_id is not null
    and     nvl(l.interface_status, '~') != 'P'
    and     l.line_type = 'LINE'
    and     l.tax_code is null
    and     l.cust_trx_type_id = t.cust_trx_type_id
    and     t.tax_calculation_flag = 'Y'
    and     stsu.cust_acct_site_id(+) = l.orig_system_ship_address_id
    and     btsu.cust_acct_site_id = l.orig_system_bill_address_id
    and     stsu.site_use_code(+) = 'SHIP_TO'
    and btsu.site_use_code = 'BILL_TO'
    upd_sql ===> update ra_interface_lines_gt l set
    (tax_code, vat_tax_id, amount_includes_tax_flag) =
    (select :TAX_CODE, :VAT_TAX_ID,
    decode(:AMOUNT_INCLUDES_TAX_OVERRIDE,
    'N', :AMOUNT_INCLUDES_TAX_FLAG,
    NVL(l.amount_includes_tax_flag,
    :AMOUNT_INCLUDES_TAX_FLAG))
    from dual)
    where interface_line_id=:LINE_ID
    /u01/app/st2pjdev/st2pjdevappl/ar/11.5.0/bin/RAXTRX
    Program was terminated by signal 11
    No completion options were requested.
    Concurrent request completed
    Current system time is 16-NOV-2010 11:05:53
    ---------------------------------------------------------------------------

    Hi,
    Please post the details of the application release, database version and OS.
    Please see if these docs help.
    AutoInvoice Error: Error calling afpoget() - AR_EBS_AUTOINV_PREPROCESSOR [ID 353921.1]
    Troubleshooting AutoInvoice: Concurrent Request Failures (Request Status = Error) [ID 1082238.1]
    Troubleshooting AutoInvoice for Oracle Receivables Release 11.5 Through 12 [ID 1075757.1]
    /u01/app/st2pjdev/st2pjdevappl/ar/11.5.0/bin/RAXTRX
    Program was terminated by signal 11If none of the above docs help, relink RAXTRX via adadmin and try again.
    Thanks,
    Hussein

  • Autoinvoice Issue: Program was terminated by signal 11

    Hi, All -
    A number of Autoinvoice jobs complete with an exact number of rows updated: 645, and with a message: "Program was terminated by signal 11". What does this message represents in this case? Also, I am not sure if these jobs are completing successfully: Same number of rows updated in multiple jobs doesn't make a lot of sense, although these jobs are completing with normal status.
    Concurrent Request Name: Autoinvice Import Program
    No completion options were requested.
    /appsvr/CM/prodappl/ar/11.5.0/bin/RAXTRX
    Program was terminated by signal 11
    Rows updated: 645
    Complete with normal status
    (NOTE): I also see a number of jobs where the row updates are much larger than 645 and I don't see the signal 11 message in the log files. All I see at the end is: Concurrent request completed successfully.
    Any ideas on this behavior? Thanks in advance!
    Regards,
    Faire

    I am going through the following steps:
    a) Creating an Index on the Line Transaction Flexfield on RA_INTERACE_LINES_ALL.
    b) Old application or AutoInvoice code: Make sure that we are on the latest patchset and have applied the latest performance patch for Autoinvoice,
    if any, for our application release.
    c) Going over Custom indexes or triggers.
    d) Missing or disabled indexes or triggers on AR tables: Checking the Technical Reference Manual to verify we have all the indexes and triggers on the AR
    tables.
    e) Run Gather Schema Statistics from the SYSADMIN responsibility (Release 11i)
    Here are some additional note references regarding autoinvoices.
    Note:197213.1
    Note:176650.1
    Note:198715.1
    f) Use the adadmin utility called adrelink to relink RAXMTR AND RAXTRX.

  • Running perl programs through java.

    How do i run a perl program through java?
    arg.pl :
    while(<STDIN>)
    print;
    java program that I tried:
    import java.io.*;
    class runtime
        static Process p;
        static BufferedReader stdOutput;
        static BufferedWriter stdInput;
        public static void main(String args[]) throws IOException
            int i = 0;
            try{
                String cmd[] = new String[] {"perl","arg.pl"};
                p = Runtime.getRuntime().exec(cmd,null,new File("./"));
                stdOutput = new BufferedReader(new InputStreamReader(p.getInputStream()));
                stdInput = new BufferedWriter(new OutputStreamWriter(p.getOutputStream()));
            catch(Exception ex){
                System.out.println("Unable to initiate Process : " + ex);
            stdInput.write("abcd\n");
            stdInput.write("1234\n");
            stdInput.write("efgh\n");
            stdInput.write("5678\n");
            stdInput.close();
            System.out.println(stdOutput.readLine());
            System.out.println(stdOutput.readLine());
            System.out.println(stdOutput.readLine());
            System.out.println(stdOutput.readLine());
    }This works well. But I need to read the output line by line as and when i give the standard input line by line to it.
    I tried the following :
    import java.io.*;
    class runtime
        static Process p;
        static BufferedReader stdOutput;
        static BufferedWriter stdInput;
        public static void main(String args[]) throws IOException
            int i = 0;
            try{
                String cmd[] = new String[] {"perl","arg.pl"};
                p = Runtime.getRuntime().exec(cmd,null,new File("./"));
                stdOutput = new BufferedReader(new InputStreamReader(p.getInputStream()));
                stdInput = new BufferedWriter(new OutputStreamWriter(p.getOutputStream()));
            catch(Exception ex){
                System.out.println("Unable to initiate Process : " + ex);
            stdInput.write("abcd\n");
            stdInput.flush();
            System.out.println(stdOutput.readLine());
            stdInput.write("1234\n");
            stdInput.flush();
            System.out.println(stdOutput.readLine());
            stdInput.write("efgh\n");
            stdInput.flush();
            System.out.println(stdOutput.readLine());
            stdInput.write("5678\n");
            stdInput.flush();
            System.out.println(stdOutput.readLine());
            stdInput.close();
    }This doesn't work well. It just halts without any output.
    Can anyone help me?
    Edited by: Vijayakrishna on Dec 5, 2007 8:30 AM

    Let me be more specific.
    I want to use a class which will look something like this.
    import java.io.*;
    public class FindAnswer{
        Process p;
        BufferedReader stdOutput;
        BufferedWriter stdInput;
        public FindAnswer()
            try{
                String cmd[] = new String[] {"perl","arg.pl"};
                p = Runtime.getRuntime().exec(cmd,null,new File("./"));
                stdOutput = new BufferedReader(new InputStreamReader(p.getInputStream()));
                stdInput = new BufferedWriter(new OutputStreamWriter(p.getOutputStream()));
            catch(Exception ex){
                System.out.println("Unable to initiate Process. Error: " + ex);
        public String getAnswer(String question)
            String answer = question;
            try{
                stdInput.write(question + System.getProperty("line.separator"));
                stdInput.flush();
                answer = stdOutput.readLine();
            catch(Exception ex){
                System.out.println("Exception. Error: " + ex);
            return answer;
        public void close()
            if (p != null) {
                try {
                    if (p.getInputStream() != null)
                        p.getInputStream().close();
                    if (p.getOutputStream() != null)
                        p.getOutputStream().close();
                    if (p.getErrorStream() != null)
                        p.getErrorStream().close();
                catch (Exception e) {
                    System.out.println("Exception in Closing Streams - " + e);
    }The perl program takes lot of initialization time. I dont want to run the program foreach question i have. I'll just create an object to this class and find and answer by passing question to the object's getAnswer method. Here, I dont know all the questions in the beginning itself. I'll know one by one only and I should find answer without terminating the process.
    Kindly help me in this.

  • RED:LOAD-OF-PROGRAM

    HAI,
           WHAT IS THE USE OF <b>LOAD-OF-PROGRAM</b> EVENT. EXPLAIN IN DETAIL .
    IF WE HAVE ANY PROGRAM PLEASE SEND IT.
    THANK YOU
    ASHOK KUMAR

    Hi
    LOAD-OF-PROGRAM.
    Effect
    This event keyword defines an event block whose event is triggered by the ABAP-runtime environment when an executable program, a module pool, a function group or a sub-routine pool is loaded in the internal session.
    When calling a program through SUBMIT or through a transaction code, then, at every call, a new internal session is opened and the event block is executed once at every call. You can initialize global data objects of the program here.
    At the first call of an external Procedure (sub-program or function module), the framework program of the called procedure is loaded into the internal session of the caller, thus triggering the event LOAD-OF-PROGRAM. The event block is executed before the called procedure. At any further call of a procedure of the same framework program by a caller of the same internal session, the event LOAD-OF-PROGRAM is triggered no longer.
    Note
    The event LOAD-Of-PROGRAM should mainly be used to initialize global data when calling external procedures or Transactions. If you call executable programs with SUBMIT, we recommend that you use the event INITIALIZATION, as the Starting values for parameter and selection criteria are set after LOAD-OF-PROGRAM
    Reward if helpful
    thanks
    Mohit

  • LOAD-OF-PROGRAM re-loaded?

    Hello SAPients.
    It's supposed that the LOAD-OF-PROGRAM event should run only once in the very begining of the program, right? Do you know why it is running again when I go back to the selection screen? It's clearing some internal tables that I still need available.
    Thank you in advance for your kind help.

    LOAD-OF-PROGRAM.
    Effect
    This event keyword defines an event block whose event is triggered by the ABAP-runtime environment when an executable program, a module pool, a function group or a sub-routine pool is loaded in the internal session.
    When calling a program through SUBMIT or through a transaction code, then, at every call, a new internal session is opened and the event block is executed once at every call. You can initialize global data objects of the program here.
    At the first call of an external Procedure (sub-program or function module), the framework program of the called procedure is loaded into the internal session of the caller, thus triggering the event LOAD-OF-PROGRAM. The event block is executed before the called procedure. At any further call of a procedure of the same framework program by a caller of the same internal session, the event LOAD-OF-PROGRAM is triggered no longer.
    Note
    The event LOAD-Of-PROGRAM should mainly be used to initialize global data when calling external procedures or Transactions. If you call executable programs with SUBMIT, we recommend that you use the event INITIALIZATION, as the Starting values for parameter and selection criteria are set after LOAD-OF-PROGRAM
    reward points if it is usefull ...
    Girish

  • How do I list local shared computers through terminal?

    I'm looking for a way to see Macs on the local network that have file sharing turned on that i could potentially connect to, through terminal.  I've looked into mount and showmount, but i haven't had any luck.  Any help is appreciated!

    OK; an additional requirement. Scripting.  Quoting from the dns-sd man page:
      The dns-sd command is primarily intended for interactive use.  Because its command-line arguments and output format are subject to change, invoking it from a shell script will generally be fragile. Additionally, the asynchronous nature of DNS Service Discovery does not lend itself easily to script-oriented programming.
         For example, calls like "browse" never complete; the action of performing a "browse" sets in motion machinery to notify the client whenever instances of that service type appear or disappear from the network. These notifications continue to be delivered indefinitely, for minutes, hours, or even days, as services come and go, until the client explicitly terminates the call. This style of asynchronous interaction works best with applications that are either multi-threaded, or use a main event-handling loop to receive keystrokes, network data, and other asynchronous event notifications as they happen.
         If you wish to perform DNS Service Discovery operations from a scripting language, then the best way to do this is not to execute the dns-sd command and then attempt to decipher the textual output, but instead to directly call the DNS-SD APIs using a binding for your chosen language.
         For example, if you are programming in Ruby, then you can directly call DNS-SD APIs using the dnssd package documented at <http://rubyforge.org/projects/dnssd/>.
         Similar bindings for other languages are also in development.
    Does that help get you where you want to be?  Calling into available Ruby or Python DNS-SD libraries would get you where you want, and there are other choices.  Off-hand, I don't know of a bash-friendly interface, but there may be one around.
    And stepping back from this request slightly, there are already distributed-management packages which allow connections to remote servers, and managing multiple servers as a unit.  With Apple, Apple's ARD tool is one solution, and there are other packages available for Mac OS X and Mac OS X Server and other Unix platforms.
    I'd also suggest considering ssh, as telnet is insecure, and as ssh can perform certificate-based and passphrase-based logins.

Maybe you are looking for

  • TAXINJ AND TAXINN QUERY

    Hi... What are the Std Excise condition types in SD. What is the access sequence for it. While maintaining the master record how the values of JMOD gets picked into JEX2 in TAXINJ? Where to maintain the condition types and which in TAXINN for SD and

  • Can I create a custom scrollbar for my spark datagrid

    Basically I'm trying to customize the look of my spark datagrid. I'd like to change the header appearance and I'd also like to create a custom scrollbar. If only Catalyst would implement a custom datagrid component. I mean the datagrid is a very popu

  • Returning result sets from PL/SQL procedure to client app.

    I was wondering if its possible in Oracle PL/SQL to DECLARE, OPEN a cursor and exit the procedure without closing the cursor and then retrieve the resultset from the client. Pl let me know.. null

  • Why is FF 7.01 so slow...Peacekeeper benchmarked at 2814 vs 3607 for 6.0.2 and 3693 for 4.01?

    This is on a 2 year old Mac Mini with an Intel Core 2 Duo running Mac OSX 10.7 Lion. Firefox is getting slower with age, not faster, as the other browsers are doing. While FF 7 benchmarked 2814 Google Chrome did very close to 7000...more than twice a

  • Error message when opening a pdf

    he application wants to display a pdf on your device.there is a known bug in the pdf loading  code that makes the running of arbitrary code possible,which could compromise your sistem.are  you sure you sure you want to continue iPad 2