Wildcarrd character in file communication channel ( Run OS Command Option )

We have problem while executing the "move ( MV ) "  command with wildcard character ( '*' )  in file communication channel (Run Operating System command option ). Command is not executing properly.
e.g. mv /archive/test* /output/
have anyone experienced the same problem ?
Thanks & Regards,
Dijesh Tanna.

As far as i know, that doesnt work.
In Unix environment, the below code will work
name=`test*`
target=`xxxfolder`
file_list=`find $name -type f`
for fname in $file_list ; do
    echo "Moving: " $fname
    mv -Eignore $fname $target
done
Edited by: Praveen Gujjeti on Apr 12, 2010 5:44 PM
Edited by: Praveen Gujjeti on Apr 12, 2010 5:46 PM

Similar Messages

  • ERROR IN REciever file communication channel

    helo.
    iam doing a file to bapi,file scenario.
    in ssender file side its showing sucess.
    but when i testing in recievr side cc file under runtime workbench its showing error like
    hi.
    the error that iam getting in reciever file communication channel is
    communication channelis correctly configured and started and its showing n green colour.
    waiting for u r response.
    bye.
    regards.
    seeta ram.

    Hi,
    <i>the error that iam getting in reciever file communication channel is</i> -- You are not provided the error details which you are facing in Receiver CC. Provide the error details so that you can get the inputs accordingly.

  • Sender File Communication Channel Configuration

    Hi guys,
    We are trying to develop a file-to-Idoc scenario and we are facing some problems in the configuration of the sender file communication channel as far as the file format is concerned. The file, which is a material master file has the following structure:
    00.00 FileHeader
    30.00 Material n° 1
    30.01 Material n° 1
    30.00 Material n° 2
    30.01 Material n° 2
    30.00 Material n° n
    30.01 Material n° n
    99.00 FileFooter
    Initially, I developed 4 datatypes, FileHeader, Record1, Record2 and FileFooter, and 1 datatype to incorporate all of these, but I faced trouble in 'Recordset Structure' attribute in communication channel, where "FileHeader,1,Record1,,Record2,,FileFooter,1" did not work.
    After that I thought of creating one more datatype, called Record, with 0..* cardinality, that incorporates Record1 and Record2 with 1 cardinality.
    Although I have declared them correctly as "FileHeader,1,Record,*,FileFooter,1" in 'Recordset Structure', I face trouble in the table with the attributes. What shall I use: I have Record1.fieldNames and Record2.fieldNames and fieldFixedLengths, but XI requires Record...
    What you suggest?
    Evaggelos

    Hi,
    I understand your problem....
    I actually didn't look at the key fields...properly..
    You have said that when you had tried taking Record1 and Record2 in your structure you had problems...
    I  think the second way which you are trying would not work..!
    Can you try this..I am not sure if it will work..
    Have your structure as
    MT
    +Record
    ++Header
    ++Record1
    ++Record2
    ++Trailer
    So your Recordset name would be :Record
    RecordsetStructure would be Header,1,Record1,,Record2,,Trailer,1
    and then all the other parameters like fieldNames,fixedFieldLength,keyFieldValue...for Header,Record1,Record2,Trailer
    U might just try out with this
    Regards,
    Manjusha.

  • End of file communication channel in win 2003

    Hai All,
    I have a problem when installing oracle 8i in windows 2003 server - initializing database stage -error comes - end of file communication channel. service pack 1 is exist in 2003 server. how this resolved.. Please help
    Shiju

    I am not sure that Oracle8i supports Win 2003 platform.

  • Receiver FILE communation channel error.

    Hi Experts,
    I am getinng below error in receiver communication channel
    what is the problem plz let me know.
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: The Adapter Message Property 'FileName' was configured as mandatory element, but there is no 'DynamicConfiguration' element in the XI Message header: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: The Adapter Message Property 'FileName' was configured as mandatory element, but there is no 'DynamicConfiguration' element in the XI Message header

    Hi Ibrahim,
    I am not using  dynamic configuration code in the mapping
    Here my source and target structure are same.Here i am doing 1:1 mapping. In my mapping structure there is no attributes
    I am giving adapter parameters like
    target directory  =  my target directory (/file/out)
    File Name    =     ZMPSXTRXMSTPNDG *.xml ( this Xml file has to create in Target directory)
    File constructionmode =  add time stamp.
    Write mode =  Directly
    File type = Binary
    whenever i selected adapter specific message attributes i am getting above error.
    If i unchecked  adapter specific message attributes I am getting below error
    *Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: The parameter "argument" has the value "E:\file\out\ZMPSXTRXMSTPNDG *20090526-172050-340.xml", so it contains the character "E:\file\out\ZMPSXTRXMSTPNDG *20090526-172050-340.xml" which is not allowed: com.sap.exception.standard.SAPIllegalArgumentException: The parameter "argument" has the value "E:\file\out\ZMPSXTRXMSTPNDG *20090526-172050-340.xml", so it contains the character "E:\file\out\ZMPSXTRXMSTPNDG 20090526-172050-340.xml" which is not allowed
    incase u want the output file to have same name as input , you wil use ASMA in the rcv file channel check the box for file name in the same
    Edited by: Ibrahim on May 26, 2009 10:44 AM
    Edited by: srinivasreddy p on May 26, 2009 11:28 AM

  • Value for Retry Interval in Sender File Communication Channel

    Hi All,
    I am trying to set Retry Interval for File Adpter as null as per Help.
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm</a>
    But I am getting error in Communication channel/Adapter Monitoring as invlaid configuration. How to specify null value as described.
    Thanks in advance.
    Regards,
    Sudharshan

    Hi Michal,
    I am trying this option to solve the problem in following thread.
    Problem with Sender File Content Conversion Communication Channel
    0 is considered to be a valid Configuration, but I dont know whether it is equivalent to null that they are describing.
    Regards,
    Sudharshan

  • Xcopy command in the file communication channels

    Hi all
    we are using xcopy commmand in the Run OS command in the receiver communication channels. 
    xcopy %F destination folder -y
    this is actually working fine.
    we actually want to use the copy command instead of xcopy
    we have tried to give
    copy %F destination folder -y , but it not working . DId anyone know the exact format of the copy to use in the communication channel please.
    Any help is highly appreciated
    Thanks

    Dear XI Starter,
    I think now is the moment to ask this question: since xcopy worked fine, why do you want to switch to copy?
    If you insist on that change, try debugging the OS command just like Michal has described in one of his blogs here:
    XI: Operation system command - error catching
    So simply you add > "somelogfile.txt" to the initial statement. The final command to execute:
    cmd.exe /C "copy %F destination /Y > log.txt"
    Hope this helps,
    Greg

  • FILE Communication Channel

    Hi Guys,
    I am doing a scenario File to SOAP where XI pick up the flat file from FTP and does content conversion and sends it ti SOAP receiver.In file communication channnel what Quality of service do I use(EO,EOIO,BF) and why?
    Thanks

    Hi,
    My flat file looks like this and I am using BPM to call 3 webservices of a 3rd party system.Each record contains L1,L2,L3.So is it good to go with EO or EOIO?
    L1@!45001@!00010@!PAINT @!20080101@!99990909@!212897@!00001000@!0000000500000@!R400@!A
    L2@!45001@!00010@!01608@! neccessary@!20020115@!20020115@!R400@!1@!3@!SLC-O @!VESSELLS!A
    L3@!45001@!00010@!01608@!0010@!Blind @!20020115@!20020115@!20020430@!20020430@!10000414@!
    L1@!45001@!00010@!PAINT @!20080101@!99990909@!212897@!00001000@!0000000500000@!R400@!A
    L2@!45001@!00010@!01608@! neccessary@!20020115@!20020115@!R400@!1@!3@!SLC-O @!VESSELLS!A
    L3@!45001@!00010@!01608@!0010@!Blind @!20020115@!20020115@!20020430@!20020430@!10000414@!
    L1@!45001@!00010@!PAINT @!20080101@!99990909@!212897@!00001000@!0000000500000@!R400@!A
    L2@!45001@!00010@!01608@! neccessary@!20020115@!20020115@!R400@!1@!3@!SLC-O @!VESSELLS!A
    L3@!45001@!00010@!01608@!0010@!Blind @!20020115@!20020115@!20020430@!20020430@!10000414@!

  • How to configure File Adapter along with OS command option

    Hello,
    I want to configure a scenario using File Adapter with OS command option.
    How to use that option in channel configuration of File Adapter.
    What is the default path where it is actually runs this OS command?
    Thanks,
    Soorya

    >
    surya venkat wrote:
    > Hello,
    > I want to configure a scenario using File Adapter with OS command option.
    > How to use that option in channel configuration of File Adapter.
    There are two ways to use the Os command in the file adapter.
    Lets talk about the sender File Adapter.
    First: Run operative system Before Message Processing
    Whenever any operation needs to be performed uppon the source file Just before XI picks it up.
    e.g. Calculate any hash code, backup the file to a given location, create a log at os level, etc...
    ... After Message Processing
    After Xi has processed the message, you can trigger a new os level command:
    e.g. Trigger a mail, check if the archiving was successful, etc.
    > What is the default path where it is actually runs this OS command?
    >
    Theres no default path, you assign the desired path in the Comm Channel configuration.
    > Thanks,
    > Soorya
    I hope it helps.

  • Sender file communication channel polling only when the file is written

    Hi guys,
    I have the following scenario:
    I have developed an XI interface that takes a .txt file from SAP R/3's file system, usr/sap/trans/ and delivers it into another ftp location. The problem that we face is that the file is written into source directory from an ABAP program. As a result, XI go and polls into source directory when the file is not completely written, or when it is empty, which blocks the process.
    Is there a way to force XI in order to poll the source directory only when the file is complete?
    We have thought of exporting the file into a name that XI does not expect and as soon as the file is complete to rename the file from inside ABAP program into what XI expects.
    However, the command inside ABAP changed the Code page of the file and we cannot see some special characters in the file that is delivered to the ftp location.
    Any ideas??

    Hi Evaggelos,
    from <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm">SAP help: Configuring the Sender File/FTP Adapter</a>:
    Advanced Mode
    To specify additional parameters in the adapter configuration, set the Advanced Mode indicator.
    &#9679;      Msecs to Wait Before Modification Check
    Enter the number of milliseconds that the adapter must wait before it checks whether the files have been changed
    Regards,
    Udo

  • File communication channel issue : object name too long

    Hi Experts,
    My requirement is to place the successful files in folder and un-successful files in one folder after processing.
    we used parameterized mapping to achieve this requirement.
    I'm facing below issues, please help me to resolve.
    " An error occurred while connecting to the FTP server. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 501 Unexpected reply codeSpecified object name too long, limit is 10 characters: $Filepath_Su.'. For details, contact your FTP server vendor.
    As per my understanding it is not taking the path specified,because of length issue.
    Please send me your valuable inputs and help me.
    Thanks in advance for your help.
    Regards
    Bhargava Krishna

    Hello,
    By loking ur error description, it's quite evident that it's a FTP sever issue?
    Sometime on FTP server, there is a check which is enabled to limit the length of file names, and i think the same has been recently implemented on ur FTP server. So instead of changing ur config, check with ur FTP admin.
    Tested the same after tweaking existing FTP server settings.
    Thanks
    Amit Srivastava

  • ORA-03113 end-of-file on channel communication

    Hello at everyone:
    I have a laptop pentium 133 MMX, 40 MB Ram, 2.1 GB.
    I have been installed slackware 3.5, kernel 2.0.36, on it and
    oracle 8 too.
    I run svrmgrl, connect internal, everithing go well, but when
    write the command "startup nomount" <ENTER>, oracle begin to work
    and 2 seconds after, more or less, appear the message of the
    subject.
    I found the possibly means of this:
    ORA-03113: end-of-file on communication channel
    Cause: An unexpected end-of-file was processed on the
    communication channel. The problem could not be handled by the
    Net8, two task, software. This message could occur if the shadow
    two-task process associated with a Net8 connect has terminated
    abnormally, or if there is a physical failure of the interprocess
    communication vehicle, that is, the network or server machine
    went down.
    Action: If this message occurs during a connection attempt, check
    the setup files for the appropriate Net8 driver and confirm Net8
    software is correctly installed on the server. If the message
    occurs after a connection is well established, and the error is
    not due to a physical failure, check if a trace file was
    generated on the server at failure time. Existence of a trace
    file may suggest an Oracle internal error that requires the
    assistance of customer support.
    ------------------------------------------<^
    This possibility, above |, i guess that not apply, because, i
    work in any network, everything is local.
    ------------------------------------------<ORA-3113: end of file communication channel
    Cause: An unexpected end-of-file was processed on the
    communication channel. The TCP/IP retransmission count on Win
    NT/95 has a default value of 5. This means that the send side
    retransmits the packet five times or until it gets an
    acknowledgment. The timeout for each retransmission is two times
    the timeout for the previous retransmission (exponential
    backoff). With the default value of 5, the send side retransmits
    5 times (approximately. 15 seconds) and if it does not get an
    acknowledgment. it assumes that the other side is down and closes
    the connection. If the link goes down for a minute or two the
    Net8 client receives this error.
    Action: Modify the retransmission count.
    Please see your Microsoft specific operating system manual for
    more information on tuning the microsoft TCP/IP software.
    ----------------------------------------------<I got it from Oracle 8 documentation for W95/NT. I guess that it
    is a good posibility. But how can to modify the retransmission
    count under Linux?
    This is the alert_UNIX.log
    Sun Feb 21 21:54:35 1999
    Shutting down instance (abort)
    Sun Feb 21 21:55:34 1999
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    LICENSE_MAX_USERS = 0
    Starting up ORACLE RDBMS Version: 8.0.5.0.0.
    System parameters with non-default values:
    processes = 50
    shared_pool_size = 3500000
    control_files = ora_control1, ora_control2
    db_block_buffers = 100
    log_buffer = 8192
    log_checkpoint_interval = 10000
    db_files = 80
    db_file_multiblock_read_count= 8
    sequence_cache_entries = 10
    sequence_cache_hash_buckets= 10
    global_names = TRUE
    db_name = UNIX
    parallel_max_servers = 5
    max_dump_file_size = 10240
    Sun Feb 21 21:55:37 1999
    Errors in file
    /usr/local/apps/oracle/product/8.0.5/rdbms/log/ora_unix_1534.trc:
    ORA-07445: exception encountered: core dump [11] [43] [] [] [] []
    Shutting down instance (abort)
    License high water mark = 0
    Instance terminated by USER, pid = 1538
    And that is the ora_unix_1534.trc:
    Dump file
    /usr/local/apps/oracle/product/8.0.5/rdbms/log/ora_unix_1534.trc
    Oracle8 Release 8.0.5.0.0 - Production
    PL/SQL Release 8.0.5.0.0 - Production
    ORACLE_HOME = /usr/local/apps/oracle/product/8.0.5
    System name: Linux
    Node name: wired
    Release: 2.0.35
    Version: #1 Sat Feb 20 08:41:09 COT 1999
    Machine: i586
    Instance name: UNIX
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 0
    Unix process pid: 1534, image: oracleUNIX
    Exception signal: 11, code = 2b
    ORA-07445: exception encountered: core dump [11] [43] [] [] [] []
    ----- Call Stack Trace -----
    calling call entry argument
    values in hex
    location type point (? means
    dubious value)
    ssexhd()+221 CALL ksedst()+0 40033DFC ? 400
    ----- Argument/Register Address Dump -----
    Argument/Register addr=40033dfc. Dump of memory from 40033DBC to
    40033EFC
    40033DA0
    00000000
    40033DC0 00000000 0000007E 000003A3 00000000 00000036 00000461
    00000661 000006EF
    40033DE0 00000000 00000000 00000208 000000F2 000002FF 000000F0
    000002B6 00000000
    40033E00 00000000 00000000 00000000 00000001 00091250 00000000
    FFF10011 0000000A
    40033E20 00090560 00000000 FFF10011 00000020 00015D50 00000031
    000B0012 00000034
    40033E40 0008320C 00000031 000C0012 0000003A 000912D8 00000004
    00170011 00000040
    40033E60 000912D8 00000004 00170011 00000047 00090544 00000000
    FFF10011 0000005E
    40033E80 00090550 00000000 FFF10011 00000074 00015D84 00000049
    000B0012 00000080
    40033EA0 00083240 0000000B 000D0011 0000008F 0008324B 00000006
    000D0011 0000009E
    40033EC0 00015DD0 0000002A 000B0012 000000B3 000659B0 00000046
    000B0022 000000BB
    40033EE0 00015DFC 0000001C 000B0012 000000C7 0005A2C0 0000003F
    000B0012
    ----- End of Call Stack Trace -----
    ===================================================
    PROCESS STATE
    Process global information:
    process: 0, call: 0, xact: 0, curses: 0, usrses: 0
    No process is allocated.
    END OF PROCESS STATE
    ******************** Cursor Dump ************************
    No curdef array
    ssexhd: crashing the process...
    Shadow_Core_Dump = full
    Well, i have been installed oracle 8 succesfully in my Desktop
    PC, with oracle working well, i can3t understand what happened in
    my laptop.
    My Desktop, 48 Mb, 4.5 GB, Pentium 166 MMX, Slackware 3.3, kernel
    2.0.36.
    Thanks in advanced, for your attention and help.
    null

    ORA-00600/ORA-07445/ORA-03113 = Oracle bug => search on Metalink and/or call Oracle support

  • Variable file name through Receiver mail Communication channel

    I need to send a file through receiver communication channel   with the following name ( YYMMDD schema)  . The YYMMDD is current date .  I know how to create these file names throug FCC ( file communication channel) , I tried in the same manner to create this file through Receiver Mail CC , but it did not work  .  If you have any ideas , can you please share with me ?
    ABC_MMYYDD.TXT
    Thanks.
    Ritvik

    Hi Ritvik,
    Also, Please look at this link and see if it helps you. It is generating variable file name through a UDF
    Re: Problem in dynamically file name generation procedure
    Best Regards

  • File receiver communication channel

    Hi All,
    I am working on a IDOC to FILE scenario. In my target structure I have 10 fields. I need to transfer only 9 fields to my file.
    I am using the 10th field to hold the file name, which is used in the variable substitution in the receiver file communication channel.
    Kindly advice how to not to send 10th field.
    I am using the following parameters in content conversion: (1) fieldSeparator, fieldFixedLengths
    This is a multi mapping scenario, where a IDOC will generate 10 files (So I cant use dynamic configuration for file names).
    Thanks & Regards,
    Navneeth K.

    Hi Navneeth,
    Please refer the below blog:
    /people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12
    You have to use fixedLengthTooShortHandling parameter.
    -Supriya.

  • UNIX Script Not running - Sender File Comm Channel

    I have written a script to split a large file into smaller files . It works great when I log into the server via putty, and run it from the command prompt .
    However, when I  run it from the Sender File Channel "Run OS command before/after processing", nothing happens .  I put in some code to write a log file after every line , but it never gets generated if I run the channel , so im assuming its never called by PI .
    However, the channel monitoring says "Success" for  "Execute OS command "/home/Int001/Inbound/File_Split.sh" . So  if it is successfully called, how come i dont get my expected results?
    1. What is the credentials used by PI to run scripts ?
    2. Does PI need some special permissions to run the script ?

    Hi Johannd,
    To change Password for Sap System User, you can follow this help:
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/aa/1dc94af0fa11d3a6510000e835363f/content.htm

Maybe you are looking for

  • How to open raw files from panasonic gx7 camera in lightroom 4

    just purchase panasonic gx7 camera unable to open raw files in elements 9,elements 11,lightroom 4 but will open in trial version of lightroom 5.have downloaded dng 8.2,still no joy.has anybody any suggestion

  • Autofocus not working correctly

    Hello, I bought my Nokia Lumia 1020 a week ago. I'm very impressed with it and a proud owner but the autofocus seem to have some kind of a bug. When i press the shutter button halfway it looses the focus and the picture get's blurry (it works 3times

  • Wegwijs worden in Skype

    since the last Apple-update I have a problem with Skype-talk; the other person can't hear me, while I do hear the other... Where can I find the microfoon tool?? I'm using a mac-book.

  • Plug in options not showing?

    Until yesterday I was able to watch live streaming movies through my blockbuster account not it says I need to install plug ins..but nothing is coming up for me to install..usually a bar at the top would pop up and say "allow plugins"...I updated to

  • What is the best way to migrate PSE6 Catalog (Wxp) to new computer W7, PSE11?

    What is the best way to migrate PSE6 Catalog (Wxp) to new computer W7, PSE11?  Previous PSE6 recovery (Wxp) after a failed HD resulted in pictures showing but not opening due to connection issues.  Had to restore pictures from backup and rebuild the