Junk name for archive file!

Hi All,
I have a bpel process with FTP adapter as the process initializer.
The FTP adapter does the get operation. The read files are supposed to be archived. The FTP server is a unix machine.
i am facing a problem while archiving! the file name of the archived files are all being assigned junk values - like
--> 'LSoO7S4PZnqOCHSy2fovgg==_20101215_104859_0060'
--> 'vcT89qBcHx3hEyHGHWS6ow==_20101215_122241_0017'
It is suppose to look some thing like 'abcd_243.xml_20101215_104859_0060' or 'abcd_345.xml_20101215_122241_0017' (This is how it looks in case of file adapter
This is an archived XML file.
jca:operation -
<jca:operation
FileType="ascii"
LogicalDirectory="rm_incoming_file"
ActivationSpec="oracle.tip.adapter.ftp.inbound.FTPActivationSpec"
LogicalArchiveDirectory="rm_success_file"
DeleteFile="true"
IncludeFiles="abcd_.*\.xml"
PollingFrequency="10"
MinimumAge="0"
OpaqueSchema="false"
UseRemoteArchive="true">
</jca:operation>
What could be the reason for this? how can i resolve this situation?
Let me know if any more information is required.
Thanks in advance,
Roshan

Hi Roshan
You get these :
--> 'LSoO7S4PZnqOCHSy2fovgg==_20101215_104859_0060'
--> 'vcT89qBcHx3hEyHGHWS6ow==_20101215_122241_0017'
This is because they are getting encrypted. You need to apply the latest 10.1.3.3.1 MLR # 19 in case you are on 10.1.3.3.0 patchset (or) 10.1.3.4 MLR # 9 in case you are on 10.1.3.4.0 patchset (or) 10.1.3.5.0 MLR # 2 in case you are on 10.1.3.5.0 patchset. Please refer otn.oracle.com to find their patch downloads.
Regards
A

Similar Messages

  • Dynamic  File Name for Receiver File Adapter

    Hi All,
    How can we use dynamic name for Receiver file adapter?
    Can anyone help.
    Thanks in Advance
    Chemmanz

    Hi Chemmanz,
    The dynamic filename generation concept is as follows.
    In your filename field. just give a variable with % symbols. (eg: %file% ).
    Now, under the option Variable Name Substitution, you can give how the value has to be created.
    It can be your interface name, sender service name, etc or it can be some value dynamically from your payload.
    For the former, your give
    message:interface_name ,etc
    and for the payload part you give,
    Payload: "your element root which u wanna acecss"
    Just check this link out,
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    And read the contents under variable substitution and it will help you understand the concepts better.
    If you have any clarifications, do get back,
    Regards,
    Bhavesh

  • Please choose a different name for the file

    How can I stop this message appearning ?

    By choosing a different name for the file?
    You will need to provide a lot more information. 
    What are you trying to do when you see the message?
    What version of Sqldeveloper are you using?
    What operating system are you running on?

  • Directory for archiving files with errors

    HI ,
    My Scenario is file to RFC Asynch.
    when ever the PI picks file from the source directory that file need to delete from the path and need to be archived to some other patch.
    And if the file has wrong data it need to archive to error archive folder.
    For this I used  Archive processing in filesender adapter and I also used directory for archiving files with errors(for wrong data files).
    Now the files are arching successfully in the given archive folder for successful messages. But the error files (wrong data which are throwing mapping error in MONI) are also archiving in the same archive folder.
    But these error files need to archive in error archive folder.
    How can I achieve this?
    Thanks in Adv..
    Vankadoath.

    you can use raja's logic ..........in addition in second receiver do a simple mapping UDF to delete the file from the SUCCESS folder. otherwise your file will be archived in both the folder success and errror
    see this code.
    DynamicConfiguration conf = (DynamicConfiguration) para.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
                   DynamicConfigurationKey keyFileName1 = DynamicConfigurationKey
                   .create("http://sap.com/xi/XI/System/File", "FileName");
                         inputFileName = conf.get(keyFileName1);
      *File f1 = new File("/usr/sap/XX/"+keyFileName1);*
      *boolean success = f1.delete();*
      *if (!success){*
      *System.out.println("Deletion failed.");*
      *System.exit(0);*
      *}else{*
      *System.out.println("File deleted.");*

  • How to get the owner name for the file in ftp using abap ?

    Hi folks ,
    How to get the owner name for the file in ftp using abap ? please help me very ugernt . I tried with all standard FTP commands
    but doest work out me . Helping in this regard highly appreciated ...
    Thanks and regards,
    Swarupa Vanarchi

    Hi
    dont you  have used the os user while calling the FTP_CONNECT FM?
    Hope you are not talking about the user executing the FTP program.
    Else If you are talking about the FTP file creator then its not related to abap as you can handle it by maintaining the user in file name itself.
    May be i am going too far with if and elses here as your question possesses no  clarity.
    Plz elaborate your requirement  before anybody can help.
    Regards
    sateesh

  • Unable to get Field Names from Archived File

    Hi All,
    We have a ECC 6 Ehp4 system. When i retrieve Idocs archived using SARA, the data only contains application data. There is no field names available - eg: posting date, tax code etc. Please find below the background on this issue.
    I configured archiving of process idocs (status 52,12,03) from EDIDC tables. I set up the settings for Archive Object IDOC and archived the data for 15 days.
    Both archiving and deletion of data from the table was successful.
    I tried reading the Idoc data from Archive File using the Information System option -> Info structure (available as default for Idoc).
    But the data retrieved only shows the Application data for all the segments of the IDoc. The fields for the segments like Tax Code, Posting Date etc are not available in the data. Functional teams will not be able to make sense with just the application data.
    Am I missing some setting? Is there any way to retrieve the related field values also ?
    Please help.
    Thanks and Regards,
    Raghavan

    Hi All,
    There is tcode WE10. You could choose if the data source is archive and also the archive session. You will get the list of segments provided. click on the segment number and you will get the data.
    Thanks and Regards,
    Raghavan

  • Need to Pass filename for archived file to FTP adapter using SynchRead

    Hi
    I am archiving the source file which i am reading using an FTP adapter, Operation- SynchRead.
    In my case as the source filename is dynamic( abc_<timestamp>.xml) hence before the SynchRead, I am using a FTP List adapter to get the filename.
    Currently,the archived file is getting name in pattern: encryptedToken_yyyymmdd_hhmmss.(e.g. wQ2c3w7Cj7Y6irWnRKqEu77_jD7kLtj6Uc0QCZIyjC4=_20121122_012453_0305)
    I need to pass the sourceFilename(which i am getting from FTPList adapter) for the archived file also.
    Thanks in advance for the help!
    Regards,
    Achal

    Hi Neeraj,
    While trying the above alternative, i am facing an issue when my source file is a .csv file. The file is getting recreated with the original filename and file content but without header.
    As per the requirement i need the original file to be recreated. The header of .csv file has the field names.
    Please let me know how should i configure my FTP adapter to read the header of the .csv file as well.
    Thanks,
    Achal

  • How to give a dynamic File Name for Receiver File/FTP Adapter.

    Hi Experts,
        I have one scenario in which we are creating a flat file of IDOC which is coming from R/3 & sending it to FTP location. For this we have configured Receiver FTP adapter with File Name Scheme as "NT.out"  & in File Consturction mode i have given as "Add Time Stamp".
        therfore while creating a file it is creating as NTyyyyMMdd-HHmmss-SSS.out
    where as my requirement is only to to add Time & not the Date. (NThhmmss.out)
        How to do this ?
        for your info we are using ABAP Mapping.
        Pl help me
    Regards,
    Umesh

    Hi Umesh,
          Add one more field to your target structure for your file name and populate that field as per your requirement like NTyyyyMMdd.out. In receiver communication channel use Variable subtiution option and give the refrence of Payload and file construction mode set as create.
    And refer the below weblogs for Variable Subtiutuion File Name Scheme
    /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i - Dynamic File Name Part 1
    /people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii - Dynamic File Name Part 2
    Hope this way would be solve u r problem.
    Cheers
    Veera
    >>>Reward points, if it is needful

  • Unique file name for saving file on server.

    Hi
    I am having a servlet which will be used to save a file from client machine to server.
    Now, this servlet can be used with multiple users through web at same time.
    All user will be uploading files.
    There will be cases where 2 users from different location will upload files with same name.
    Thus, it is important for me that I append some string in uploaded file name, so that file name stands unique.
    How can I get this unique number.
    Is there no instance number for generated class !!.
    Thanks

    A few years ago I found this code on the Internet. I have forgotten where, but I'ven been using it since then and until now it always generate the unique number.
          * Generates unique ID based on timestamp, thread ID, random seed and random
          * double. Each part is converted to hexadecimal, padded left with zeros to
          * a length of 8 chars and then concatentated to each other.
          * @return Unique 32-char hexadecimal string.
         public static synchronized String getUniqueID() {
              final String pad = "0";
              final int padLength = 8;
              final int padDirection = StringX.PAD_LEFT;
              String timestamp = Integer.toHexString(Long.valueOf(System
                        .currentTimeMillis()).intValue());
              String threadHashCode = Integer.toHexString(Thread.currentThread()
                        .hashCode());
              String randomInt = Integer.toHexString(RANDOM.nextInt());
              String mathRandom = Integer.toHexString(new Double(Math.random()
                        * Integer.MAX_VALUE).intValue());
              // You may remove this try block if you want to increase performance by
              // 1ms.
              // But the generated ID might not be fully 100% guaranteed to be unique.
              // If you want to keep this block, then you can "almost" safely remove
              // the
              // randomInt and mathRandom parts of the UniqueID.
              try {
                   Thread.currentThread().join(1); // System.currentTimeMillis()++
              } catch (InterruptedException e) {
                   // Do nothing. However very, very, very rare. Haven't seen it
                   // earlier.
              return StringX.pad(timestamp, pad, padLength, padDirection)
                        + StringX.pad(threadHashCode, pad, padLength, padDirection)
                        + StringX.pad(randomInt, pad, padLength, padDirection)
                        + StringX.pad(mathRandom, pad, padLength, padDirection);
         }

  • How to get LR using unique names for each file?

    Hey there,
    I see LR does modify the name of the File when there is already one file with the same name in the folder of import, but once you choose a different folder it does import the File with the original name. I just realized that over the years using Folders such as Pictures 2009, Pictures 2010 and so on, I have three or four times Files with the same Name. Is there a way to tell LR to always use unique names when it imports?

    Use a date-description-sequence.ext naming template for renaming as you import [or if you prefer after you import]. This means you never have duplicates unless you for some bizarre reason use same name description for two sets of files on same day. And if you need to do just that, simply make the start number of second/third lot of files be one number greater than previous batch from same day.
    You can set up what ever naming format you desire in file rename dialogue and have that as your default.
    Leaving files names as they come out of the camera is asking for big trouble as invariably they will duplicate, which is not a good idea even if in different folders.
    F2 gets you renaming dialogue when in Library.

  • Change ZFS root dataset name for root file system

    Hi all
    A quick one.
    I accepted the default ZFS root dataset name for the root file system during Solaris 10 installation.
    Can I change it to another name afterward without reinstalling the OS? For example,
    zfs rename rpool/ROOT/s10s_u6wos_07b rpool/ROOT/`hostname`
    zfs rename rpool/ROOT/s10s_u6wos_07b/var rpool/ROOT/`hostname`/var
    Thank you.

    Renaming the root pool is not recommended.

  • Changing names for compressor files, nothing works yet.

    I've read different posts on how people have to change the name of the file before compressor will complete any sort of compression.
    Happened to me too constantly. So I'd just change the name once I got that red exclamation mark and then it would just finish compressing just fine.
    This time I changed the name before I clicked submit.
    The name of the file was Animal Control.
    But before clicking submit I named it Animal Control Audio, and Animal Control Video for both files.
    And I still got the stall out with the red exclamation mark.
    This is no good since I feel like I can now no longer rely on Compressor if I need go go somewhere.
    Thanks for any solution to my misunderstanding of the program.

    I'm having a hard time understanding your question. When exactly are you getting the exclamation mark warning, before or after submitting?
    If you're watching the History window in Compressor after submitting your encoding batch, then QMaster writes a file with the name you specified. In this case, when Compressor is still the front-most app, it will see that new file being written in your destination directory, and will put up the exclamation mark ... this is normal behavior.
    Also, have you tried setting a different destination to see if this clears up whatever problem you're having?

  • Default name for a file

    Hello from France.
    May I try to explain my problem ? Well, I'll do with my basic english ...
    When a pic is ready to be recorded, PS use the default name (for a jpeg file, for instance) : "Sans titre - 1.jpg". Is it possible to have a name like : "Sans titre - 01.jpg"  or : "Sans titre - 001.jpg", I mean with "0" or "00" juste before the number.
    Thank you for your answers.
    (W7, PS CS5)

    "Ps is not involved in the process at all"
    Of course it is... There is no way to change the default name in the scan, because there is no default name ; if using the scan as independant software, the options for the file name depends of the operating system (W7).
    When I use the scan in Ps :
    - I put the slide in the scan,
    - I press Ctrl+Alt+"!" (a shortcut I created to replace Fichier > Importation > Nikon Scan)
    - the software of Nikon Coolscan opens automatically,
    - I "press" the button "Numériser" with the mouse,
    - at the end of the process, the software of the scan closes,
    - the pic is avalaible in Ps, with the defaut name : "Sans titre - x".
    If I do the same thing with an other scan (for example, my Canon Pixma), the same happens, always with the same defaut name.
    Well, it's not so important... I must just pay attention to change "Sans titre - 1" > "Sans titre - 01", etc.
    Thank you for you help.

  • Get old item name for renamed files using TFS API

    My current tfs will be retired in next few months.I am using tfs api to create a parallel tfs on a new server from the existing one. I have folders and solutions that have been renamed. I am iterating items and based on their changetype(add, edit, delete,
    sourcerename etc), I am checking them in destination tfs.
    I am not able to get Old filename for a file, in order to use PendRename when the item that is being iterated is Delete|SourceRename or Rename.
    I tried the mentioned solution :
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/f9c7e7b4-b05f-4d3e-b8ea-cfbd316ef737/how-to-get-previous-path-of-renamedmoved-of-file-using-tfs-api?forum=tfsgeneral
    But, my changeset has a lot of changes and hence identifying a particular file seems difficult.
    Do we have something that interraltes two items (the deleted and renamed) ones other than the changeset, because there needs to be a uniquely identifier that associated the two items so that they may appear together in TFS history?

    Hi Fabcoder,
    As Daniel mentioned, you can migrate source control files and work items to the new TFS server by using TFS integration tools.
    If the new server has the complete history, then you can view the history of the specific file to check the pervious path. Or you can do a compare between the project in new TFS where the file located with the matched project in current TFS to check
    the differences.
    Best regards, 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • ORA-01111 name for data file 10 is unknown

    Hi,
    I created two new tablespaces (11 and 12) with 1 datafile in each of them in my primary database,
    I forgot to set the parameter in standby server standby_file_management=AUTO,
    the standby server auto create the tablespace 11 with datafile in D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00010,
    although there is no such file 'UNNAMED00010' in D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\.
    in the v$tablespace and v$datafile, I can see that the entry had been created in control file in standby server.
    Below is the listing of datafile in my standby server,
    TS# name
    0 G:\OFSDB\OFS4\ORADATA\OFS4\SYSTEM01.DBF
    1 G:\OFSDB\OFS4\ORADATA\OFS4\UNDOTBS01.DBF
    2 G:\OFSDB\OFS4\ORADATA\OFS4\SYSAUX01.DBF
    4 G:\OFSDB\OFS4\ORADATA\OFS4\USERS01.DBF
    6 G:\OFSDB\OFS4\ORADATA\OFS4\DATA_SE.ORA
    7 G:\OFSDB\OFS4\ORADATA\OFS4\INDEX_SE
    8 G:\OFSDB\OFS4\ORADATA\OFS4\FLOW_1.DBF
    9 G:\OFSDB\OFS4\ORADATA\OFS4\CJHIT01.DBF
    10 G:\OFSDB\OFS4\ORADATA\OFS4\DBMON_TS.DBF
    11 D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00010
    Anyone know how to correct this problem?
    Thanks

    You could rebuild standby from Primary. I would probably set standby_file_management=AUTO first.
    If you do backups on the Primary then RMAN dup is fairly easy, and if you use the same directory structure on the standby it is really easy.
    Step 1.
    On the primary
    alter system set log_archive_dest_state_2=defer;
    Step 2
    Create a temp init file for the standby
    Set the following:
    db_name, control_files, db_recovery_file_dest, db_recovery_file_dest_size, compatible,
    db_block_size, undo_tablespace, undo_management, undo_retention
    Step 3
    Backup Primary
    RMAN RUN {
    allocate channel d1 type disk;
    backup format '/u01/backups/PRIMARY/df_t%t_s%s_p%p' database;
    sql 'alter system archive log current';
    backup format '/u01/backups/PRIMARY/al_t%t_s%s_p%p' archivelog all;
    backup current controlfile for standby format '/u01/backups/PRIMARY/sb_t%t_s%s_p%p';
    release channel d1;
    Step 4 Copy backup to standby
    Consider any cleanup of old files on the standby now since they probably are worthless
    Step 5 Move current archive
    Move the current archive (todays) log backups to the target server.
    A list backup may show only the ones you need.
    RMAN> list backup;
    Step 6 Startup the standby
    SQL> startup nomount pfile='/u01/app/oracle/admin/PRIMARY/pfile/init.ora'
    (With the INIT file you created in Step 2)
    Start as your Primary DB NAME
    Step 7 Issue Duplicate command
    rman target sys/password@PRIMARY auxiliary /
    RMAN> run {
    allocate channel C1 device type disk;
    allocate auxiliary channel C2 device type disk;
    duplicate target database for standby nofilenamecheck;
    When this completes
    Make sure you shutdown the database and then switch the ORACLE_SID=STANDBY
    Step 8 Copy init.ora from primary host
    (Or if you have a good PFILE version on the standby correct and make a new spfile)
    Step 9 Start redo apply
    On the Primary
    SQL> alter system set log_archive_dest_state_2=enable;
    Start Redo apply
    On the standby database, to start redo apply:
    SQL>startup mount
    SQL> alter database recover managed standby database disconnect from session;
    Database altered.

Maybe you are looking for