Data Export - File type

At the moment it shows Microsoft Word or Ecel (97 - 2003), how i can change the file type name in Microsoft Word Excel (97 - 2010).
It's also possible to change the order of the file types. I would like default *.pdf an not *.rpt

Hi, 
The Excel export driver only goes to 2003 but Excel 2010 works fine with it.  Once Business Objects updates the driver for Excel 2010 sometime in the future the description will change. 
In terms of order of the drivers, the description you see is from inside the driver itself.  They are listed alphabetically and there's no real way to change the order of them. 
You can remove the formats by removing the driver from your machine but not to reorganize them. 
Thanks,
Brian

Similar Messages

  • How can we give the Data Format (File Type ) in Runtime

    Hi all,
    How can we give the Data Format (File Type ) in Runtime for the following method,
    cl_gui_frontend_services=>gui_download.
    Thanks in advance
    Sri

    There is a filetype parameter which you can set
    CALL METHOD cl_gui_frontend_services=>gui_download
      EXPORTING
    *    BIN_FILESIZE              =
        filename                  =
    *    FILETYPE                  = 'ASC'
    *    APPEND                    = SPACE
    *    WRITE_FIELD_SEPARATOR     = SPACE
    *    HEADER                    = '00'
    *    TRUNC_TRAILING_BLANKS     = SPACE
    *    WRITE_LF                  = 'X'
    *    COL_SELECT                = SPACE
    *    COL_SELECT_MASK           = SPACE
    *    DAT_MODE                  = SPACE
    *    CONFIRM_OVERWRITE         = SPACE
    *    NO_AUTH_CHECK             = SPACE
    *    CODEPAGE                  = SPACE
    *    IGNORE_CERR               = ABAP_TRUE
    *    REPLACEMENT               = '#'
    *    WRITE_BOM                 = SPACE
    *    TRUNC_TRAILING_BLANKS_EOL = 'X'
    *  IMPORTING
    *    FILELENGTH                =
      changing
        data_tab                  =
    *  EXCEPTIONS
    *    FILE_WRITE_ERROR          = 1
    *    NO_BATCH                  = 2
    *    GUI_REFUSE_FILETRANSFER   = 3
    *    INVALID_TYPE              = 4
    *    NO_AUTHORITY              = 5
    *    UNKNOWN_ERROR             = 6
    *    HEADER_NOT_ALLOWED        = 7
    *    SEPARATOR_NOT_ALLOWED     = 8
    *    FILESIZE_NOT_ALLOWED      = 9
    *    HEADER_TOO_LONG           = 10
    *    DP_ERROR_CREATE           = 11
    *    DP_ERROR_SEND             = 12
    *    DP_ERROR_WRITE            = 13
    *    UNKNOWN_DP_ERROR          = 14
    *    ACCESS_DENIED             = 15
    *    DP_OUT_OF_MEMORY          = 16
    *    DISK_FULL                 = 17
    *    DP_TIMEOUT                = 18
    *    FILE_NOT_FOUND            = 19
    *    DATAPROVIDER_EXCEPTION    = 20
    *    CONTROL_FLUSH_ERROR       = 21
    *    NOT_SUPPORTED_BY_GUI      = 22
    *    ERROR_NO_GUI              = 23
    *    others                    = 24

  • IMovie export file type selection for iDVD

    I'm manipulating "home movies" (old Hi8 & new flash HD) with intent to eventually burn DVD's for various family members (e.g., children & grandparents) using iDVD. I have been creating Projects then exporting as either Movie (Medium .m4v) or Quicktime (.mov).
    What are the trade-offs for subsequent incorporation of these file types into iDVD? For example, is one of better quality - especially in light of all future source clips being AVCHD?

    Old Toad:
    Thank you for the suggestions. My dilemma is HD storage. For example, one Project (~63 minutes) is derived from Hi8 .dv clip consuming 12.67GB. After export as .m4v the Project's resultant file is only 738.4MB, and I expect a QT .mov export to be ~2.74GB - both of which consume less space than the source file. I've ~40 Hi8 tapes to convert, plus am adding footage with my new camcorder. Therefore my plan, possibly flawed as I am new to all of this, is to import source Events, build Projects, export to best-mode for later iDVD, then delete the source Event and Project to save space. Otherwise I'll be out of space before I can capture all of my Hi8 content.
    Your suggestion, whcih is greatly appreciated, would require me to start generating iDVD projects immediately for best quality - yet I hesitate because I want to build DVDs based on a comprehensive inventory of the old footage. Is there a best-quality export from iMovie for subsequent incorporation into iDVD?

  • Essbase 9.3.3 - data export files

    Hi
    I know when creating exports in Essbase when a file reaches 2gb Essbase will automatically generate a new file of the same and append the extension _1 to the name. I'm trying to find out if there is a way to control where the split happens. At the moment when I open the second file it starts halfway through a data line and then the header row appears about 80 rows down into the file. This means I get issues when trying to load this file into another cube using a load rule.
    These are the settings I have at the top of my export file.
    SET LOCKBLOCK HIGH;
    SET UPDATECALC OFF;
    SET AGGMISSG ON;
    SET NOTICE DEFAULT;
    SET MSG SUMMARY;
    SET CACHE HIGH;
    SET CALCPARALLEL 3;
    SET EMPTYMEMBERSETS ON;
    SET CREATEBLOCKONEQ OFF;
    SET CREATENONMISSINGBLK OFF;
    SET FRMLBOTTOMUP ON;
    SET DATAEXPORTOPTIONS
    DataExportLevel LEVEL0;
    DataExportDynamicCalc OFF;
    DataExportDecimal 6;
    DataExportPrecision 16;
    DataExportColFormat ON;
    DataExportColHeader "Synapse Pipeline Stage";
    DataExportDimHeader ON;
    DataExportRelationalFile OFF;
    DataExportOverwriteFile ON;
    DataExportDryRun OFF;
    Thanks in advance for any help.

    Could you not break up the export into multiple exports to bring the file size down to less than 2GB, then load the multiple exports into your target database.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Export / File Types

    Hey.
    I'm very, very new to the Mac world.
    Just wondering how I can make my pictures that I take in iPhoto become my display picture in "Microsoft Messenger for Mac" (ver.7.0.1).
    I've tried dragging and dropping, and it wont work.
    I've tried using the export button under "file", and it is greyed out so I can't click it.
    Is there something wrong with the files being made in iPhoto? Messenger says it wont accept this particular file type.
    Do I need to download a different Messenger?
    Any help would be appreciated.
    D.

    I will request your question be moved to the iChat forum - http://discussions.apple.com/forum.jspa?forumID=1226 - or ask on a Microsoft forum
    LN

  • CS4 - need to export file type: avi codec: XviD

    I just downloaded the 30-day trial for PremierePro CS4 as I was having difficulty maintaining saturation when converting with Premiere Elements 4.0.  I was told that I could export my files in PremierePro CS4 with the specs I need, but I don't know how.  Specs I need are:
    Dimensions:  1360 x 768
    File Type:  .AVI
    Codec:  XviD
    30 Frames per second
    I'm completely new to this so any help at all would be greatly appreciated.  I had downloaded some sort of XviD file online, and it added it to my export option, but it wouldn't do anything when I selected it and I would eventually have to close down PremierePro.  I've since removed the XviD program from my computer in case the program itself was corrupted.

    I find that the DivX (commercial version of Xvid) encoder works fine, when that is the desired delivery format/CODEC. Fortunately, I do not have to do much of this, but it works.
    Good luck,
    Hunt

  • AVCHD in Premiere Pro CS 5 - exporting file type questions

    Firstly, this is my first post on here, so apologies if I'm breaking any kind of etiquette. Also, I'm not a very technical person and would appreciate any comments or advice to be in layman's terms!
    So, I film and edit weddings as part of a small company. I've recently had my camera and editing system upgraded to a Sony NXcam and Premiere Pro CS5 and I'm having a little trouble getting used to the new file types and settings (previously used miniDV tapes in SD with a Canon XL2 in an older version of Premiere).
    My pc handles the AVCHD footage fine but the way that I edit means that I'll want to export a sequence of edited clips as one long clip, and then re-import it. For example, I'm editing the wedding ceremony from footage from two cameras - I'm going to edit the full version of the ceremony and then I'm also going to edit it down into a version that is a highlights montage in slo-motion to music. The way I do this is once I'm happy with the full version of the ceremony I'll export it and then re-import it so it's one long clip I can play with rather than two sets of footage chopped up on a sequence. So I can alter the speed of this new long clip, and then chop it up and stick in some dissolves to put together the montage. Then I use this montage in the middle of my final film, between the preparations and the reception. The full, edited version of the ceremony is used as an extra on the DVD.
    Previously this was fairly straight forward. I was always working with footage in 16:9 and could export it as an avi file, then re-import that avi file with no problems - presto; the exact same-looking footage as I was previously working with.
    Now I'm editing with avchd mts footage (1920x1080 - 25p - square pixels?). Naturally, if I export it as a 16:9 avi and re-import it, the aspect ratio and frame size is all wrong for the project sequence.
    I just want to know what the best file format and settings are to use to export footage that will match up.  There is no option that I can see to export edited footage as mts files. There is a long list of file types, most of which I don't recognise or know anything about and have never needed to use in the past.
    Sorry if this is a silly question, I've tried searching for "working with AVCHD in premiere pro cs5" in google and not been able to find anything that can help me on there, so I thought I'd try a forum like this.
    Cheers
    Adam

    I think we may have a slight miscommunication.  This is the way that I interpreted your original post.
    Lets say you shot the Smith/Jones wedding this past weekend.  You start a new project and have a Service Sequence and a Reception Sequence.  You finish editing both the service and reception and just a standard full length video.  Now you want to create a montage with clips from both the service and reception.  In this montage you will have different effects like Black and white, Slo Mo, blurs, etc.  So what you do is export the service and reception and then import those two files (or one long one) and then cut that apart and add your music and effects to make your montage.  Is that correct?
    The way that I do it works the exact same way except that you skip the export part.
    When I edit a wedding I generally have 4 sequences when I am finished.  I have a Pre Wedding montage, service, reception, and ending highlights.  The Pre Wedding montage is just made up of shots from before the service (bride and bridesmaids getting ready, shots of the venu, groom and groomsmen and so on).  Then I have a full edit of the service and a full edit of the reception.  After I am finished with those 3 sequences I start working on the ending highlight collage.  I make a new sequence for the collage then I go to my bin and drag the "Service Sequence" up into the preview monitor (I know in my previous post I said double click.  That does not work, because that just opens it up as a sequence.  Sorry about that).  In the preview monitor I scrub through the footage until I find a section that I want in the montage.  Then I set in and out points around that clip and drop it into my Montage timline, and what ever effects to it that I want, then move on to the next clip and do the same thing.  To me it seems that we have the same process except that you have to wait for the export (which is always going to give you a quality loss, how much of a loss depends on format and settings).
    Please let me know if I have misread your process.
    Phil

  • DRM/MDM Import and Export File types - Question

    Hi Guys,
    We have been implementing Hyperion DRM to our existing Oracle Environment for managing the company's sales data which comes from multiple data sources. In my experience and research, I feel DRM is an excellent tool but there are some questions I have in our mind. The following are the few questions that I\we have.
    a) How does the Import and Export of data functionality works in DRM? In this forum, I have found some one saying we can only import the data through flat files, in other words, "text file" with the delimiters [ ] seperated by comma. My question is, Is there any other possible way to import the data, Such as getting the data directly from the database tables? To get the data, Do we need to have any integration points or do we need to use SOAP APIs (& programming)?
    b) While we exporting the data, can we export it directly to the Oracle database tables? What are the integration points needed for this kind of export?
    c) Is there any sample guide or design document available for creating the hierarchy and nodes. I just want to know how the attributes that we have "is transformed" into the hierarchies and nodes in DRM? In the past, I used Essbase, which is integrated with DRM and that process was straight forward since we imported and exported data directly from DRM to Essbase.
    I would appreciate any suggestion offered to me regarding the questions posted above.
    Thanks in advance,
    Leo
    Edited by: user10201910 on Apr 1, 2009 4:58 PM
    Edited by: user10201910 on Apr 1, 2009 5:00 PM

    Hi,
    1.As per my knowledge the Import can be done using Flat files only,we can import the data from Oracle Tables once the structure is ready in DRM.
    2.We have an utility called Export to Table(in the last tab when you performing an Export along with Export to File), which requires the DB mapping to be done properly,
    Thanks!

  • Exporting file type question

    Made a video bio of my mom, used FCP 7, video rather long - about 25-30 minutes... what is the best format to export so that I maintain quality but file size not too big for DVD?

    In FCP, go to File->Export->QuickTime Movie. You can make the movie 'self-contained' or a 'reference movie.' You can include chapter markers (if needed) but do NOT 'recompress all frames.'
    Use the resulting file in Compressor, choosing the DVD preset appropriate for your program's duration. You'll end up with an MP@G-2 video file (.m2v) and a Dolby Digital audio file (.ac3).
    Import those two files into DVD-SP for authoring and burning.
    -DH

  • Export File Types (HD)

    Hi
    I have just finished editing a film in the AVCHD format. I have exported the film as an AVI file.
    I have then tryed to upload to websites such as Vimeo and Indymedia but the final film is to big at 926MB.
    How do I keep the HD quality and lower the file size.
    Thanks

    >How do I
    CS5 User Guides - online and PDF (right click PDF link to save PDF to your hard drive)
    http://blogs.adobe.com/premiereprotraining/2010/08/help-documents-for-creative-suite-5-pdf -and-html.html
    Here Tutorials
    http://forums.adobe.com/thread/845731?tstart=0
    -and http://forums.adobe.com/message/3234794
    A "crash course" http://forums.adobe.com/thread/761834?tstart=0
    A Video Primer for Premiere http://forums.adobe.com/thread/498251?tstart=0
    Premiere Tutorials http://forums.adobe.com/thread/424009
    CS5 Premiere Pro Tutorials http://forums.adobe.com/message/2738611
    And http://blogs.adobe.com/premiereprotraining/2010/06/video_tutorials_didacticiels_t.html
    And http://blogs.adobe.com/premiereprotraining/2010/06/how_to_search_for_premiere_pro.html
    CS5 Tutorials http://bellunevideo.com/tutlist.php
    PPro Wiki http://premierepro.wikia.com/wiki/Adobe_Premiere_Pro_Wiki
    Tutorial http://www.tutorialized.com/tutorials/Premiere/1
    Tutorial http://www.dvxuser.com/V6/forumdisplay.php?f=21
    Tutorial HD to SD w/CS4 http://bellunevideo.com/tutorials/CS4_HD2SD/CS4_HD2SD.html
    Premiere Pro Wiki http://premierepro.wikia.com/wiki/Main_Page
    Exporting to DVD http://help.adobe.com/en_US/premierepro/cs/using/WS3E252E59-6BE5-4668-A12E-4ED0348C3FDBa.h tml
    And http://help.adobe.com/en_US/premierepro/cs/using/WSCDE15B03-1236-483f-BBD4-263E77B445B9.ht ml
    Color correction http://forums.adobe.com/thread/892861?tstart=0
    Photo Scaling for Video http://forums.adobe.com/thread/450798?tstart=0
    -Too Large = Crash http://forums.adobe.com/thread/879967?tstart=0
    After Effects Tutorials http://www.videocopilot.net/
    Encore Tutorial http://www.precomposed.com/blog/2009/05/encore-tutorial/
    And more Encore http://library.creativecow.net/articles/devis_andrew/
    Surround Sound http://forums.adobe.com/thread/517372

  • Exporting file types

    Will garage band only export to either AAC or MP3 or are there other formats that it will do?

    Hi DanDoor,
    Yes, go to garageband's Share>Export song to disk> and leave the 'compress' box empty and click 'export'.
    It should give you a browse window to save it by title and folder etc.
    It usually saves it as an aiff.
    I also have the Garageband>preferences>advanced>audio resolution checked with 'best' option.
    The AAC and mp3 formats come when you have the track 'compressed' at that earlier stage.
    Hope this helps
    Gravity B

  • How to convert flat file type from DAT to ASC

    hello all
    i am trying to download a flat file and trying  to upload it in another program.
    for this i am using gui_upload and gui_download function modules.
    if i download the file as ASC and upload with ASC there is no problem.
    if i download the file as DAT and upload with DAT its giving an exception invalid file type
    if i download the file as DAT and upload with  ASC  its giving an exception bad data format.
    but in real senario my customer is sending a flat file with DAT type and i am unable to upload it.
    how to solve this problem?

    Hi,
    when uploading DAT pass file type as 'ASC' and give HAS_FIELD_SEPARATOR  = 'X'.
    For other types see the code below.
    CASE P_RECTYP.
       WHEN 'DAT'.
         MOVE 'X' TO L_FLDSEP.
         MOVE 'ASC' TO L_TYPE.
       WHEN 'ASC'.
          MOVE ' ' TO L_FLDSEP.
          MOVE P_RECTYP TO L_TYPE.
       WHEN 'BIN'.
           CLEAR L_TYPE.
         MOVE P_RECTYP TO L_TYPE.
         MOVE ' ' TO L_FLDSEP.
       WHEN OTHERS.
        MOVE 'X'  TO L_FLDSEP.
        MOVE 'ASC' TO L_TYPE.
    ENDCASE.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
       FILENAME                      = LV_FILENAME
       FILETYPE                      = l_type
       HAS_FIELD_SEPARATOR           = l_fldsep
    Regards,
    Vasanth

  • How to change export button file type as .xls

    Hi,
    In iSupplier, we have a export button to export planning details.By default the export button
    will export the VO details as .csv file. But the client need this file to be populated as .xls file.
    I have analyzed to set file type for export button, but i am not able to find the solution.
    Anybody can help me to change the export file type ....
    Thanks in advance..

    you need OBI generator for that.first you need to change the data to xml file and then you can do that.
    Best Regards,
    Krishna Priya Bandyopadhyay

  • Matching import and export files

    Is there a way to pair up imported files with the exported .Dat files and .err error files? We are running the batch process (using upsShell.exe executed via a scheduled batch script) to import CSV files and export them to Essbase, and have had several of the .Dat files fail. Nothing is recorded in the <username>.err log, the only indication of failures are the numerous .err files that accompany the .Dat export files in the Outbox.
    Since we have loaded numerous files against the same location (which is the prefix for the .Dat and .err files), we have numerous .err files which have very similar names. For example:
    LOCATION001.Err
    LOCATION002.Err
    LOCATION003.Err
    Etc...
    But there is no indication as to which of the imported data files these error files actually relate to! For example:
    A~LOCATION~WLCAT~PERIOD1~RA.csv
    B~LOCATION~WLCAT~PERIOD1~RA.csv
    C~LOCATION~WLCAT~PERIOD1~RA.csv
    Etc...
    Is there a way to identify which .Err file relates to which .CSV file?

    I wouldn't say that the .dat file is completely independent of the source file, since the .dat file essentially contains mapped data directly or indirectly from the source file, and wouldn't be generated without it.
    It is a shame that FDM does not generate some sort of useful batch processing log which details steps like this, for example:
    2012:08:02 13:41 Import: A~LOCATION~WLCAT~PERIOD1~RA.csv
    2012:08:02 13:42 Validate: Imported data
    2012:08:02 13:43 Export: LOCATION001.Err
    2012:08:02 13:43 Check: etc
    This way, one would clearly be able to match problematic .Dat files with the original source file, and then look at fixing the source file if this was the root of the problem. I cannot see at present how one is supposed to do this when faced with many load files and error files.
    Is there anything else I might have missed here?

  • Genralizing the data export script

    hi , i have a data export script which is a busienss rule , now i can genralize the version, year, scenario and everything but the problem is that the export file that is being created has the fixed name , each time i run that rule the data export file will be same , is it possible to somehow genralize that export file name as well.

    hi here is some java which i have used earlier try to modify ...it saves with current date and time and even i used SED all this in UNIX
    JAVA
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.DataInputStream;
    import java.io.File;
    import java.io.FileFilter;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.FileWriter;
    import java.io.InputStreamReader;
    import java.io.Writer;
    import java.util.Calendar;
    import java.util.StringTokenizer;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    * @author KVC
    public class MigratorUtil {
         public static File getLatestFile(String dir){
              File directory = new File(dir);
              File choice = null;
              if(directory.isDirectory()){
                   File[] files = directory.listFiles(new FileFilter() {
                        public boolean accept(File file) {
                             return file.isFile();
                   long lastMod = Long.MIN_VALUE;
                   int fileSize = files.length;
                   for(int i=0;i<fileSize;i++){
                        File file = files;
                        if(file.lastModified() >lastMod){
                             choice = file;
                             lastMod = file.lastModified();
              }else{
                   System.out.println(dir+" is not a directory");
              return choice;
         public static boolean processFile(File latestFile) throws FileNotFoundException,Exception{
              FileInputStream fileStream = new FileInputStream(latestFile);
              DataInputStream in = new DataInputStream(fileStream);
              BufferedReader br = new BufferedReader(new InputStreamReader(in));
              String strLine;
              int lineCount = 0;
              StringBuffer contents = new StringBuffer();
              while((strLine = br.readLine())!=null){
                   if(lineCount == 0){ //first line
                        String header = System.getProperty("header");
                        if(header == null){
                             header = "HEADERHYPERION";
                        contents.append(header).append(getPreviousBusinessDate()).append(getDateFormat()).append("\n");
                   }else{
                        contents.append(strLine).append("\n");
                   lineCount++;
              //footer
              if(lineCount != 0){ //last line
                   String footer = System.getProperty("header");
                   if(footer == null){
                        footer = "TRAILER";
                   contents.append(footer).append(lineCount-1); // linecount - 1 to remove the first line count
              // wtite the file
              String fileName = latestFile.getAbsoluteFile().toString();
              String outputFile = fileName.substring(0,fileName.indexOf("."))+".out";
              System.out.println(" output file is ..."+outputFile);
              File output = new File(outputFile);
              Writer oWriter = new BufferedWriter(new FileWriter(output));
              try{
                   oWriter.write(contents.toString());
    //               oWriter.write(getProcessedLine(contents.toString()));
              }finally{
                   oWriter.close();
              return true;
         public static String getDateFormat(){
              Calendar calendar = Calendar.getInstance();
              int currentMonth = calendar.get(Calendar.MONTH);
              return calendar.get(Calendar.YEAR)+"-"+(currentMonth>9?""+currentMonth:"0"+currentMonth)+"-01";
         public static String getPreviousBusinessDate(){
              Calendar calendar = Calendar.getInstance();
              int currentMonth = calendar.get(Calendar.MONTH);
              calendar.set(Calendar.MONTH, currentMonth-1);
              int lastDate = calendar.getActualMaximum(Calendar.DATE);
              calendar.set(Calendar.DATE, lastDate);
              int lastDay = calendar.get(Calendar.DAY_OF_WEEK);
              if(lastDay == 1 ){
                   lastDate = lastDate - 2; // for sunday
              }else if(lastDay == 7){
                   lastDate = lastDate - 1; // for saturday
              return calendar.get(Calendar.YEAR)+"-"+(currentMonth>9?""+currentMonth:"0"+currentMonth)+"-"+lastDate;
         private static String getProcessedLine(String line){
              String seperator = System.getProperty("inputseperator");
              String out_seperator = System.getProperty("outputseperator");
              if(seperator == null){
                   seperator = "!";
              if(out_seperator == null){
                   out_seperator = "|";
              StringTokenizer tokenizer = new StringTokenizer(line,seperator);
              StringBuffer descContent = new StringBuffer();
              StringBuffer content = new StringBuffer();
              while(tokenizer.hasMoreTokens()){
                   String element = tokenizer.nextToken();
                   if(matchPattern(element)){
                        System.out.println("Criteria matched..."+element+ "So eat the next elemet");
                        descContent.append(tokenizer.nextElement()).append(out_seperator);
                   }else{
                        content.append(element).append(out_seperator);
              content.append(descContent);
              String output = content.toString();
              return output.substring(0, output.length()-1);
         private static boolean matchPattern(String line){
              String regex = "\\d{1,2}.\\d{1,2}.\\d{1,2}";
              Pattern pattern = Pattern.compile(regex);
              Matcher m = pattern.matcher(line);
              return (m.matches());
         public static void main(String a[]){
              System.out.println(getPreviousBusinessDate());
    SED
    for file to
    #!/bin/bash
    #Replace tab with pipe
    cat $1 | sed 's/\t/|/g' > /tmp/test.out
    line_cnt=`wc -l $1 | awk '{print expr $1-2}'`
    if [ `uname -s` = 'SunOS' ]; then
    set -A months 0 1 2 3 4 5 6 7 8 9 10 11 12
    else
    months=(0 1 2 3 4 5 6 7 8 9 10 11 12)
    fi
    here it takes last month date similarly u can change up to ur requirements
    YEAR="`date +%Y`"
    MONTH="${months[`date +%m-1`]}"
    TODAY_STR="`date +%Y`-${months[`date +%m`]}-01"
    DAY="`cal $MONTH $YEAR | awk '{ if(NF>1) a=$NF ; if (NF==7) a=$6}END{print a}'`"
    LAST_MNTH="`date +%Y`-${months[`date +%m-1`]}-$DAY"
    cat /tmp/test.out | sed -e "s/HEADERHYPERION/HEADERHYPERION${LAST_MNTH}${TODAY_STR}/" > /tmp/test_tmp.out
    cat /tmp/test_tmp.out | sed -e "s/TRAILER/TRAILER${line_cnt}/" > $2

Maybe you are looking for

  • AppleCare support - how many times will you lose my registration?

    Called on 6/29/06 to register my almost out of warranty iPod. Waited forever to talk to a very nice person who took my case and told me what to do: fax my iPod SN, and provided a case#. I call today to register my AppleCare warranty and am told that

  • Dynamic Class Loading and Unloading

    I am trying to create a system where the class name and method name is picked up from a meta-data database and executed. This was accompanied using Dynamic Class loading. I tried to extend this to support versioning of meta-data. Here depending on th

  • Oracle.xml.parser.v2.XPathException: Extension function error: Method not f

    Hi all, When I am trying to call an external java function in XSLT it is throwing the following exception . Exception in thread "main" oracle.xml.parser.v2.XPathException: Extension functi on error: Method not found 'getValue' at oracle.xml.parser.v2

  • JRE death - fatal error (EXCEPTION_ACCESS_VIOLATION)

    This always happens at [ntdll.dll+0x1b21a] And the stacktrace is exactly the same. # A fatal error has been detected by the Java Runtime Environment: # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c91b21a, pid=976, tid=4004 # JRE version: 6.0_14-

  • David Powers Lesson09 - no file uploaded

    I have a problem to test the upload_test.php. It seems that no file being copied to the destinated folder at all. Enclosed are the 2 files for reference. Please help me. Thank You upload_test.php <?php require_once('scripts/process_upload.php'); ?> <