Not able to execute external file with parameter using RuntIme

When I try tio execute the following command :
          String command="C:\\Program Files\\BMC Software\\CONTROL-M EM 6.2.01\\bin\\deftable.exe -u abc -p abc567 -s q23.nz.dq.com -src DBIQ-EURILIBORROB.exp";
Process p = Runtime.getRuntime().exec(command);
It gives "File 'DBIQ-EURILIBORROB.exp' is Missing." even though the file is available in the given location. Please help
Regards
Edited by: Robin_Jacob on Aug 14, 2009 5:09 AM

Thanks a lot mate.. It works now.. But i had to do a little more changes.
I was getting an exception
java.lang.IllegalThreadStateException: process has not exited
     at java.lang.ProcessImpl.exitValue(Native Method)
     at com.Test.test1(Test.java:94)
     at com.Test.main(Test.java:23)
when my code was like this:
File f = new File ("C:\\Program Files\\BMC Software\\CONTROL-M EM 6.2.01\\bin"); // The working directory - not the file to be processed
String[] command = {f.getAbsolutePath() + "\\deftable.exe", "-u", "abc", "-p", "abc567", "-s", "q23.nz.dq.com", "-src","DBIQ-EURILIBORROB.exp"};
Process proc = Runtime.getRuntime().exec(command,null,f);
int exitVal = proc.exitValue();
} catch (Throwable t){
t.printStackTrace();
But it worked when i changed the code as shown below it worked fine
public static void test1() throws IOException
File f = new File ("C:\\Program Files\\BMC Software\\CONTROL-M EM 6.2.01\\bin"); // The working directory - not the file to be processed
String[] command = {f.getAbsolutePath() + "\\deftable.exe", "-u", "abc", "-p", "abc567", "-s", "q23.nz.dq.com", "-src","DBIQ-EURILIBORROB.exp"};
     Process proc = Runtime.getRuntime().exec(command,null,f);
     InputStream in = proc.getInputStream();
          InputStream err = proc.getErrorStream();
          BufferedReader readIn = new BufferedReader(new InputStreamReader(in));
          BufferedReader readErr = new BufferedReader(new InputStreamReader(err));
          int b;
          int exit = -1;
          boolean bReady = false;
          while (!bReady) {
               try {
                    exit = proc.exitValue();
                    bReady = true;
               } catch (IllegalThreadStateException isex) {
               suckStreams(readIn, readErr);
          readIn.close();
          readErr.close();
          System.out.println("Exit Status :" + exit);
public static void suckStreams(BufferedReader readIn, BufferedReader readErr) {
          try {
               while (readIn.ready() || readErr.ready()) {
                    if (readIn.ready())
                         System.out.println(readIn.readLine());
                    if (readErr.ready())
                         System.err.println(readErr.readLine());
          } catch (IOException ex) {
               System.err.println("suckStreams: " + ex);
     }

Similar Messages

  • Not able to convert word file to PDF using Adobe Acrobat 9 Standard

    Hi,
    I am not able to convert word file to PDF using Adobe Acrobat 9 Standard. When I try to convert, it starts the process and in between I am getting this prompt, as shown in figure below and the conversion process stops. The PDF is not created.
    Note: The filename 'Acr85.doc' in the above prompt keeps changing and is random.
    I tried clicking Yes, No and Cancel on the above prompt, but the conversion process just stops and PDF is not getting generated.
    I am able to create PDFs from web pages. No issues with that. Not working only with Word.
    Can someone help me with this.
    Thanks,
    Vinay Jaassiel Kankipati
    Technical Writer

    In MSWord please changes the settings as "Adobe PDF" menu => "Change Conversion Settings" goto Tab Bookmark and clicks the option Convert Word Bookmarks. Now you convert the Doc to PDF you can achieve the Bookmark.
    Hope this help you
    Sudhakar

  • Not able to open xlsm files with Docs To Go on BB Q10

    Hi,
    We a new BB Q10 in our company, the user is not able anymore to open file xlsm
    He doens't need to update the file, but just view it
    Before he had a Torch and it was working fine with these kind of files
    Do you have any suggestion?
    Thanks

    Hey marcolin,
    Welcome to the BlackBerry Support Community Forums.
    Thanks for the question.
    Are you using Documents to Go Premium Edition?  Also what is the error you're receiving when trying to open the file?  Are you able to open up regular excel files?
    I look forward to your reply.
    Cheers.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • Not able to integrate SOA Suite with EBS using Oracle APPS Adapter

    Hi,
    We need to listen to outbound business events of Oracle EBS using BES via Oracle APPS Adapter.
    We have created a composite containing Oracle Application Adapter and BPEL Process.
    In Apps adapter when configured Outbound Business events "oracle.apps.bom.component.modified" using Dequeue Operation,a corresponding subscriber is created in WF_BPEL_Q for respective event selected.
    In Oracle EBS
    for "oracle.apps.bom.component.modified" status is enabled and in subscription WF_BPEL_QAGENT is there.
    When we are changing any BOM component in Oracle EBS Designer and saving it, a record is being created in "WF_BPEL_QTAB".
    BPEL Process( Oracle Apps Adapter Partner Link---> Recieve Actvity ) instances are not being created when any BOM component is being changed.
    Oracle Apps Adapter is not able to dequeue the data from WF_BPEL_QTAB.
    There is not any error/exception in oracle soa suite server logs for Oracle APPS adapter.
    SOA Diagnostics Logs are :
    [2012-07-04T08:55:51.304+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.bpel.engine] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] CubeServiceEngine=> initing default/Testr!4.0*soa_f1fe3bbc-1269-437c-a75f-1239da743fea/BPELProcess1
    [2012-07-04T08:55:51.304+05:30] [AdminServer] [NOTIFICATION] [] [oracle.integration.platform.blocks.deploy] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] Publishing deploy event for default/Testr!4.0*soa_f1fe3bbc-1269-437c-a75f-1239da743fea
    [2012-07-04T08:55:51.382+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> [Testr.bom_cm/4.0] :load Loading bom_cm_apps.jca ..
    [2012-07-04T08:55:51.390+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> bom_cm Performing JCAEndpointActivation::prepareActivation for {AppsEventSchema=ANY_SCHEMA, MessageSelectorRule=tab.user_data.event_name = 'oracle.apps.bom.component.modified', Consumer=ORA_8cpkad9l88sj0c9n8kq42ghm85, QueueName=WF_BPEL_Q, DatabaseSchema=APPS}
    [2012-07-04T08:55:51.391+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> bom_cm JCAEndpointActivation::prepareActivation - Locating JCA Binding Component instance: SCA_AS11R1
    [2012-07-04T08:55:51.397+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> JCABinding=> Instantiating inbound part of JCA Binding Component instance: SCA_AS11R1
    [2012-07-04T08:55:51.397+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> bom_cm JCAEndpointActivation::initiateInboundJcaEndpoint - Creating and initializing inbound JCA endpoint for:[[
    endpoint='bom_cm'
    WSDL location='oramds:/deployed-composites/default/Testr_rev4.0/bom_cm.wsdl'
    portType='DEQUEUE_ptt'
    operation='DEQUEUE'
    *activation properties={AppsEventSchema=ANY_SCHEMA, MessageSelectorRule=tab.user_data.event_name = 'oracle.apps.bom.component.modified', Consumer=ORA_8cpkad9l88sj0c9n8kq42ghm85, QueueName=WF_BPEL_Q, DatabaseSchema=APPS}*
    [2012-07-04T08:55:51.398+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> bom_cm JCAEndpointActivation::initiateInboundJcaEndpoint - Creating endpoint (0) for bom_cm
    [2012-07-04T08:55:51.407+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> bom_cm JCAEndpointActivation::prepareActivation - Done preparing JCAEndpointActivation for Service 'bom_cm'
    [2012-07-04T08:55:51.409+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> [Testr.bom_cm/4.0] :load Successfully loaded bom_cm_apps.jca
    [2012-07-04T08:55:51.410+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> [Testr.bom_cm/4.0] :init Initializing bom_cm_apps.jca
    [2012-07-04T08:55:51.410+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> bom_cm JCAEndpointActivation::performActivation - Performing JCA Endpoint Activation, Endpoint Id='bom_cm'
    [2012-07-04T08:55:51.410+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> bom_cm Performing endpoint activation (1) for bom_cm
    [2012-07-04T08:55:51.411+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> Testr JCA Binding Component instance: SCA_AS11R1 - endpointActivation for portType=DEQUEUE_ptt, operation=DEQUEUE
    [2012-07-04T08:55:51.416+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> Testr Creating new instance of Resource Adapter oracle.tip.adapter.apps.AppsResourceAdapter
    [2012-07-04T08:55:51.417+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> Testr JCA Binding Component instance: SCA_AS11R1 - starting Resource Adapter oracle.tip.adapter.apps.AppsResourceAdapter
    [2012-07-04T08:55:51.471+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] Oracle Applications Adapter Starting...AQResourceAdapter
    [2012-07-04T08:55:51.474+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] Oracle Applications Adapter Creating Endpoint...
    *[2012-07-04T08:55:51.482+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] Oracle Applications Adapter Activating Endpoint...*
    *[2012-07-04T08:55:53.782+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> Testr JCA Binding Component instance: SCA_AS11R1 - successfully completed endpointActivation for portType=DEQUEUE_ptt, operation=DEQUEUE*
    *[2012-07-04T08:55:53.783+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,0] [APP: soa-infra] JCABinding=> [Testr.bom_cm/4.0] :init Successfully initialized bom_cm_apps.jca*
    *[2012-07-04T08:55:53.783+05:30] [AdminServer] [NOTIFICATION] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@c8ccf1] [userId: weblogic] [ecid: 1ae79e0a6c47b292:-ec3eb:1384ffb303d:-8000-0000000000000312,1:30342] [APP: soa-infra] Dequeue Agent activated....*
    Regards,
    Abhinav Gupta
    Edited by: Abhinav on Jul 5, 2012 9:56 AM

    We would like to capture a few business events in oracle BOM and PO that are of interest to us. In order to do this,
    we deploy oracle SOA composite with BEPL in the Oracle Fusion Middleware Control. The oracle SOA composite is configured for a particular outbound business event. It should listens on a specific queue WF_BPEL_Q or WF_BPEL_QTAB and de-queues the messages from that Oracle Queue or Oracle AQ Table. In jDeveloper 11g we created a SOA project with oracle applications adapter partner link and a receive.
    Specifically we are trying to capture the business outbound event oracle.apps.bom.component.modified just to get the event data in this receive.
    Partner link configuration: We added the database connection to the oracle EBS instance. Tested it and we
    succeded. Chose ANY_SCHEMA in partner link configuration.
    We ensured that the JNDI Name here( eis/Apps/Apps ) match the JNDI name provided in the weblogic-->Deployments--
    OracleAppsAdapter -->Configuration --> Outbound Connection Pools. For this outbound resource pool, Connection factory interface was javax.resource.cci.ConnectionFactory. Property name xADataSourceName was mapped to JNDI name of the configured JDBC datasource in the weblogic. When we created the connection pool. We tested and it worked fine. This data source had the connection pool configured to the oracle applications schema with APPS user.
    After adding the partner link with the above configuration, we added a receive. We deployed this configuration to the middleware. We went to the oracle EBS modified a BOM component and we expected to having running BPEL instances against the deloyed composite. However, the problem is we are not having any running instance for the composite.
    We found that there are entries in the view AQ$WF_BPEL_QTAB with an ENQ_TIME and ENQ_TIMESTAMP but with no DEQ_TIME or DEQ_TIMESTAMP. The ENQ_TIMESTAMP corresponds to the time we modified BOM in oracle BOM forms/Designer
    The data is being written in WF_BPEL_QTAB for the BOM changes but not being dequeued by oracle applications adapter/composites deployed in soa server.
    Please help me it quite urgent.
    Is there anything we are missing on EBS side to be activited. for the events to be dequeued
    Any Help is appreciated.
    Abhinav

  • Not able to create OUT file with "nidll_vxworks" in Matlab for use with the LabVIEW SIT 2010 and a cRio 9073, sh.exe error

    I am trying to compile an OUT file for my Simulink model using "nidll_vxworks" and run it using the Simulation Interface Toolkit for a cRIO 9073 . I am able to compile the DLL file using "nidll" and succesfully run the simulation using my PC as the host.
    I already downloaded the "gccdist" and "vxworks61gccdist" folders and copied them to "c:" When I build the model in Sumulink I get the following error at the end of the process (at the same time windows tells me that "sh.exe" has stopped working). If it matters I am running Windows 7 64bits, but using Matlab 2009b 32bits and LabView 2010 32 bits. ANY HELP WILL BE APPRECIATED. "QofV" is the name of my Simulink model and I changed to "XXX" parts of the file path.
    ### Linking ...
    rm -f "QofV.out" ctdt.c;nmppc QofV.o QofV_data.o rtGetInf.o rtGetNaN.o rt_logging.o rt_look.o rt_look1d.o rt_nonfinite.o  nidll_main.o rt_sim.o ode8.o    | tclsh c:/gccdist/WindRiver/vxworks-6.3/host/resource/hutils/tcl/munch.tcl -c ppc > ctdt.c 
    abnormal program termination 
    C:\Users\XXX\AppData\Local\Temp\make426012.sh: fork failed: no child processes [1]
    make: *** [QofV.out] Error 1 
    ### Real-Time Workshop build procedure for model: 'QofV' aborted due to an error.
    >> 
    ### Linking ...rm -f "QofV.out" ctdt.c;nmppc QofV.o QofV_data.o rtGetInf.o rtGetNaN.o rt_logging.o rt_look.o rt_look1d.o rt_nonfinite.o  nidll_main.o rt_sim.o ode8.o    | tclsh c:/gccdist/WindRiver/vxworks-6.3/host/resource/hutils/tcl/munch.tcl -c ppc > ctdt.c  
    abnormal program termination 
    C:\Users\XXX\AppData\Local\Temp\make426012.sh: fork failed: no child processes [1]make: *** [QofV.out] Error 1 ### Real-Time Workshop build procedure for model: 'QofV' aborted due to an error.>>
    ### Linking ...rm -f "QofV.out" ctdt.c;nmppc QofV.o QofV_data.o rtGetInf.o rtGetNaN.o rt_logging.o rt_look.o rt_look1d.o rt_nonfinite.o  nidll_main.o rt_sim.o ode8.o    | tclsh c:/gccdist/WindRiver/vxworks-6.3/host/resource/hutils/tcl/munch.tcl -c ppc > ctdt.c  abnormal program termination C:\Users\XXX\AppData\Local\Temp\make426012.sh: fork failed: no child processes [1]make: *** [QofV.out] Error 1 ### Real-Time Workshop build procedure for model: 'QofV' aborted due to an error.>> 
    Solved!
    Go to Solution.

    Hello jarcTec,
    I am not sure right now if you can do it, but this tutorial might help, also everything was made in Winddows 7 in this one.
    http://zone.ni.com/devzone/cda/tut/p/id/11654
    Take a quick look and let me know if it works!!!
    Luis Fernando
    National Instruments Cono Sur
    Ingeniería de Campo y Consultoría
    http://chile.ni.com/

  • Am using firefox 5 and am not able of uploading any file as attachmenet using my Yahoo email account , this problem does not happen with hotmail account or when using IE.

    when sending email through yahoo account , i cant upload any attachment with email, a sign of uploading lasts forever without uploading the file.
    this issue do not happen with hotmail account or when using IE to browse Yahoo account.

    Install ClamXav and run a scan with that. It should pick up any trojans.   
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101

  • Not able to open AVCHD file with PS5 extended

    I have seen instructions on doing this -simply open the file. But it doesn't specify the file format of the video file. When I attempt to open an avchd video file PS complains that it is not the right file type. My PS5 extended is up to date.
    What am I missing?

    What am I missing?
    That this is the most awful workflow imaginable. Use Premiere Pro or another program to edit video. That aside, generally there is no surefire guarantee that this will ever work in PS or even Premiere. Some cameras produce just atrocious "flavors" of this stuff or users screw it up by uzsing recording settings. You may have to run it through a conversion tool like Handbrake therefore. Well, whatever, you did not provide any relevant details, so this is not going anywhere....
    Mylenium

  • Not able to connect Nokia 5233 with laptop using b...

    Hi Experts,
    I purchased Nokia 5233 couple of months back. Since then i am facing problem in connecting the phone with any laptop using bluetooth. It gets connected to other phones via bluetooth very easily, but doenot get connected with any laptop.
    Whenever I try to search the phone, it appears as active device. When I try to connect to phone the message appears "connection failure". It happens the same with every laptop. Is there anything which i can do to correct this problem?

    try the post above yours.
    Using the search function and actually reading threads will reveal more that you may think..
    Click on the blue Star Icon below if my advice has helped you or press the 'Accept As Solution' link if I solved your problem..

  • I'm not able to save any files on an none apple external hard drive, what can i do to make it work?

    I bought a omega 320GB external hard drive so a friend could save the files off an old windows laptop i had but now when i try and open the files on my mac, it doesn't let me. i'm also not able to save any file on to this hard drive either! can some one please help me?

    The drive has the NTFS format, which the Mac OS can read but can't write to. Copy the files from the external drive onto your Mac, then reformat the external drive using Disk Utility, creating a Mac OS Extended volume and using the GUID partition scheme. Then you'll be able to write to the drive. Note that reformatting erases everything from the drive, so don't do it until after you've saved the drive's contents to other media.

  • HT204406 I am not able to download my files from iCloud to my iPad using iTunes Match, my internet connection is alive as I tested with Safari, I have enabled iTunes Match on and off to be usre is active..but still  cannot download....my music

    I am not able to download my files from iCloud to my iPad using iTunes Match, my internet connection is alive as I tested with Safari, I have enabled iTunes Match on and off to be usre is active..but still  cannot download....my music

    I have the same problem on my Windows 7 computer. In the right-click menu for a song one option is DELETE. However when I click that option the next window is to HIDE instead of DELETE. Apple, please help us with this.

  • I am not able to open few files from my external hard disc in snow lepord

    i am not able to open few files from my external hard disc in snow lepord

    Need more information. Is there a message when you try to open them?

  • I received a pdf from someone with an updated reader.  I am not able to open the file or download the update.  ERROR 1932  ????

    I received a pdf from someone with an updated reader.  I am not able to open the file or download the update.  ERROR 1932  ????

    ERROR 1935 SORRY PLEASE HELP I CANNOT OPEN ANY PDF'S ON MY COMPUTER NOW????????????????

  • We are not able to execute below procedure, plz help me ASAP.

    Dear All
    I am created one procedure with 4 parameter 1 is Ref Cusrsor rest of 3 are Varchar,But we are not able to execute below procedure, plz help me ASAP.
    CREATE OR REPLACE PROCEDURE GETCHART(RPT_CURSOR OUT RPT_PACKAGE.RPT_RESULTS,
    V_VITALCHARTING VARCHAR2,
    V_DOCIDPATIENTS VARCHAR2,
    v_fromdate varchar2,
    v_todate varchar2) AS
    D1 VARCHAR2(500);
    D2 VARCHAR2(500);
    G1 VARCHAR2(500);
    R1 VARCHAR2(500);
    R2 VARCHAR2(500);
    R3 VARCHAR2(500);
    R4 VARCHAR2(500);
    R5 VARCHAR2(500);
    H1 VARCHAR2(500);
    H2 VARCHAR2(500);
    V_COUNT NUMBER;
    RC VARCHAR2(100);
    RMI VARCHAR2(100);
    RMAX VARCHAR2(100);
    R12 VARCHAR2(500);
    REQ NUMBER;
    V_MAX number;
    v_idcount number;
    RSEQ NUMBER;
    RCH VARCHAR2(500);
    BEGIN
    INSERT INTO TEMPDATA
    SELECT ROWNUM G, TIME1
    FROM (SELECT distinct TO_CHAR(H.RECORDEDDNT, 'mm/dd/yy hh24:mi:ss') TIME1
    FROM VIEW_PATIENTCHART V,
    chartingtxheader H,
    chartingtxdetails D
    WHERE h.docid = d.docidchartingtxheader
    and v.VITALCHARTING_PK = h.docidvitalcharting
    and v.VITALPARAMETER_PK = d.docidvitalparameter
    and v.VITALCHARTING_PK = V_VITALCHARTING --General Vital Signs
    and H.DOCIDPATIENTS = V_DOCIDPATIENTS
    and TO_DATE(to_char(h.recordeddnt, 'DD/MM/YYYY'),
    'DD/MM/YYYY') BETWEEN
    TO_DATE(v_fromdate, 'DD/MM/YYYY') AND
    TO_DATE(V_TODATE, 'DD/MM/YYYY'));
    SELECT MAX(ID) INTO V_MAX FROM TEMPDATA;
    V_IDCOUNT := 0;
    WHILE V_IDCOUNT < V_MAX loop
    FOR J IN (SELECT id, ROWNUM G, vdate time1
    FROM (SELECT id, ROWNUM, VDATE
    FROM TEMPDATA
    WHERE ID BETWEEN V_IDCOUNT + 1 AND V_IDCOUNT + 8)) LOOP
    D1 := D1 || 'COL' || J.G || ',';
    D2 := D2 || '''' || J.TIME1 || '''' || ',';
    END LOOP;
    D1 := SUBSTR(D1, 1, LENGTH(D1) - 1);
    D2 := SUBSTR(D2, 1, LENGTH(D2) - 1);
    DBMS_OUTPUT.PUT_LINE(d1);
    SELECT SEQ_GETCHART.NEXTVAL INTO RSEQ FROM DUAL;
    G1 := 'INSERT INTO GETDATA2 (IDSLNO,idcount,' || D1 || ') VALUES(' || RSEQ || ',' ||
    V_IDCOUNT || ',' || D2 || ')';
    --EXECUTE IMMEDIATE G1;
    DBMS_OUTPUT.PUT_LINE(d1);
    DBMS_OUTPUT.PUT_LINE(SUBSTR(D2, 1, LENGTH(D2) - 1));
    DBMS_OUTPUT.PUT_LINE(G1);
    EXECUTE IMMEDIATE G1;
    FOR K IN (SELECT id, ROWNUM G, vdate time2
    FROM (SELECT id, ROWNUM, VDATE
    FROM TEMPDATA
    WHERE ID BETWEEN V_IDCOUNT + 1 AND V_IDCOUNT + 8)) LOOP
    FOR I IN (select s.*, rownum hslno
    from (SELECT v.CHARTNAME,
    v.PARAMETERNAME_CS,
    ' ' || v.PARAMETERNAME PARAMETERNAME,
    TO_CHAR(H.recordeddnt, 'mm/dd/yy hh24:mi:ss') TIME1,
    CASE
    WHEN IDSLNO_GN5029 IN (1040, 1041) THEN
    CASE
    WHEN TO_NUMBER(d.recordedvalue) <
    TO_NUMBER(D.MINVALUE) THEN
    decode(d.recordedvalue,
    null,
    d.recordedvalue,
    d.recordedvalue || ' ' || 'L')
    ELSE
    CASE
    WHEN TO_NUMBER(d.recordedvalue) >
    TO_NUMBER(D.MaxVALUE) THEN
    decode(d.recordedvalue,
    null,
    d.recordedvalue,
    d.recordedvalue || ' ' || 'H')
    ELSE
    decode(d.recordedvalue,
    null,
    d.recordedvalue,
    d.recordedvalue || ' ' || 'N')
    END END ELSE d.recordedvalue END IMAGECHAR,
    d.minvalue,
    d.maxvalue,
    D.UOMCODE
    FROM VIEW_PATIENTCHART V,
    chartingtxheader H,
    chartingtxdetails D
    WHERE h.docid = d.docidchartingtxheader
    and v.VITALCHARTING_PK = h.docidvitalcharting
    and v.VITALPARAMETER_PK = d.docidvitalparameter
    and v.VITALCHARTING_PK = V_VITALCHARTING --General Vital Signs
    and H.DOCIDPATIENTS = V_DOCIDPATIENTS
    ORDER BY V.DISPLAYORDER_CS, V.DISPLAYORDER
    -- v.PARAMETERNAME_CS,v.PARAMETERNAME
    ) s
    where s.time1 = k.time2) LOOP
    select count(1)
    into v_count
    from GETDATA2 d
    where d.PARAMETERNAME_CS = i.PARAMETERNAME_CS
    and PARAMETERNAME = i.PARAMETERNAME
    and idcount = v_idcount;
    IF V_COUNT = 0 THEN
    RCH := I.CHARTNAME;
    R1 := 'COL' || K.G;
    R2 := '''' || I.PARAMETERNAME_CS || '''' || ',';
    R3 := '''' || I.PARAMETERNAME || '''' || ',';
    R4 := '''' || I.IMAGECHAR || '''';
    RC := '''' || I.CHARTNAME || '''' || ',';
    RMI := '''' || I.minvalue || '''' || ',';
    RMAX := '''' || I.maxvalue || '''' || ',';
    R12 := '''' || I.UOMCODE || '''' || ',';
    SELECT SEQ_GETCHART.NEXTVAL INTO RSEQ FROM DUAL;
    H1 := 'INSERT INTO GETDATA2 (IDSLNO,UMCODE,idcount,CHARTNAME,minvalue,maxvalue,PARAMETERNAME_CS,PARAMETERNAME,' || R1 || ')' ||
    ' values(' || RSEQ || ',' || R12 || v_idcount || ',' || RC || RMI || RMAX || R2 || R3 || R4 || ')';
    EXECUTE IMMEDIATE H1;
    ELSE
    R5 := 'COL' || K.G;
    R4 := '''' || I.IMAGECHAR || '''';
    H2 := 'UPDATE GETDATA2 SET ' || R5 || '=' || R4 ||
    'WHERE PARAMETERNAME_CS=' || '''' || I.PARAMETERNAME_CS || '''' ||
    ' AND ' || 'PARAMETERNAME=' || '''' || I.PARAMETERNAME || '''';
    EXECUTE IMMEDIATE H2;
    END IF;
    END LOOP;
    end loop;
    UPDATE getdata2 s
    set s.parametername = s.parametername || ' -' || ' (' || minvalue ||
    ' -- ' || maxvalue || ') ' || UMCODE
    where s.parametername is not null
    and idcount = v_idcount
    and minvalue != 0
    and maxvalue != 0;
    UPDATE getdata2 s
    set s.parametername = s.parametername || ' -' || UMCODE
    where s.parametername is not null
    and idcount = v_idcount
    and minvalue = 0
    and maxvalue = 0;
    UPDATE GETDATA2 S
    SET S.PARAMETERNAME_CS = NULL
    WHERE ROWID NOT IN (SELECT MIN(ROWID)
    FROM GETDATA2
    WHERE idcount = v_idcount
    GROUP BY PARAMETERNAME_CS)
    and idcount = v_idcount;
    UPDATE GETDATA2 S
    SET CHARTNAME = NULL
    WHERE ROWID NOT IN (SELECT MIN(ROWID)
    FROM GETDATA2
    WHERE idcount = v_idcount
    GROUP BY CHARTNAME)
    and idcount = v_idcount;
    UPDATE getdata2 s
    set s.parametername = ' PARAMETER'
    where s.parametername is null
    AND S.PARAMETERNAME_CS IS NULL;
    v_idcount := v_idcount + 8;
    D1 := null;
    d2 := null;
    end loop;
    for i in (SELECT G.PARAMETERNAME_CS, G.IDSLNO
    FROM GETDATA2 G
    WHERE G.PARAMETERNAME_CS IS NOT NULL) LOOP
    INSERT INTO GETDATA2
    (IDSLNO, PARAMETERNAME)
    VALUES
    (I.IDSLNO - 1 + 0.5, I.PARAMETERNAME_CS);
    END LOOP;
    update GETDATA2 h set h.PARAMETERNAME_CS = null;
    update GETDATA2 h set h.chartname = rcH;
    INSERT INTO GETDATA1
    SELECT CHARTNAME,
    PARAMETERNAME_CS,
    PARAMETERNAME,
    COL1,
    COL2,
    COL3,
    COL4,
    COL5,
    COL6,
    COL7,
    COL8,
    COL9,
    COL10,
    MINVALUE,
    MAXVALUE,
    UMCODE
    FROM GETDATA2
    ORDER BY IDSLNO;
    OPEN RPT_CURSOR FOR
    SELECT * FROM GETDATA1;
    END;
    CREATE OR REPLACE PACKAGE "RPT_PACKAGE"
    as
    type RPT_RESULTS is REF CURSOR;
    type RPT_VARRAY is VARRAY(2000) of VARCHAR2(2000);
    END RPT_PACKAGE;
    Execute
    declare
    type my_newcursor IS REF CURSOR;
    begin
    GETCHART(my_newcursor,'General Vital Sign','1145561',sysdate-1,sysdate);
    end;

    Parwez wrote:
    Dear All
    I am created one procedure with 4 parameter 1 is Ref Cusrsor rest of 3 are Varchar,But we are not able to execute below procedure, plz help me ASAP.
    see a picture of my car.
    my car won't go.
    tell me how to make my car go.
    How do I ask a question on the forums?
    SQL and PL/SQL FAQ

  • Not able to execute scenario in RA 14.0

    Problem Summary
    Not able to execute scenario in RA 14.0 
    Problem Description
    [oracle@dev-rtlrmadb src]$ ./SIL_RetailLoadControlSeedData.ksh
    OracleDI: Starting scenario SIL_RETAILLOADCONTROLSEEDDATA 001 in context DEVELOPMENT_INSTALL ...
    2015-02-08 12:01:01.026 ERROR ODI-1217 Session SIL_RETAILLOADCONTROLSEEDDATA (20404) fails with return code 7000.
    2015-02-08 12:01:01.099 ERROR ODI-1134 Agent Internal encountered an error: ODI-1217: Session SIL_RETAILLOADCONTROLSEEDDATA (20404) fails with eturn code 7000. Caused by: ODI-1226: Step RA_Log_Error_File fails after 1 attempt(s).
    When checking in $MMHOME/error directory , the log is showing following error :- 
    Package Name-> SIL_RETAILLOADCONTROLSEEDDATA
    Step Name-> SIL_RetailInitial_C_ODI_PARAM_Load
    Error Details->
    ODI-1226: Step SIL_RetailInitial_C_ODI_PARAM_Load fails after 1 attempt(s).
    ODI-1240: Flow SIL_RetailInitial_C_ODI_PARAM_Load fails while performing a Loading operation. This flow loads target table C_ODI_PARAM.
    ODI-1228: Task SS_0 (Loading) fails on the target ORACLE connection ORACLE_BI_APPLICATIONS_RA_INSTALL.
    Caused By: java.sql.SQLSyntaxErrorException: ORA-01918: user 'radm01' does not exist
    DB user exists. I'm able to login via sqlplus.   Have checked in Physical schema and Logical schema also. All required Data Servers exeists in Topology -> physical / locical schema-> oracle. and tested the connection every thing is working properly.
    Error Codes
    ODI-1226  , ODI-1240 , ODI-1228 , ODI-1217 , ODI-1134 , ODI-1232
    Problem Category/Subcategory
    Retail Merchandising Analytics Issues
    Uploaded Files
    Template Question Responses
    1) ### Steps to Reproduce ###
    Go to $MMHOME/src .
    Execute the   ./SIL_RetailLoadControlSeedData.ksh  from prompt.    This gives the mentioned error.
    I'm currently configuring Oracle Merchandising Analytics 14.0  . Referring guide  " Oracle® Retail Analytics Installation Guide Release 14.0 E50594-05 ".
    I'm at step number 11 , 
    page no 58.

    Please help. Its urgent.

  • Not able to import .mov files in pre elements 8

    Hi,
    Using Pre elements 8 not able to import .mov files ,images stored on external drive (WD)
    whenever we import it shows icon in premiere elements 8 about the clip but whenever we drag and drop it onto the timeline it opens the add media window again and if we cancel it we get message --could not locate the some files.
    Able to import all kind of supported files images,videos in premiere elements 8 stored already in the computer internal hard drive.
    changed the scratch disk, in pre elements 8, to internal c: drive (os).
    All the files from the same camera.
    Please advice, why it is doing like this.
    Vinay

    What type of camcorder did this video from?
    Version 8 is generally not compatible with video from still cameras, and this video must be converted before it can be edited.
    Also, remember that video editors do not actually add your media clips to a project but build connections to them. In other words, once you add a clip to a Premiere Elements project, you MUST maintain a connection to the clip's location. So, if you're connecting to video clips on your external drive, you can not remove your external drive from your computer or this connection will be broken.

Maybe you are looking for

  • I changed my Apple ID before my iOS Device got stolen

    I changed my apple ID password for security reasons, but i didn't have my iOS device with me at the time, it was under the care of my sister, i was trying to get the iOS device off of her so i could update the password on the device, but she wouldn't

  • Fieldcontent in field catalog in ALV GRID with leading blanks to be display

    Hello, I want to display the result of a report in an ALV Grid. There are different columns in the ALV, one of them contains text, sometimes with leading blanks. The ALV does not display the blanks, cut them and moves the rest to the left. I have use

  • Flash video artifacts when using discrete graphics

    So I have a 2011 MacBook Pro with Intel and ATI graphics. When watching flash video (YouTube), I have weird artifacting going on when using just discrete graphics. While using Intel graphics, the video usually plays fine, just a little choppy. I am u

  • Is the latest iMac compatible with external raid 1 drive setups?

    I'm considering different new Mac options to replace my first gen Mac Pro. The new and most outfitted iMac seems like a good solution for my mostly Photoshop work. But, is the new iMac compaticle with Thunderbolt external RAID multi drive enclosures?

  • Screen issue scrambled image

    Just recently my display on my macbook pro i5 has started behaving oddly [IMG]http://i165.photobucket.com/albums/u77/lewis1989_2007/Screenshot2010-11-16at2019 15.png[/IMG] just wondered if anyone knows what could be causing this and how to fix it Tha