APD - Rename Header in Output File

Hello all,
I am having trouble trying to customise the description of column headers in the CSV file output by a simple APD job.
The query has this
Column 0MATERIAL renamed in query properties to "Product Code"
Row 0NUMERATOR renamed in query properties to "Multiple Size"
The APD process has a Projection step that renames as follows:
Field Name | New Name | New Description
Product Code | PRODUCTCODE | Product Code
Multiple Size | MULTIPLESIZE | Multiple Size
However the CSV file that is output looks like this:
PRODUCTCODE:0MATERIAL,MULTIPLESIZE:0NUMERATOR
000000000001001005,3064.000
000000000001001034,16404.000
This is not what I want!
This is the header i want:
PRODUCTCODE,MULTIPLESIZE
000000000001001005,3064.000
000000000001001034,16404.000
Can anyone advise me on how I can achieve this?

Hi,
Thank you for your feedback, however, I am already using the Hide/Rename columns (aka 'Projection') Transformation.
My query outputs only 2 columns and those are the columns i require in the output - hence there is no requirment to hide any of the two columns.
The requirement is to rename column headings. However, using the Projection transformation the 'Rename' tab does not seem to do what I want!
Regards,

Similar Messages

  • APD - Rename header at output file

    Hello all,
    I'm using APDs to run a query and download its results to a CSV file.
    I need to rename header texts at output CSV file.
    If you select an option (Insert header row with field names in the first row of the file) headers are generated, but generated format is by default: Field Description +++ Separator +++ Field technical name
    So, you may have something like this in corresponding output file:
    DOC_NUMBER:0DOC_NUMBER         S_ORD_ITEM:0S_ORD_ITEM         SCHED_LINE:0SCHED_LINE
    30229264     30     1
    30229264     30     2
    Desired output:
    Doc Nmbr         My Ord Item          My Sched Ln
    30129264     30     1
    30129264     30     2
    Hope you could help. Thank you in advance!
    Bernardo

    Hi Sekharp,
    No, anybody answered and I didn't researched anymore.
    Regards!

  • 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

  • 'Add Output Header' option of File Write Adapter

    Hi All,
    Could you please tell what is this option used for :
    'Add Output Header'
    In a File Write Adapter, and how can I test it?
    Thanks.

    To have fixed header every time before it writes the data, i think you should have file with header and data, then use it to configure file write in JCA adapter.
    This will create a schema with static header and dynamic results to the schema file.
    So that everytime you will have the header then it write the data below that.
    Note: I have done this some years back, i wrote here with from my memory.
    Let me know if you still have problem, wll try to create a simple example and share.
    Thanks,
    Vijay

  • Renaming output files

    I've renamed my RoboHelp 8 Project file name, as well as the TOC and Index names.
    However, there are several output files containing the old project name.  Is there a place within
    RoboHelp where you edit the Project file name so that all output files will reflect the same name?
    I renamed the Project name using File - Rename Project....

    Hi there
    What output files are you concerned with? I think RoboHelp 8 will not rename the source files for the TOC, Index, Glossary. But those don't appear in your output files as such. So it likely won't have any effect on your output or ability to deal with the files.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Rename output file for File Transport

    I am using ALSB 2.6.When I created file transport for detect file in C:/filein directory.I found that the name of output file didn't same as input file,example input-file = IgniteRB output-file = 6815685856805434446-1b555112.11a526f862f.-7fb0
    Please help me identify this problem? Thank you :)
    Edited by poommy105 at 06/04/2008 7:38 PM

    If you only need to change the name, then in your publish sub-actions, use the "Set Transport Headers" action. You should be able to check "Pass all Headers through Pipeline" and skip selecting the specific header.
    Or in the list for headers there is one for fileName.
    You can derive it from the source name using the $inbound variable, or select "copy from inbound".
    If you need to change the path (instead of business service value) then you can use URI setting in "Routing Options" action.

  • Rename output file (MDIS)

    HI All,
    when MDSS executes, output files is created in my outbound port with default name starting with "Data" (example  Data_xxxxxx_24324, Data_xxxxxx_24325 ...etc.)
    1. How can I change this file name ? Is this a usual process of using output files with names starting with "data"?
    rgds,
    ve

    thanks for the quick replies ....
    Maheshwari,
    my requirement that i want to have a output file by name "material_out_XXXX" insted of "data_XXXX", How can I achive this.
    because this file name have to be given in PI settings to pick up the file from the ready folder.
    Also how can i do it manulally, pls guide me.
    Sowseel,
    where in syndicator, can I set this file name while creating an export_map
    rgds,
    ve
    Edited by: veena sexana on Aug 4, 2011 9:01 AM

  • Can you fix your help project (via coding) after importing a topic from an output file by mistake?

    Yes - I admit it - I imported html topic files from an output folder of another RH project into the help project I am currently working on (the source files were lost and I needed to bring over a lot of legacy content in a hurry). However, I completely forget that the RH output html file contains unique Java scripting that is used to render the topic properly in a browser, but that same Java Script causes havoc when you open it up in as a source file in another RH Project. Needless to say, it has caused numerous weird things when I went to publish and view my files (but, surprisingly, you don’t really see or notice them in the RH Design WYSIWYG view or preview mode).
    The bad news is that it took about 2 weeks for me to notice the issue (the help output is viewed on a special console running Linux with a QT browser that I only view occasionally). The good news is that is that I figured out what the problem was (that took some hours) and I can restore my help project back to a time before I did the "naughty deed".
    I am now at a crossroads - do I:
    Try to re-enter all of my content from the last two weeks? (Actually, to avoid repeating the same mistake twice, I will need to re-enter the text manually and NOT cut and paste from the RH output files!)
    Or locate and find the offending HTML coding in my topic files (if that is even possible)? Has anybody documented what the RH output file JavaScript code injects into your files, and what files they affect?

    OK - here is the documentation of this weird issue (hopefully, you can read the htlm code in the screen images):
    1. In this topic, I cut and pasted some text into the table you see at the bottom of the screen. I had to reapply the “TableBody” style to this text. After doing this, I moved my cursor to the “Keyboard" text on top. Notice that it is displaying the "TABLEBODY" style, although visually, it is displaying the correct style on screen (“Heading 1”).  
    2.     In HTML view, notice the addition of the class= “TableBody”> code for this “Keyboard” text.
    3.   I then reselected Heading 1 for this “Keyboard” text.
    4.   Notice that the class= “TableBody”> code is now removed for this “Keyboard” text and has just the proper <h1> tagged assigned.

  • 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

  • I want to put header while stroing file in application server

    Hi Guru,
       Can anybody tell how to put header while stroing file in application server.
    in the below pgm data is coming i want to put heading .if we see in al11 transaction the header should come .plese give on eg in the code itself.its urgent
    eg:
    material number
    100
    200
    declarations...................................................
    tables: bkpf.                          " Accounting Document Header
    *"Selection screen elements............................................
    parameters:
      p_burks like bkpf-bukrs.             " Company Code
    select-options:
      s_gjahr for bkpf-gjahr.              " Fiscal year
    Type declaration of the structure to hold Accounting Document Header*
    data:
      begin of fs_bkpf,
        bukrs type bkpf-bukrs,             " Company Code
        belnr type bkpf-belnr,             " Accounting Document Number
        gjahr type bkpf-gjahr,             " Fiscal year
        blart type bkpf-blart,             "        Document type
        bldat type bkpf-bldat,             " Document date in document
      end of fs_bkpf.
    Internal table to hold Accounting Document Header                   *
    data:
      t_bkpf like standard table
               of fs_bkpf.
    Type declaration of the structure to hold file data                 *
    data:
      begin of fs_table,
        str type string,
      end of fs_table.
    Internal table to hold file data                                    *
    data:
      t_table like standard table
                of fs_table.
    field-symbols: <fs>.
    *" Data declarations...................................................
    Work variables                                                      *
    data:
      w_char(50)      type c,
      w_file_name(50) type c value 'YH645_050103'.
    select bukrs                           " Company Code
           belnr                           " Accounting Document Number
           gjahr                           " Fiscal year
           blart                           "        Document type
           bldat                           " Document date in document
      from bkpf
      into table t_bkpf
    where bukrs eq p_burks
       and gjahr in s_gjahr.
    if sy-subrc eq 0.
      loop at t_bkpf into fs_bkpf.
        do.
          assign component sy-index of structure fs_bkpf to <fs>.
          if sy-subrc ne 0.
            exit.
          else.
            move <fs> to w_char.
            if sy-index eq 1.
              fs_table-str = <fs>.
            else.
              concatenate fs_table-str ',' w_char into fs_table-str.
            endif.                         " IF SY-INDEX...
          endif.                           " IF SY-SUBRC...
        enddo.                             " DO...
        append fs_table to t_table.
      endloop.                             " LOOP AT T_KNA1...
    endif.                                 " IF SY-SUBRC...
    open dataset w_file_name for output in text mode encoding default.
    loop at t_table into fs_table.
      transfer fs_table-str to w_file_name.
    endloop.                               " LOOP AT T_TABLE...

    Hi,
    may i know what kind of heading you want to display?
    like date, filename, time etc
    then modify the below code:
    *&      Form  send_statistic
         Create the status Report on application Server
       --->  pv_rlines  - Total No of Records in Internal table          *
       --->  pv_slines  - Total No of Successful records                 *
       --->  pv_elines  - Total No of Errornous  records                 *
       --->  pv_path    - File Path  where the file to be created        *
       --->  pv_flag    - Flag to check for A/c group                    *
    FORM sub_send_statistic USING  pv_rlines  TYPE int4
                                   pv_slines  TYPE int4
                                   pv_elines  TYPE int4
                                   pv_path    TYPE salfile-longname
                                   pv_name    TYPE rlgrap-filename
                                   pv_flag    TYPE char1.
      CLEAR : i_tab,
              wa_tab.
    Convert date to MM/DD/YYYY format
      PERFORM date_convert.
    Convert Time to HH:MM:SS format
      CONCATENATE sy-uzeit+0(2)
                  c_colon
                  sy-uzeit+2(2)
                  c_colon
                  sy-uzeit+4(2)
             INTO v_time1.
    Build the Output File name
      IF   p_sold  = c_x
      AND  pv_flag = c_x.
        CONCATENATE c_objid
                    c_us
                    c_z001
                    c_us
                    sy-datum
                    c_us
                    sy-uzeit
               INTO v_file.
      ENDIF.  " IF   p_sold = c_x
      IF p_cons = c_x.
        CONCATENATE c_objid
                    c_us
                    c_z008
                    c_us
                    sy-datum
                    c_us
                    sy-uzeit
               INTO v_file.
      ELSEIF p_sold = c_x
      AND    pv_flag <> c_x.
        CONCATENATE c_objid
                    c_us
                    sy-datum
                    c_us
                    sy-uzeit
               INTO v_file.
      ENDIF.  " IF p_cons = c_x
    Build the Complete Output File Path
      CONCATENATE pv_path
                  c_slash
                  v_file
             INTO v_outfile.
    Populate the data required for output into an internal table and
    then transfer the table contents to file on application server
    DATA UPLOAD STATISTICS
      wa_tab-rec = text-001.
      APPEND wa_tab TO i_tab.
      CLEAR wa_tab.
    TITLE
      IF   p_sold  = c_x
      AND  pv_flag <> c_x.
        sy-title = text-t17.
      ENDIF.  " IF   p_sold = c_x
      IF  p_sold  = c_x
      AND pv_flag = c_x.
        sy-title  = text-t16.
      ENDIF.  " IF  p_sold = c_x
      IF  p_cons  = c_x
      AND pv_flag = c_x.
        sy-title  = text-t19.
      ENDIF.  " IF  p_cons = c_x
      wa_tab-rec+0(7)   = text-002.
      wa_tab-rec+7(60)  = sy-title.
      APPEND wa_tab TO i_tab.
      CLEAR wa_tab.
    Date & Time
      wa_tab-rec+0(5)   = text-012.
      CONDENSE v_date NO-GAPS.
      wa_tab-rec+6(10)  = v_date.
      wa_tab-rec+60(10) = text-003.
      wa_tab-rec+70(15) = v_time1.
      APPEND wa_tab TO i_tab.
      CLEAR wa_tab.
    Folder Name
      wa_tab-rec+0(18)  = text-005.
      wa_tab-rec+19(72) = pv_path.
      APPEND wa_tab TO i_tab.
      CLEAR wa_tab.
    File Name
      wa_tab-rec+0(18)  = text-006.
    ---Begin of addition -Shivakumar - 09-05-2007--
      wa_tab-rec+19(72) = pv_name.
    ---Begin of addition -Shivakumar - 09-05-2007--
      APPEND wa_tab TO i_tab.
      CLEAR wa_tab.
    Records Read
      CLEAR v_count.
      v_data   = pv_rlines.
      v_count  = STRLEN( v_data ).
      CONDENSE v_data NO-GAPS.
      wa_tab-rec+0(46)  = text-007.
      wa_tab-rec+47(4)  = v_data.
      APPEND wa_tab TO i_tab.
      CLEAR : wa_tab,
              v_data.
    Successfull Records
      CLEAR v_count.
      v_data   = pv_slines.
      v_count  = STRLEN( v_data ).
      CONDENSE v_data NO-GAPS.
      wa_tab-rec+0(46)  = text-008.
      wa_tab-rec+47(4)  = v_data.
      APPEND wa_tab TO i_tab.
      CLEAR : wa_tab,
            v_data.
    Error Records
      CLEAR v_count.
      v_data   = pv_elines.
      v_count  = STRLEN( v_data ).
      CONDENSE v_data NO-GAPS.
      wa_tab-rec+0(46)  = text-009.
      wa_tab-rec+47(4)  = v_data.
      APPEND wa_tab TO i_tab.
      CLEAR : wa_tab,
              v_data.
      v_mesg = text-t04.
      IF   p_sold  = c_x
      AND  pv_flag <> c_x.
        MOVE i_tab  TO i_file.
      ENDIF.  " IF   p_sold = c_x
      IF  p_sold  = c_x
      AND pv_flag = c_x.
        MOVE i_tab  TO i_file1.
      ENDIF.  " IF  p_sold = c_x
      IF NOT i_tab IS INITIAL.
    Open the file on Application server to write the report
        OPEN DATASET v_outfile
                 FOR OUTPUT IN TEXT MODE
            ENCODING DEFAULT MESSAGE v_mesg.
        IF sy-subrc <> 0.
          MESSAGE e000(zconversions) WITH v_mesg.
        ELSE.  " IF sy-subrc <> 0
    Transfer details to the file on application server
          CLEAR wa_tab.
          LOOP AT  i_tab INTO wa_tab.
            TRANSFER wa_tab-rec TO v_outfile.
            CLEAR wa_tab.
          ENDLOOP.  " LOOP AT  i_tab INTO wa_tab
    Close the file
          CLOSE DATASET v_outfile.
        ENDIF.  " IF sy-subrc <> 0
      ENDIF.  " IF NOT i_tab IS INITIAL
    ENDFORM.                    " Create_Report

  • How do I add column headings to an output file?

    Hi,
    I have an internal table that is created in my program and I send that table out as a data file attachment on an email.
    I have a request to include column heading on the data file going out. 
    Does anyone have any ideas as to how I can include a heading line as the first line of the output file?
    I'm an ABAP newbie and I don't know the best way to accomplish this?
    Thanks for your help!
    Andy

    Hi,
    While Building the attachement just add the field description refer following code
    Append header line to download data
      CONCATENATE 'Company Code'(004)
                  'State'(007)
                  'Store'(010)
                  'Tax Type'(013)
                  'Purchase'(015)
                  'Tax Rate'(017)
                  'Gross Tax Due'(021)
                  'Discount'(023)
                  'Net Tax Due'(025)
                  INTO ls_download-data
                  SEPARATED BY lc_tab.
      APPEND ls_download TO gt_download.
      CLEAR : ls_download.
    LOOP AT gt_error_log INTO ls_error_log.
        CONCATENATE ls_error_log-bukrs
                    ls_error_log-budat
                    ls_error_log-monat
                    ls_error_log-gjahr
                    ls_error_log-xblnr
                    ls_error_log-bschl
                    ls_error_log-waers
                    ls_error_log-hkont
                    ls_error_log-wrbtr
                    ls_error_log-prctr
                    ls_error_log-kostl
                    ls_error_log-message
                    INTO ls_attach-line SEPARATED BY lc_tab.
        CONCATENATE lc_cret ls_attach-line  INTO ls_attach-line.
      Append Error log data to attachment Table
        APPEND ls_attach TO lt_objbin.
      ENDLOOP.
    Call the function module to convert the data into Hex
      CALL FUNCTION 'SO_RAW_TO_RTF'
        TABLES
          objcont_old = lt_objbin
          objcont_new = lt_objbin.
    Append converted hex data to attachment table
      LOOP AT lt_objbin INTO lv_line.
        ls_conv = cl_abap_conv_out_ce=>create( encoding = 'UTF-8' endian = 'B').
      Call lmethod to add the data to the output buffer sequentially.
        CALL METHOD ls_conv->write( data = lv_line ).
        lv_buffer = ls_conv->get_buffer( ).
        MOVE lv_buffer TO lv_hexa.
        MOVE lv_hexa TO ls_hex-line.
      Append converted hex data to attachment table
        APPEND ls_hex TO gt_attach.
      ENDLOOP.
    Regards,
    Prashant

  • Get MUTLIPLE output files for SINGLE input file with multiple records

    Hi ,
    I have source xml file  which has multiple records in it and  I want to get multiple seperate  flat files for it.
    this is my source structure
    <root>
    <Header1 fld1=1234 fld2="name1" fld3='SAP1"
    fld4='000" fld5=0 fld6="sdn1"></header>...............no line items here
    <Header2 fld1=123 fld2="name" fld3='SAP"
    fld4='00" fld5=0 fld6="sdn" ><line fld7=value1 fld8=value2 fld9=value3 /line><line fld7=value4 fld8=value5 fld9=value6 /line></header>.....two line items here
    <Header3 fld1=123 fld2="name" fld3='SAP"
    fld4='00" fld5=0 fld6="sdn" ><line fld7=value7 fld8=value8 fld9=value9 /line></header>......one line item here
    Header4 fld1=12345 fld2="name2" fld3='SAP2"
    fld4='0006" fld5=01 fld6="sdn2"</header>.......no line items here
    </root>
    I am trying to get flat files as many time the <b>header</b> values occur that many target files should appear in the target.
    like
    file1:
    1234name1SAP10000~sdn1
    file2:
    123nameSAp000~sdn
    value1value2valu3
    valu4value5value6
    file3:
    123namesap000~sdn
    value7valu8value9
    file4:
    12345name2SAP2000601~SDN2
    here I have 4 headers so i need to get 4 output files ,similarly for 'n' headers I need to get 'n'  output flat files. the above mentioned source xml file is just one file,like that I might get somany sourc xml files which has similar structure in it.
    and also it is important to get the line items,if exists to the header, for the corresponding headers.
    how can I achieve this?do I need to use BPM or any mappings other than Graphical? 
    please suggest me.
    thank you.
    Babu
    sorry,output file structure changed
            Babu

    Babu,
    See the Mapping and the logic.
    Make sure your target message occurrence:http://www.flickr.com/photo_zoom.gne?id=1412748793&size=o
    Check out for source and target structure
    http://www.flickr.com/photo_zoom.gne?id=1412748803&size=o
    http://www.flickr.com/photo_zoom.gne?id=1412748809&size=o
    http://www.flickr.com/photo_zoom.gne?id=1412748815&size=o
    http://www.flickr.com/photo_zoom.gne?id=1412748825&size=o
    Results:http://www.flickr.com/photo_zoom.gne?id=1412748799&size=o
    Note:
    While creating Interface determination choose it as Enhanced/Extended
    The Receiver Content conversion - For field separator and line separator give 'nl' , coz we concatenated all of them using ~ in mapping.
    If you find any discrepancy in the above logic , please let me know.
    raj.

  • Creating .RTF output files - PI7.0  Receiver file adapter

    Hi Experts,
    I am currently facing an issue with the Receiver File adapter where in the output files are required to be of the format of .RTF (Rich Text Format).
    The scenarios is an outbound proxy from SAP ABAP  - >  PI 7.0 ->  .RTF File
    All the data required to be present in the file will be coming in the source structure
    Can the File Receiver Adapter handle this ?
    Is there a way to generate Files with extension .rtf ??
    It is a requriement since the output files will be used as Reports , and so the desired format.
    I am unsure if I will have to use XSLT mapping , in this because i am new to that , Kindly let me know how to go about it ,. any links or pointers on how to achieve the same will be welcome.
    thanks
    Dev
    Edited by: sd on Feb 17, 2010 8:23 AM

    Thanks for your reponse Praveen
    Can you please let me know how can i put the extension as .rtf for the output files i am generating ??
    as far as the formatting is concerned ... it is like ... the header needs to be  of a particular Font , a particular font size , bold etc and  so is the case for line items
    I am unsure if it is possible using an Adapter module  as well
    thanks
    Dev

  • How to fix the length of the output file

    hi,
    I have 1000 records in my source table which need to be inserted into file. But the length of the rows in my file should be only 500 i.e there should be two files getting created for this 1000 records i.e my each output file should contain only 500 rows not more than that.
    Depending on the number of records present in the source, the file getting created will be varying as my file should contain only 500 rows each. for ex: if 5000 rows are present then 10 files need to be created.
    How this can be achieved in ODI.
    Thanks in advance

    I believe this can achieved using jython easily .
    Here is a sample output code
    Command on Source - Select database Technology and required logical schema
    Command on Target - Jython
    import java.sql as sql
    import java.io as io
    import string,re
    import java.lang as lang
    import java.text as text
    myCon = odiRef.getJDBCConnection("SRC")
    myStmt = myCon.createStatement()
    my_query="SELECT * FROM  SCHEMA.TABLE_NAME "
    file_count=1
    i=1
    myRs = myStmt.executeQuery(my_query)
    writer=io.BufferedWriter(io.OutputStreamWriter(io.FileOutputStream('c:\\FILE_'+str(file_count)+'.csv')))
    md=myRs.getMetaData()
    collect=[]
    while (i<= md.getColumnCount()):
        collect.append(md.getColumnName(i))
        i+=1
    header=','.join(map(string.strip,collect))
    #writer.write(header+'\n')
    myRs = myStmt.executeQuery(my_query)
    md=myRs.getMetaData()
    myRs.setFetchSize(5000)
    i=0
    while (myRs.next()):
        j=1
        col=[]
        while (j<= md.getColumnCount()):
            col_type=md.getColumnTypeName(j)
            col_name = myRs.getString(md.getColumnName(j))
            if col_name is None:
                col_name= ''
            col.append(col_name)
            j+= 1
        data=','.join(map(string.strip,col))
        writer.write(data+'\n')
        #print data+ '\n'
        i +=1
        if (i == 500):
            writer.flush()
            writer.close()
            file_count +=1
            writer=io.BufferedWriter(io.OutputStreamWriter(io.FileOutputStream('c:\\FILE_'+str(file_count)+'.csv')))
            i=0
    writer.flush()
    writer.close()
    myCon.close()Please run this code and let me know if you need any other help or modification to get your desired results.

  • How Can I get Concurrent program parameters in the bursting output file????

    I have rtf template. I am passing parameter PC_REPORT_TYPE,pd_week_ending_date in my concurrent program. In rtf header I am passing this parameters as <?PC_REPORT_TYPE?> and <?param@begin:pd_week_ending_date?><?xdofx:to_char(to_date(replace(substr($pd_week_ending_date,1,10),’/’,’-‘),’YYYY-MM-DD’),’MM/DD/YY’)?> .
    I am getting the values in my report which is generated from this concurrent program. But I am not getting these values in my bursting output file which is generated from that previous concurrent program.
    Thanks in advance....

    The same exact video played back perfecly fine 2 weeks ago.  The same project too, with no changes at all.  I have a Nvida card too and have made no changes to that either.  Not sure everything worked a couple weeks ago.  Then every once in a while I started having issues, but I could just close and reopen the project and it would be OK.  Now, I can't get any vieo at all.  If I double click in the monitor box the frame I am on pops up but nothing plays, I just get one frame while audio plays with no issue.

Maybe you are looking for