Program object doesn't work.

Hi BO experts,
I'm going to schedule a batch file to send some files to another file server via pscp command.
my code like this,
@echo off
md d:\pscp
PSCP.EXE -1 -2 -batch -q -l ndmp03 -i d:\Putty\mykey.ppk d:\test.txt [email protected]:download/test.txt
After running the program object, I find the folder "pscp" has been created.
But the file test.txt is not sent to server 192.168.1.3. And the job  always  be running.
BTW, If I run the batch file directly on OS. It works fine.
Do you have any experience on it? Many thanks.

Hi,
Manys thanks for your reply.
Yes, I use the same account. (Administrator). 
The issue is remaining. Now,
In the Bo Schedule, the batch file can be executed. But when the program go to pscp command, it always keep running and can not get any further.
I was trying to use a java script to call the batch file in the BO schedule. And it also stop in the command pscp.
Do you have any comment? Thanks.

Similar Messages

  • Date object doesn't work in query filters

    I'm trying to create a universe object called Next Biweekly Pay End Date.  Some background: there is an end date for our biweekly payrolls every 14 days, and the logic behind the object is basically that if there was a biweekly pay end date 7 days ago, the next one is 7 days from today (that is, sysdate + 7), etc.</p>
    I have it working so that it displays the correct date when used in a WebI report.  However, when I use it in a query filter in a WebI report (like, Pay End Date = Next Biweekly Pay End Date), I don't get an error, but I also don't get any data.  Somehow my object doesn't work in a query filter.  The purpose of the object is for use in query filters, so I need to get this to work.</p>
    My best guess about why it doesn't work in a query filter is due to some issue with the data type.  Pay End Date has a data type of date in the universe.  I gave Next Biweekly Pay End Date a data type of date also, but the query filter still doesn't work; I get "no data to fetch."</p>
    We're using XI 3.1.6 and Oracle 10.  Any ideas about how to get this to work?</p>
    If it helps, here is the definition of Next Biweekly Pay End Date.  The logic is that it takes today's date, subtracts Oct. 31, 2009 (a biweekly pay end date), divides by 14, and looks at the remainder.  If the remainder is 0, then today is a pay end date and the next one is 14 days from now.  If the remainder is 1, yesterday was a pay end date and the next one is 13 days from now, etc.</p>
    case</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 0 then (sysdate + 14)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 1 then (sysdate + 13)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 2 then (sysdate + 12)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 3 then (sysdate + 11)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 4 then (sysdate + 10)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 5 then (sysdate + 9)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 6 then (sysdate + 8)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 7 then (sysdate + 7)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 8 then (sysdate + 6)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 9 then (sysdate + 5)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 10 then (sysdate + 4)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 11 then (sysdate + 3)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 12 then (sysdate + 2)</p>
      when mod((trunc(sysdate)) - (to_date('31/10/2009')),14) = 13 then (sysdate + 1)</p>
    end

    Thanks for the suggestions.
    I did some more testing, and there seems to be something more complicated going on.  I ran the following code in SQL*Plus:
    SELECT distinct M_PYDW1.PYSTATUS.DW_OWNER,
    case
    when to_date(sysdate, 'dd/mm/yyyy hh24:mi:ss') >= to_date('01/01/2010','dd/mm/yyyy hh24:mi:ss') then To_Date((sysdate - 2),'dd/mm/yyyy')
    else to_date(sysdate +2, 'dd/mm/yyyy')
    end
    FROM M_PYDW1.PYSTATUS
    The condition should be true, because the sysdate (today is Jan. 20) is greater than 1/1/2010, so I should get a result of sysdate - 2 (Jan. 18).  But the result I get is Jan. 22 (sysdate +2).  It seems that the comparison is failing even though I'm formatting both sysdate and 1/1/2010 as dates with a timestamp.  What could cause that?
    One more mystery: when I run the same code as above in a WebI report (using custom SQL), I get the error ORA-1830, date format picture ends before converting entire input string.

  • Both Chrome and Safari interrupt online streaming to request/demand an update for a PC program that doesn't work on Macs. What is going on?

    Both Chrome and Safari interrupt online streaming to request/demand an update for a PC program that doesn't work on Macs. What is going on?

    The update alerts are fake, and are intended to dupe you into installing malware or disclosing private information so that your identity can be stolen.
    You might get the alerts when visiting a website that has been hacked. Don't visit the site again. If applicable, notify the site administrator of the problem, but don't send email to an unknown party.
    If you get the alerts when visiting more than one well-known website, such as Google, YouTube, or Facebook, then they're almost certainly the result of an attack on your router that has caused you to get false results from looking up the addresses of Internet servers. Requests sent to those sites are redirected to a server controlled by the attacker. It's possible, but less likely, that the DNS server used by your ISP has been attacked, but you should assume that the router is at fault until proven otherwise.
    The router's documentation should tell you how to reset it to the factory default state. Usually there's a pinhole switch somewhere in the back. It may be labeled "RESET." Insert the end of a straightened paper clip or a similar tool and press the button inside for perhaps 15 seconds, or as long as the instructions specify.
    After resetting the router, quit the web browser and relaunch it while holding down the shift key. From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. Do the equivalent if you use another browser. Open the Downloads folder and delete anything you don't recognize.
    Then go through the router's initial setup procedure. I can't be specific, because it's different for every model. The key points are these:
    1. Don't allow the router to be administered from the WAN (Internet) port, if it has that option. Most do.
    2. Set a strong password to protect the router's settings: at least ten random upper- and lower-case letters and digits. Don't use the default password or any other that could be guessed. Save the password in your keychain. Any password that you can remember is weak.
    3. If the router is wireless, or if you have a wireless access point on the network, use "WPA 2 Personal" security and set a different strong password to protect the network. If the router or access point doesn't support WPA 2, it's obsolete and must be replaced.
    During the time the router was compromised, you were redirected to bogus websites. If you ever connected to a secure site and got a warning from your browser that the identity of the server could not be verified, and you dismissed that warning in order to log in, assume that your credentials for the site have been stolen and that the attacker has control of the account. This warning also applies to all websites on which you saw the fake update alerts.
    Check the router manufacturer's website for a firmware update.
    If you downloaded and installed what you thought was a software update, ask for instructions.

  • Import Design Object doesn't work

    Hi people.
    I have a PI 7.11 and I'm trying to import in quality environment a particular software component from development environment... and this operation seems doesn't work. The transport is via file.
    The SC was already existing and I'm trying to transport a simple mapping change.
    The import in QLT reports succesfully the same number objects exported in file but no change is visible in mapping in QLT.
    I tried to refresh all kind of cache in java and abap; restarted java stack but nothing change.
    Instead, the import of other SCs in QLT works fine.
    Some ideas to help me?
    Ciao.
    Nicola

    Hareenkumar,
    at the end I solved the problem thanks to yours suggestion.
    The problem was a mapping conflict in DEV environment for a map change made by another user.
    Unfortunately, it was been not enaugh to solve the conflict but I have had to delete entirely the SC before to be able to import the package.
    Thanks to RaviBabu too for his suggestions.
    Ciao. Nicola

  • 'select objects: click and drag to select several objects' doesn't work

    I have recently upgraded to Office 2010, and have the same problem as
    http://social.technet.microsoft.com/Forums/en-US/office2010/thread/75270638-e02b-4a78-b291-043abbca04ae?prof=required
    When I use Select - Select Objects in the Editing part of the ribbon to select multiple drawing shapes, it no longer works like in office 2007. I can't drag a rectangle in the document to select objects within an area.
    I would have guessed this is the same problem as the link I refer to, but I'm not running the beta version of 2010. It seems not to be solved.
    Anything I can do to fix this?

    I have just registered so I could reply to this thread.
    The registration process was very ... aehm ... frustrating, I was only able to fill in the correct Captcha after about 10 ties. But ... this is not unexpected, when working with a Microsfoft product. How am I supposed to know whether that bloody captcha
    wants me to to write '4Yp8' or '4yP8'. There is no way to tell. You can distinguish capital letters when it is something like A, a or H, h, but not between y and Y or P and p.
    I would like to thank all the posters for suggested workarounds. They work. Kinda - sorta ... . I was able to finish the editing of large picture (consisting of many graphics objects) that HAS to be made in word (My boss said so). All your tips saved
    me *hours* of frustration.
    I would like to tell Microsoft programmers AND their managers, that *if* the quote in the second post is correct: 
    ================
    The work needed to make the object selection work as it did in Word 2007 was out of scope for this release. It's not as
    simple as using the same feature that existed in the last version since we upgrading our graphics/art features; the way the shapes/objects need to be selected is different than how "old" graphics/art is selectable in Word 2007.
    That said, the "select object" tool that exists in Word 2010 should allow you to select individual shapes. You can select
    multiple shapes holding down the CTRL or SHIFT key while clicking shapes. You might ask how this is different than selecting shapes without turning on "select objects"; the answer to that would be to allow you to select shapes that are "behind" text, or more
    easily select rotated shapes, etc.
    ================
    You are bunch of incompetent amateurs. 
    If I used such lame excuse for missing important functionality at work, I would be very soon replaced by a more competent programmer.
    This time I am not a programmer, I am AN USER. And, as an user I do not care if your internal data structure for new objects doesn't let you do something easily. Find a way to implement that feature or change the data structure. Period.

  • Select object doesn't work

    Just bought Pro X and under Tools>Content all items are grayed out. The Select object button doesn't work. Any ideas?

    Good chance the PDF is secured. Try on another PDF that you make yourself just to be sure. You can also select the security properties of the PDF with ctrl-D. A last option my be that the PDF is archived (PDF/A) which does not allow many options such as editing..

  • The program itunes doesn't work-error7-windowserror193

    my itunes programm doesn't work on windows 7
    error7 windowserror 193
    what can i do?I have réinstallt itunes about 6 times...

    Hi itsjudyj,
    Can you please tell me a bit more about the files that you're converting? How large are they (there's a 100MB file-size limit), and are they text, images, or both? File size or complexity can cause the ExportPDF service to time out before it can process the files.
    Other things to check:
    Clear the browser cache and try again.
    Make sure that you're using a supported web browser (http://www.adobe.com/acom/systemreqs/)
    Try a different browser
    Please let us know how it goes.
    Best,
    Sara

  • Sort(java.util.LinkedList java.lang.Object ) doesn't work

    Why doesn't this work?
    LinkedList<Object> sysPropsKeys = new LinkedList<Object>(System.getProperties().keySet());
    Collections.sort(sysPropsKeys);
    cannot fnd symbol
    symbol : method sort(java.util.LinkedList<java.lang.Object>)
    location: class java.util.Collections

    I will admit to not having Java1.5 installed on my machine. Haven't yet had the chance to play with generics, but the above DOES work in 1.4, and SHOULD work in 1.5
    Maybe I'm naive but, System.getProperties() returns a Properties object right?
    According to the API: http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html: Each key and its corresponding value in the property list is a string.
    All the keys SHOULD be strings.
    AFAIK string are comparable, and shouldn't throw class cast exceptions
    Thus the keys returned from getProperties SHOULD be comparable, and compatible for comparision.
    Ok, I can see your point in that some hackers abuse the Properties class by putting non string keys/values into the Properties Map. In that case the code would become more like your above. I'd probably still go with a TreeMap though, rather than a sorted list of keys. Most time you want the keys, you want the values as well. So if the intention is to print out a sorted list of system properties, and their values, keeping it in a map is best.
    Just my 2 cents,
    evnafets

  • Why server side shared object doesn't work for me ?

    application.onPublish = function (client, p_stream)
         var myInfo = SharedObject.get(p_stream.name);
         myInfo.setProperty("live", true);
    I set the sharedobject using code above,now I can publish video,but so is not set(from admin console, "shared object" tab).
    What can be possible reason for this?

    Change your code to below and see if it works (i mean i am not saying it will work - i am telling you to just try out - if it does not work - i'll look more into details)
    var myInfo;
    application.onPublish = function (client, p_stream)
         myInfo = SharedObject.get(p_stream.name);
         myInfo.setProperty("live", true);

  • Services for object doesn't work in an iView.

    Hello all,
    My company wants to use the "Services for Object" function from transaction MM03 inside the Portal but, as i created the iView, i noticed this function won't work.
    The icon is there but after clicking it, nothing happens.
    Has anyone ever had that kind of problem?
    Thanks in advance,
    Simone

    Hi,
    I have the same problem, did you get solved? Please advice.
    Thanks

  • Tiles:put with beanName and JSF object doesn't work

    I got some recent (good) advice for using tiles:put and in the inserted tile getting access to the string in a JSF tag, as long as it is a static string. For example, if I do this in the page including the tile:
    <tiles:insert page="includedPage.jsp">
    <tiles:put name="somevar" value="something" />
    </tiles:insert>
    Then in includedPage.jsp:
    <tiles:importAttribute name="somevar" scope="request"/>
    <h:outputText value="#{requestScope.somevar}"
    That works fine. But now I'm trying to use this:
    <tiles:insert page="includedPage.jsp">
    <tiles:put name="somevar" beanName="varFromDataTable" />
    </tiles:insert>
    I can't get it in the includedPage.jsp - I think because the tiles tag can't find the JSF variable (created using the var= attribute of dataTable).
    Does anyone know how I would do this? I need the whole object, not just a string from the object, since the includedPage.jsp will be using many attributes from the bean.

    Hi Greg,
    What kind of error/issue you are facing.
    Thanks,
    Rohit

  • Bex Property of Info object doesn't work when Infoset is Used

    Hi,
      When I use Business partner info object ( example 0CRM_SALESP or 0BP_ACTIVIT etc) in a query build directly on a ODS(DSO)  or infocube, the Bex setting "Query Def Filter Value Selection = Only Values in Info provider" defined in the 'Business Explorer" tab of the infoobject, works perfectly. This means that if the info object has 1 Million records in the master data table, but in the transaction data only 100 are involved, when you define a varialble restriction for the info object , in the selection screen the F4 will only show these 100 data as help.
      Although this feature works fine when the query is directly developed ON THE INFO PROVIDER. However when I define a infoset on the same ODS and define  a similar query, the F4 value shows all the data from the master data table instead of the ocurance in the transaction data( info provider)..
      Is there any way , I can get over this issue.
      Thanks
    Arunava

    Hi,
      I guess, I couldn't ecplain the issue properly earlier.
    What I am saying that even though I have the proper setting in the BEX tab ("Query Def Filter Value Selection = Only Values in Info provider")  for the info object , It behaves differently if the query is defined directly on ODS then on the infoset which is built on top of the ODS.
    When the query is build on the ODS the setting works fine
    However when the query is defined on the Infoset, the F4 help get the value from the info object master data.
    My question is , why this two different behaviour for the same info object? And how do I over conme this to get the same bahavious in info set as of the ODS.
    Thanks
    Arunava

  • JOptionPane setMaximumSize with a JScrollPane as the object doesn't work

    I am trying to use a JOptionPane for error messages. I'm trying to make the JOptionPane dialog be a minimum of 500x100 and a maximum size of 500x450 depending on the amount of text in the JTextArea inside the JScrollPane that's being passed into JOptionPane. I've tried both JOptionPane.showMessagePane(), and instantiating a JOptionPane and then setting its maximumSize, neither of which work as expected. Here is the relevant code:
    public static void doCommonMessagePane( Component parent, String optMsg,
                                             String title, int msgType )
        JTextArea msg = new JTextArea( optMsg );
        JScrollPane jsp = new JScrollPane( msg );
        initOptionPaneComponents( msg, jsp );
        Dimension maxSize =new Dimension(500, 450) ;
        JOptionPane op = new JOptionPane(jsp, msgType);
        op.setMaximumSize(maxSize);
        op.revalidate();
        op.setVisible(true);
    //here is me also trying showMessageDialog
    //    JOptionPane.showMessageDialog(parent, jsp, title, msgType);
      private static void initOptionPaneComponents( JTextArea ta, JScrollPane sp )
              Color bg = UIManager.getColor( "Panel.background" );
              Dimension jspSz = new Dimension( 500, 75 );
              Dimension max = new Dimension( 500, 450 );
              ta.setMargin( new Insets( 5, 10, 10, 5 ) );
              ta.setColumns( 50 );
              ta.setLineWrap( true );
              ta.setWrapStyleWord( true );
              ta.setEditable( false );
              ta.setEnabled( false );
              ta.setBackground( bg );
              ta.setDisabledTextColor( Color.black );
              ta.setFont( UIManager.getLookAndFeelDefaults().getFont( "Dialog" ) );
              ta.setMaximumSize(max);
              ta.setMinimumSize(jspSz);
              sp.getViewport().add( ta );
         //sp.setPreferredSize( jspSz );
              sp.getViewport().setMaximumSize(max);
              sp.getViewport().setMinimumSize(jspSz);
              sp.setBorder( BorderFactory.createLoweredBevelBorder() );
              sp.setVerticalScrollBarPolicy( JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED );
         //     sp.setPreferredSize( jspSz );
           sp.setMinimumSize(jspSz);
              sp.setMaximumSize( max );
         }

    When the JScrollPane is placed into the CENTER position the JOptionPane ignores the maxSize of both the JScrollPane and the JTextArea and stretches both of these out to 500x700 so that all text is visible. You still miss the basic concept.
    The answer is it depends! First the size of the dialog needs to be determined.
    If you use dialog.pack() then the preferred size of all components is used to determine the size of the dialog and the scrollpane will be whatever preferred size you gave it. If you leave the preferred size at (0, 0) then the scrollpane and text area will be invisible.
    If you use dialog.setSize(???, ???), then the size of the scrollpane will be adjusted to fit the available space.
    The amount of text in the text area is irrelevant in determining the size of the scrollpane. It is relevant in determining whether scrollbars will appear or not once the scrollpane is displayed.
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the [Code Formatting Tags|http://forum.java.sun.com/help.jspa?sec=formatting], so the posted code retains its original formatting.

  • After trying 8-10 different files over that many days or more, the program still doesn't work.  Get the error message, file to large, unable to complete.  What does this program do?  Nothing as far as I can see.

    I notice many of us seem to have the same problem, does anyone ever answer our questions online?
    We paid to use this program, we would not have bought the program unless we had a use for it.  I thought this would be much faster than OCR, but I am finding that it is worthless unless it works and so far that isn't happening.

    Hi itsjudyj,
    Can you please tell me a bit more about the files that you're converting? How large are they (there's a 100MB file-size limit), and are they text, images, or both? File size or complexity can cause the ExportPDF service to time out before it can process the files.
    Other things to check:
    Clear the browser cache and try again.
    Make sure that you're using a supported web browser (http://www.adobe.com/acom/systemreqs/)
    Try a different browser
    Please let us know how it goes.
    Best,
    Sara

  • MailTo: at LinkToURL object doesn't work after upgrading to SP14

    Hello,
    I am using LinkToURL and set it's value to an email address like this: mailTo:[email protected]
    This was working great until I've upgraded the portal from SP11 to SP14. Now when I write this I receive an exception "Invalid URL...".
    Any idea why this is happening and what do I need to do in order to fix it?
    Roy

    Hi Roy,
    See:
    iFrame WDRuntimeException checkURL method...help requested
    Especially:
    <b>An absolute URL has a protocol (URI scheme) of the list defined in the configuration property “sap.url.protocols”.
    This parameter can be changed using Visual Admin Tool
    -> Services -> Configuration Adapter -> webdynpro -> sap.com -> tcwddispwda -> default.properties
    URLs with a protocol other than the ones defined by the “sap.url.protocols” property won’t be considered valid.
    The entries of the “sap.url.protocols” property after installation of the Web Dynpro runtime are: http, https, ftp, mailto."</b>
    Hope that helps,
    Yoav.

Maybe you are looking for

  • External monitor will not sleep using 2012 MacBook Air and HDMI adapter

    I am running a HP 27xi (27" display) using the apple thunderbolt to HDMI adapter, and using a HDMI cable. ISSUE: I run my 2012 macbook air in "clamshell mode", and solely use the 27" display, which works great. Problem, is when the macbook goes to pu

  • Trouble printing a Livecycle Form in Acrobat or Reader

    I've created a form in Livecycle 8.0 which I intend to have users fill in in Acrobat or Reader.  When I try to print the form in Acrobat, either to a printer or to PDF, it simply prints a blank document. I've got Acrobat Professional 8.1.2 but I've a

  • N73 & Problem with Lifeblog

    Not sure if this should have gone in here, but here goes... I bought an N73 on 3 in the UK a few weeks ago, and Lifeblog was working fine. About a week after I had the phone, my old number was ported over, and several programs stopped working, one of

  • Multiple Business Group Setting in R12

    Hi I have Created a multi BG structure where two business groups(UK&US) representing two different countries report to a single BG(IND) of other country. Both the BGs(UK&US) are having individual Org Hierarchies in respective responsibilities. While

  • Never seen this before

    Hello, I was moving JPEG files from iPhoto to a folder on the desk top to be imported to Final Cut Express. The Mouse slipped and I ended up copying the files to the desk top. I stopped them but over a 100 got sent to the Desk top. Now I cannot delet