Xcom script to pull data not exiting out

Hello All
I am trying to pull a file from a LAN drive (Windows) to unix box using xcom. The pull is working, file is reaching the mentioned unix target location, however, my shell script which contain the xcom command is not exiting.
Following is the xcom command and there is nothing else in the shell script apart from this command
xcomtcp -c4 -f REMOTE_SYSTEM=$$SYSTEM_NAME \
                       REMOTE_FILE_RF=$$SRC_DIR \
                       LOCAL_FILE_RF=$$TARGET_DR \
                       FILE_OPTION=REPLACE \
                       PROTOCOL=TCPIP \
                       USERID=<<userid>> \
                       PASSWORD=<<pwd>> \
                       QUEUE=NO
Once the script is executed, the file reach the target directory in next second but the shell script doesn't exit. The file I am trying to pull is a csv of size 1KB. The following appears on the console when I trigger the shell script.
XCOMU0029I Locally initiated transfer started.
and thats it.... if I leave it for 2 hours, it will still be the same.... And if I press enter then the following appears
TID=<Number> XCOMU0289E Command failed, RC=1.
Any help in this regard would be much appreciated.
Thanks.

You probably meant .el5 instead of e15. Anyway, I have never used or seen xcom and it does not seem to be part of the standard software distribution for RHEL and other derivatives. Some resources on the web show that it requires openmotif, so I think this is really some very old piece of software and was not made for Linux in the first place.
If searching with google does not provide anything useful, maybe it's time to look for an alternative or better way to transfer the data. Have you considered Linux autofs? You could simply use the cp command to copy a file from local a directory that is mapped through autofs to a remote NFS server. Autofs will automatically mount the volume on access and dismount the volume when idle.
You may find the following useful:
How to make mount point permanent

Similar Messages

  • Using the touch pad I can not exit out of the App Store I am new to mac

    New to Mac   Having trouble exiting out of App Store with touch pad.  I hit the red x and it just beeps

    kj.arm,
    which model MacBook Pro do you have, and which version of OS X is installed on it?
    If you’re currently booted into Windows on your MacBook Pro, restart Windows in the normal way, but hold down an Option key once you hear the startup chime — that will put you in the Startup Manager, which will show you an icon for each available bootable OS. Use the arrow keys to select your OS X partition, and press Return; that will boot OS X. Once you’ve logged in, select the Startup Disk pane of System Preferences. If the padlock icon in the lower left of the window is locked, click on it (and provide the appropriate password) to unlock it. You will see a set of bootable OS icons to choose from for which OS you would like to boot from by default; presuming that you prefer to boot from OS X by default, select the icon that corresponds to your OS X partition, and press the “Restart…” button. It should now default to booting into OS X.

  • Modifying existing script - modifying how data is written out to csv

    I have an existing script written in Powershell 3.0 that gathers data from my virtual machines.  It's working to give me the data, but I'd like to modify how it writes it out.  Currently the data looks as follows:
    I would prefer the output to be all one one line as follows:
    Here is my script.  How would I modify this to give me the .csv file with all data for each server on one line?
    #param (
    $inputFile = "C:\Apps\Powershell\IP_Mac\testlist.txt"
    $csvFile = "C:\Apps\Powershell\IP_Mac\results.csv"
    $report = @()
    foreach($Computer in (gc -Path $inputFile)){
    get-wmiobject -computer $Computer win32_logicaldisk -filter "drivetype=3" | ForEach-Object {
    $device = $_.deviceid
    $freespce = ($_.freespace/1GB).tostring("0.00")+"GB"
    $Totalspce = ($_.size/1GB).tostring("0.00")+"GB"
    if(Test-Connection -ComputerName $Computer -Count 1 -ea 0) {
    $Networks = Get-WmiObject Win32_NetworkAdapterConfiguration -ComputerName $Computer | ? {$_.IPEnabled}
    foreach ($Network in $Networks) {
    $IPAddress = $Network.IpAddress[0]
    $SubnetMask = $Network.IPSubnet[0]
    $DefaultGateway = $Network.DefaultIPGateway
    $DNSServers = $Network.DNSServerSearchOrder
    $MACAddress = $Network.MACAddress
    $OutputObj = New-Object -Type PSObject
    $OutputObj | Add-Member -MemberType NoteProperty -Name ComputerName -Value $Computer.ToUpper()
    $OutputObj | Add-Member -MemberType NoteProperty -Name IPAddress -Value $IPAddress
    $OutputObj | Add-Member -MemberType NoteProperty -Name SubnetMask -Value $SubnetMask
    $OutputObj | Add-Member -MemberType NoteProperty -Name Gateway -Value ($DefaultGateway -join “,”)
    $OutputObj | Add-Member -MemberType NoteProperty -Name DNSServers -Value ($DNSServers -join ",")
    $OutputObj | Add-Member -MemberType NoteProperty -Name MACAddress -Value $MACAddress
    $OutputObj | Add-Member -MemberType NoteProperty -Name device -Value $device
    $OutputObj | Add-Member -MemberType NoteProperty -Name Totalspce -Value $Totalspce
    $OutputObj | Add-Member -MemberType NoteProperty -Name freespce -Value $freespce
    #$OutputObj
    $report += $OutputObj
    Write-Output $report
    $report | Select-Object -Property $properties | Export-Csv -Path $csvFile -NoTypeInformation
    Thank you.

    Try it like this:
    #param (
    $inputFile = "C:\Apps\Powershell\IP_Mac\testlist.txt"
    $csvFile = "C:\Apps\Powershell\IP_Mac\results.csv"
    $report = foreach($Computer in (gc -Path $inputFile)){
    $devices = get-wmiobject -computer $Computer win32_logicaldisk -filter "drivetype=3" | ForEach-Object {
    $device = $_.deviceid
    $freespce = ($_.freespace/1GB).tostring("0.00")+"GB"
    $Totalspce = ($_.size/1GB).tostring("0.00")+"GB"
    New-Object PSObject -property @{device=$device;freespce=$freespce;Totalspce=$Totalspce}
    if(Test-Connection -ComputerName $Computer -Count 1 -ea 0) {
    $Networks = Get-WmiObject Win32_NetworkAdapterConfiguration -ComputerName $Computer | ? {$_.IPEnabled}
    foreach ($Network in $Networks) {
    $IPAddress = $Network.IpAddress[0]
    $SubnetMask = $Network.IPSubnet[0]
    $DefaultGateway = $Network.DefaultIPGateway
    $DNSServers = $Network.DNSServerSearchOrder
    $MACAddress = $Network.MACAddress
    $OutputObj = New-Object -Type PSObject
    $OutputObj | Add-Member -MemberType NoteProperty -Name ComputerName -Value $Computer.ToUpper()
    $OutputObj | Add-Member -MemberType NoteProperty -Name IPAddress -Value $IPAddress
    $OutputObj | Add-Member -MemberType NoteProperty -Name SubnetMask -Value $SubnetMask
    $OutputObj | Add-Member -MemberType NoteProperty -Name Gateway -Value ($DefaultGateway -join “,”)
    $OutputObj | Add-Member -MemberType NoteProperty -Name DNSServers -Value ($DNSServers -join ",")
    $OutputObj | Add-Member -MemberType NoteProperty -Name MACAddress -Value $MACAddress
    $i = 0
    Foreach ($dev in $devices) {
    $OutputObj | Add-Member -MemberType NoteProperty -Name device$i -Value $dev.device
    $OutputObj | Add-Member -MemberType NoteProperty -Name Totalspce$i -Value $dev.Totalspce
    $OutputObj | Add-Member -MemberType NoteProperty -Name freespce$i -Value $dev.freespce
    $i ++
    $OutputObj
    Write-Output $report
    $report | Select-Object -Property $properties | Export-Csv -Path $csvFile -NoTypeInformation
    You were writing a row for each drive, I basically just wrote the drive information to an array and looped through that array when adding members.  I tested this and it worked for me.  Note that you can't have the same value names when you add-member
    so I appended a numeral to differentiate them.
    I hope this post has helped!

  • Script 2nd page-data not getting printed

    Hi Folks,
    I have a script which is related to TDS Certificate.The problem is I am having all the data in the table that is used to print the data but I am not getting only the tabular column i.e contigious data printed for the next page.The rest all getting printed correctly.
    To be clear
    first page is having
    index,belnr,total amount,educess,sur charge etc.
    1/10100/22.00/33.00/44.00/77.00
    in the second page again it should print again
    index belnr total etc but it is not getting printed.
    blank
    But the final  table is having 2 belnrs data.Where I am going wrong?
    Thanks,
    K.Kiran.

    Hi,
    During test print, you cannot see the second page.
    The second page will be visible only when there is data flow from page 1 to page 2.
    Execute with actual data and check if it flows through to page 2.
    Also Please try this:
    After your first page, include this:
    CALL FUNCTION 'CONTROL_FORM'
    EXPORTING
    command = 'NEW-PAGE'.
    and then call the the write form with text element in second page,
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    element = 'PG2'
    window = 'INV'
    EXCEPTIONS
    element = 1
    function = 2
    type = 3
    unopened = 4
    unstarted = 5
    window = 6
    bad_pageformat_for_print = 7
    OTHERS = 8.
    Reward points if found helpful…..
    Cheers,
    Chandra Sekhar.

  • Error:Class java.util.date not found

    i have installed 9iAS on my computer.And i want to develop program on JSP.i tried the url below
    http://eyuksel/servlet/IsItWorking
    and i got "it is working" message.when i try to execute my first jsp file i get the error:
    Errors compiling:d:\ias\apache\apache\htdocs\_pages\\_first.java
    d:\ias\apache\apache\htdocs\_pages\_first.java:55: Class java.util.date not found.
    out.print( new java.util.date() );
    ^
    1 error
    what must i do or how can i install the java classes.
    kind regards...
    null

    Thank you very much.It worked:)
    Java is case-sensitive.
    try
    java.util.Date
    instead of
    java.util.date
    null

  • UCCX script to pull XML data

    Hello,
    My goal is to create a UCCX script that will run on a Standard license server. Basically, when a user dials a four digit "speed dial", I want them to be translated to a UCCX route point, that will take the original called number, and the calling number, and use that to create a URL that it will then query and retrieve the actual number that will need to be dialed.
    So my plan currently is to have a phone inside of a partition that has a translation pattern of XXXX. The called number gets translated to 1158, which is the trigger of the application on UCCX.
    The url I want to query will be something like this:
    http://localhost:35798/RestServiceImpl.svc/XML/1017/6314
    "Localhost" will eventually become the IP address of the server hosting IIS application that will provide the XML output. 1017 is the "speed dial" or the original called number, 6314 is the calling number.
    Going to that URL should return me this output:
    <XMLDataResponse xmlns="http://tempuri.org/">
      <XMLDataResult>
      <CallingXML>
      <Extension>6300</Extension>
      <SpeedDial>1001</SpeedDial>
      <PhoneNumber>918005551212</PhoneNumber>
      </CallingXML>
      </XMLDataResult>
    </XMLDataResponse>
    This is the script as I have written it out so far:
    It does not seem to like what I have put together thus far when I try to validate it. I'm just wondering if I'm doing something that's obviously wrong.
    The end goal will be to take the NewNumber and dial it, while hiding it from the phone.
    Thanks,
    Mark

    Here's an update: I have the script retrieving the correct numbers and formulating the URL correctly. It also appears to be delivering the query from the XML.
    Here's what the XML looks like when I hit it from my browser:
    http://tempuri.org/
    ">
      http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">63141017918003551111
    When I do an Interactive Script Debug session and dial the number, I can see that there are two problems: 1) the NewNumber string is "null" by the time it gets to the step to do a Call Consult Transfer, and 2) the script just shows up a blank Exception.
    This tells me I am not parsing the XML correctly.
    Here is what I have currently:
    NewNumber = Get XML Data (xml, "/descendant::XMLDataResponse/child::XMLDataResult/child::PhoneNumber")
    Which based upon what I've read in Cisco's Volume 2 and elsewhere, should be correct.
    Notice in the screenshot that the XML data that UCCX pulls in looks different from when I look at it from my browser. I've also attached the script.
    Thanks,
    Mark

  • I have an iphone 4s that i got last week and i set it up just using the phone. today my dad restored it as my mothers iphone so i lost all of my data. I tried to restore it as my original phone i had but i exited out of itunes and now my phone wont showup

    I have an iphone 4s that i got last week and i set it up just using the phone. today my dad restored it as my mothers iphone so i lost all of my data. I tried to restore it as my original phone i had but i exited out of itunes and now my phone wont showup in itunes or on my computer

    Did you fail to import them to your computer before restoring?
    Not good.
    They are likely gone.
    You can try restoring from backup.

  • Hey there, my ipad had a dialogue box pop up on the screen and the buttons are not working so i cant exit out or type. PLease help me

    hey there, my ipad had a dialogue box pop up on the screen and the buttons are not working so i cant exit out or type. PLease help me

    Perform a Reset...  Reset  ( No Data will be Lost )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...

  • I can't figure out how to log off of my daughter's iTunes account that has been loaded to my PC.  When I want to sync my iPhone, I get her data, not mine.

    I can't figure out how to log off of my daughter's iTunes account that has been loaded to my PC.  When I want to sync my iPhone, I get her data, not mine.

    Hi, Abril_Perez17.
    This may be related to a new feature embedded in iOS7 that shows all purchased music by default.  Go to Settings > Music, then turn off Show All Music.  See if the issue ceases once the feature has been disabled.  This information is located on page 63 of the user guide below. 
    iPhone User Guide
    Regards,
    Jason H. 

  • The button on my Ipod Touch (the big one just below the screen) will not work when I press it. Nothing happens, when before it would wake my IPod out of sleep mode, and exit out of programs I was using. Now, no reactions. What should I do?

    The button on my Ipod Touch (the big one just below the screen) will not work when I press it. Nothing happens, when before it would wake my IPod out of sleep mode, and exit out of programs I was using (ex. ITunes or Safari to main screen) . Now, no reactions. When I press the button, it appears to be more indented then it was before. What should I do? Do I need to get it fixed or replaced, or is this a problem I can fix on my own? Whatever it is, I really need some advice. Thanks in advance.

    Try:
    fix for Home button
    iPhone Home Button Not Working or Unresponsive? Try This Fix
    - If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
    - If not under warranty Apple will exchange your iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    You can do it an an Apple store by:
    Apple Retail Store - Genius Bar
    or sent it in to Apple. See:
    Apple - Support - iPod - Service FAQ
    - There are third-party places like the following that will repair the Home button. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • SSRS pulls data from ESSBASE cube, data not showing

    Dear Experts,
    We are connecting SSRS 2012 to Essbase 11.1.3 to pull data from the cube, and having some issues with some members data not showing in the query designer and report, while some have no problem. And we couldn't find a pattern on which members won't show. We are wondering if this is a known issue and if there is a way to solve the problem.
    Thanks very much.
    Grace

    Hi ,
    Check the following:-
    1 Check whether you have made the joins properly.
    2 Check data at multiprovider level .
    3 is data available for reporting in both the cubes
    Regards
    Rahul

  • Data set created out of csv file: columns not recognized, too many rows

    After uploading a csv file I got out of the OPP the columns don't get recognized in the dataset viewer. Perhaps this happens because the delimiter is a semicolon instead of a comma? Unfortunately, I have no influence how the data gets exported out of the OPP. Is there any option to configure which delimiter to recognize, like it's possible in excel?
    Further, is it possible to configure from which row on the data should be taken into account, similar to excel? With the csv file I get out of the OPP, the data only starts with row 7, while row 6 has the headings.

    After uploading a csv file I got out of the OPP the columns don't get recognized in the dataset viewer. Perhaps this happens because the delimiter is a semicolon instead of a comma? Unfortunately, I have no influence how the data gets exported out of the OPP. Is there any option to configure which delimiter to recognize, like it's possible in excel?
    The delimiter cannot be configured. Comma is the delimiter. I would suggest that you open this file in text editor then replace semicolon with comma. After that you can reupload your dataset.
    Further, is it possible to configure from which row on the data should be taken into account, similar to excel? With the csv file I get out of the OPP, the data only starts with row 7, while row 6 has the headings.
    This is not configurable as well.

  • I have 2 games Words with Friends and Cityville that receives a Pop-up message form iTunes...  "Connect to iTunes to use Push Notifications" and will not allow me to exit out of the app or play.  How can I get this message to STOP?

    I have 2 games Words with Friends and Cityville that receives a Pop-up message form iTunes...  "Connect to iTunes to use Push Notifications" and will not allow me to exit out of the app or play.  How can I get this message to STOP?

    Yes - I connected my phone to my computer / Itunes and went into the apps section, but from there I have no idea how to manage the push notifications.  I even tryied going into itunes that is installed on my phone.  I still cannot find anyplace to manage these popups.  I have also gone into settings - notifiations - and tried turning all notifications for these apps all off but that didnt work either.  Any guidance is MUCH appreciated - Im not sure where to go from here.

  • When I closed out of yahoo email, get a blank page on every tab if any are opened. I have to exit out & restart firefox . It does not happen w/any other browser.

    When I sign off on yahoo email. I get a blank page on every tab if any are opened. I have to exit out & restart firefox . It does not happen w/any other browser. I have no malware or viruses. Please advise.

    Actually, it's not obvious & common sense would dictate that users' bookmarks would not be left stuck to random computers even once they've logged out of the account. No one wants that if it's a public work computer or if they're traveling & use an Internet cafe. As I am not the only one who has noticed this issue or had bookmarks disappear/be deleted, in addition, common sense would indicate it's not really a very good system. And carrying around a flashdrive to run Firefox off of it is a good solution? Really? Just curious why a useful feature such as being able to login & use your preferences & bookmarks & then logging out removes your preferences when you're gone hasn't been developed. Yahoo keeps my preferences when I logout (it's called My Yahoo!). Maybe a My Firefox or My Chrome solution could be developed.

  • Best Practices for pulling data out of Documentum (w/Crystal and Universe)

    I was curious to see if we had any best practices to see if we can pull data out of Documentum.
    Thanks
    Ian S

    None, use what works.

Maybe you are looking for

  • Can responders to my form attach a file to the form?

    I would like to use the forms as a submission for for printing. This will necessitate attaching a document to the request. Is this possible?

  • Adobe Flash games and buttons super small in Firefox

    I recently got a new computer and I've noticed certain Adobe Flash games or other features of Adobe Flash don't load to the proper size that they used to. There is room on the screen to be bigger but it just looks like the game or features have shrun

  • Is there a reverse bootcamp program?

    So I'm looking to get a laptop for mostly schoolwork, movies, social media, etc. but I'm also going to be using it for gaming. Mostly Indie, online and others like assassins creed and others. I found one I like and it's design is beautiful and is pre

  • Help needed in advance search of a pdf

    hello everyone im a newbie here i hav attached a screenshot containing the result of a medical admission test. the pdf document has some 100 pages of data. i want to know if there is any way i can search the 'marks' column in the document for all the

  • Why is this error coming up?

    very few minutes I get an error message that says "The application HPIO Trap Monitor quit unexpectedly" The is i want to ignore relaunch or report. I hut report send it out and a few minutes later it is back This started right after the upgrade. What