Using Timestamp [TS] in the output file name

Hello Everyone,
i am trying to get the timestamp into the output file generated by the store file atom. Since my Outbound channel is void i thought i could use:
[TS]
or
[yyyy][mm][dd][hour][min][sec]
My File Specification is: C:\Temp\Out\blabla[TS].xml and unfortunatelythe outputfile are named: blabla[TS].xml
What am I doing wrong? Can i not use those placeholders in an atom?
Help is greatly appreciated
Best regards
Simon

Hi Simon,
Now I see, you're trying to maintain the timestamp in the SLD FILO section and not in a store file atom of an integration scenario.
In this case, please check the following help document:
filePattern
To define the outbound file pattern, define the directory and the file specification. Enter the full path. The integration framework supports Microsoft Windows UNC (Universal Naming Convention) names. The directory you enter must exist in the file system. The user for directory access must have the necessary rights in the file system.
You can use the following special characters and variables:
Character/
Variable
Description
To introduce  numbering in the file directory use ?.
If you enter  for example data????.xml, the integration framework creates an outbound file called data0000.xml, if the directory is empty. If a file, following this naming  convention, already exists in the outbound directory, the next generated file  name is data<last  number>+1.xml. If data0000.xml already exists in the directory, the next file in the directory  is data0001.xml.
[vbiu]
This is a placeholder for a value you can  define in scenario package processing. If you use the value, add the b1im_filename attribute directly in the outbound payload.
<xsl:template  name="transform">
      <xsl:attribute  name="b1im_filename">myName</xsl:attribute>
</xsl:template>  
[TS]
To add a  timestamp to the file name, use the variable. This gives you another  possibility to define unique file names.
[yyyy]
Adds the  current year in four digits to the file name
[yy]
Adds the  current year in two digits to the file name
[mm]
Adds the  current month to the file name
[dd]
Adds the  current day to the file name
[hour]
Adds the  current hour to the file name
[min]
Adds the  current minute to the file name
[sec]
Adds the  current second to the file name
You can also combine the variables. For example file[TS]??.[hour][min].txt
Here is a screenshot of my SLD FILO definition and from the result:
Best regards
Bastian
P.S.: just in case you need to define a filename in the integration step for the store file atom, here is a screenshot:

Similar Messages

  • How to get the Output File Name as One of the Field Value From Payload

    Hi All,
    I want to get the Output file name as one of the Field value from payload.
    Example:
    Source XML
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_TEST xmlns:ns0="http://sample.com">
    - <Header>
      <NAME>Bopanna</NAME>
      </Header>
      </ns0:MT_TEST>
    I want to get the Output file name as " Bopanna.xml"
    Please suggest me on this.
    Regards
    Bopanna

    Hi,
    There are couple of links already available for this. Just for info see the below details,
    The Output file name could be used from the field value of payload. For this you need to use the UDF DynamicFile name with below code,
    //       Description: Function to create dynamic Filename
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File" , "FileName");
    conf.put(key,a);
    return "";
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File" , "FileName");
    conf.put(key,a);
    return "";
    With this udf map it with the MessageType as
    (File Name field from Payload) > DynamicFileConfiguration>MTReceiver
    Thanks
    Swarup

  • Use job parameter as output file name "alias" ?

    I have a Hyperion 9.3 job with a # of cycles. Is there a way to tell Hyperion to use the job parameter/filter as part of the file name? For example, if there is a filter called "division" and for one of the cycles that is set to "sales", is there a syntax like "{division}" I can use in the output file name so that it picks up the filter?

    Unfortunately, I have never seen any kind of syntax that would allow this in Hyperion. The only way I know to do it would be using the java sdk, but that is not something that can be done on the fly...

  • Make output file name reflect preset used?

    Is there any way to have the output file name reflect the preset used, similar to the way Apple's Compressor does? I need to do batch conversions for 20+ tv stations and individually renaming every output file to refect which tv station is super tedious. Any way to do this in Adobe Meida Encoder or should i just use Apple's Compressor?

    You should do this manually in Adobe Media Encoder, and not use Compressor.
    "Adobe Media Encoder is much easier to use than Compressor, encodes faster, and produces much higher quality output, as you can see in the video that accompanies this article."
    http://www.eventdv.net/Articles/News/Feature/Tutorial-Encoding-H.264-Video-in-Adobe-Media- Encoder-CS5.5-and-Apple-Compressor-4-80446.htm

  • Dynamic report output file name

    Hi,
    I am generating a report using web interface by sending http string with required parameters.
    Each time I run this report I am appending current date & time (mmddyyhhmm) string to the output file name.
    Successfully I am able to get the outputs.
    For example:
    If report runs at 9:30am then MyReportOutput_0205040930.html
    If report runs at 12:45pm then MyReportOutput_0205041245.html
    But, I am facing the problem when I schedule the report. I want to append the report run date & time to the output file for scheduled runs.
    Is it possible?
    Please advise.
    Thank you,
    Prasad

    hi,
    for that you will have to use reports distribution. in the distribution XML file you can specify data fields from the report for various attributes, including the output file name.
    you will have to create a column in your datamodel that creates this timestamp and then add it to your report name.
    see the distribution/bursting example here on OTN for further information. click onthe getting started link on the reports homepage and then navigate to the INDEX. there you will find an overview of all the examples available.
    thanks,
    philipp

  • Can I print to AdobePDF with a pre-determined output file name?

    I have a list of PDF files that I need to reduce in size. I have tried many combinations of Adobe's "Save As Reduced PDF", "Save As Optimized PDF", as well as several compression programs. The best results I've found have been to print the PDF via AdobePDF, using the standard quality settings.
    This leads me to my problem. It's simple to batch the print process to print multiple files to AdobePDF, however each one requires the user to specify the output file name. Is there a way to interface with the AdobePDF tool in a way that the output file name is already determined? I.e. passed into the program as an argument? Any help would be greatly appreciated.
    Thanks,
         Dan
    EDIT: Under the Adobe PDF Settings, the option for Adobe PDF OUtput Folder is set for Prompt for Adobe PDF filename. There is also an option to dump to Documents\*.pdf, which retains the original filename. Is there a way to specify a different directory, rather than Documents, while retaining the *.pdf argument? Again, thank you.

    You would probably get better results printing from Acrobat. The HTMLLoader rasterizes the image first. You could possibly add a JavaScript function inside the PDF that prints and call that from your AIR app.
    See http://www.adobe.com/devnet/air/flex/quickstart/scripting_pdf.html for information on calling JS functions in a pdf file from AIR.

  • XML Publisher - Specify Output file name

    Hi All
    I am using XML Publisher in one of our OAF pages to generate PDF reports based on some parameters. I am using the shared region which OAF has provided. On export, I see that the output file name is : template code + random number + _out.pdf. Is there anyway to specify custom output file name?? As this is little critical for me, any pointers would be greatly appreciated.
    Thanks in advance,
    Murari

    Hi Avaneesh,
    Thanks for your prompt response. I see that the logic for file name is in xml publisher utility class: DocumentHelper. I dont see any option to pass file name as a parameter to DocumentHelper. So I am not sure if extending OAF region controller : "DocumentViewerCO.java" would be of any help?? Please correct me if I am wrong. Did you ever try changing output file name from OAF page?
    Many thanks,
    Murari

  • Dynamic output file name for scheduling a BIP report

    Hi All,
    I have a BI Publisher report. It has Department as prompt. we need to run the report for each department. I need to schedule the report such that, for each department i need to FTP the output with file name as department_INFO.pdf in the one folder (i.e. if dept is ABC, then i need to store the output with file name as ABC_INFO.pdf and ftp to the folder). Folder will be created already in the server.
    We have around 40 departments, so i need to manually schedule this report 40 times with 40 files names and ftp the output to the folder in the server.
    Can we dynamacally give the output file name based on the prompt we are using to run, instead of manually scheduling for each department.
    Please help me ASAP..we cant move further due to this problem.
    Regards,
    Sandy

    .

  • REG: Output File Name

    Hi All,
              I have a file to file scenario where mapping is not used. My  Input file name is "XXXX.txt" and i want the output file name as "XXXX.dat". But the problem is XXXX is not a constant value but a dynamic value and i cant use a UDF because there is no mapping for this interface. Is there any other method by which this can be achived?
    Thanks,
    Siva

    Hi!
    For your input file you can work as follows:
    Put the file in a special directory and then read this directory using wildcard filename definition:
    e.g. *.txt looks for and processes all files ending with *.txt
    For your output file (receiver file adapter) you may work with os command "rename" and/or try it using this stuff:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/44/6a316af5a23672e10000000a114a6b/content.htm
    Regards,
    Volker

  • Controling Bursting Output File Name

    Is there a RTF template parameter I can set that will set the file name? It generates cryptic names for us (usually xmlp some numbers followed by .pdf) for the attachments it emails.
    Some people have said you can control it with a bursting control file but I have yet to figure out how to setup this file or where to load it as there is no spot for it in the web UI.

    There is nothing in the bursting control query to control the output file name when bursting as an email attachment. Were running BIP Enterprise 10.1.3.3.1 on an 10g Application Server backed up by SSO authentication. I have looked through the RTF template documentation and I ahve yet to find a tag to specify. Also, no where in the interface is there any option to load a Bursting Control File or edit the properties contained within whatever is used by default.

  • Setting output file name in export transaction data package

    Hi all,
    I am running an "export transaction data" package in the data manager. I wanted to set the output file name so that it will be a constant value. I wrote the following in the package editor:
    INFO(%FILE%,\ROOT\WEBFOLDERS\COLMOBIL\VEHICLES1\DATAMANGER\DATAFILES\vehicles_to_pca2.txt)
    TASK(/CPMB/TD_FILE_TARGET,FULLFILENAME,%FILE%)
    The system run the package and reported success but the file was not created. When i did the same with an existing file name, it was not updated.
    When I run the same package with the following PROMPT command instead of the INFO command:
    PROMPT(OUTFILE,,"Please enter an output file",Data files (*.txt)|*.txt|All files(*.*)|*.*)
    The system works fine.
    Any ideas?
    TIA
    Avihay

    I am sad to report that apparently Adobe does not do a very good job with the PDF printer. I have just spent over an hour with support to get the answer we can not help you. I guess I will have to spend $50 for NovaPDF to handle my problem. It's a shame when a superior overall product like Acrobat is not able to keep up with the knockoffs on the small things.

  • Output file names

    Is there a way to keep Compressor from adding the project name and settings name to the output file name? I know I can change it but it's a PITA with lots of files in a batch. I just want the original file name to be output.

    Under Destinations, duplicate your "Source" destination. Then click on it and look at the Inspector. You will be able to eliminate the "-Setting Name" part from your Template. Then change your prferences to make to make your Source-Copy the default Destination.

  • Header Name in the output file using content conversion

    Dear All,
    I want to have a text file with a header in the output. I have given the following values for content conversion:
    RecordSet structure = Record,Row
    Record.fieldSeparator='nl'
    Row.endSeparator='nl'
    Row.fieldSeparator=','
    Row.addHeaderLine=1
    but still I am not getting header in the output file. Please tell me where I am making a mistake in getting the header.
    Reg,
    NJ

    hi chirag,
    thnx for replying.
    i m getting the required output file without any error but i m not getting header. i hve added "addHeaderLine" parameter in content conversion but still i m not getting header in the output file.
    reg,
    nj

  • Trying to delete file from trash but get this: The operation can't be completed because the item "File name" is in use. All other files delete except this one. Please help

    Trying to delete file from trash but get this: The operation can’t be completed because the item “File name” is in use. All other files delete except this one. Please help

    Maybe some help here:
    http://osxdaily.com/2012/07/19/force-empty-trash-in-mac-os-x-when-file-is-locked -or-in-use//

  • Iomega UltraMax 4Q PLUS the following message appears: The operation can not be completed because the item "FILE NAME" is in use. "

    Help, I need to solve. No speculation please bomas or attempts to restart, confirm that the HD is formatted for MAC and etc. .....
    Whenever I try to copy my files from my HDD Western Digital 2T for my new Iomega UltraMax 4Q PLUS the following message appears: The operation can not be completed because the item "FILE NAME" is in use. "
    I can not stand it anymore ...
    I need to work and not temnho more space on my machine.
    Scenario - iMac11, 10.6.8 + WD + 2 + 2T 4T Iomega UltraMax Plus, formatted for both Mac and connected via Firewire 800
    Trying to copy the message aborts the copy - "The operation can not be completed because the item" FILE NAME "is in use."

    Hello,
    As I said earlier, properly formatted for Mac.
    Mac OS Extended (Journaled)
    This HD is formatted for MAC factory, but I even did a few times in my attempts I can say that this is entirely correct formattingwith it - Mac OS Extended (Journaled)

Maybe you are looking for